Google Adsense and Google Analytics Code

  • Author
    Posts
  • #3046474

    Hi! How do I embed the codes for Google Adsense and Google Analytics without a plug-in. I read that the header.php but I only see this in the CCS editor portion of my theme:
    /*
    Welcome to Custom CSS!

    To learn how this works, see http://wp.me/PEmnE-Bt
    */

    The blog I need help with is clingymommy.com.

    #3046690

    Hi!

    I believe your blog is hosted on WordPress.com, as you have posted in the WordPress.com forums.

    Please be aware that you can use Google AdSense and Google Analytics only on the WordPress.com Business plan. If you wish to use them, please upgrade your WordPress.com membership to the Business Plan.

    I hope this helps. Feel free to get back if you have questions.

    #3046694

    justjennifer
    Moderator

    Hello there @itscjdj, the CSS editor is only for editing CSS. You can’t edit your site’s underlying PHP with it.

    As @strikebuys mentioned, only sites with the Business plan upgrade are able to use Google Adsense or Analytics. If you already have the Business upgrade plan, you’ll find information about connecting Analytics here: https://en.support.wordpress.com/google-analytics/ and you are eligible for direct Staff support when you post through the contact form here: https://wordpress.com/help/contact/

    If you don’t have the Business plan upgrade and want to use other stats apps, both Google Search Console and Clicky are available independently to WordPressdotcom’s stats.

    Here are other options for monetizing your WordPressdotcom site: https://en.support.wordpress.com/monetize-your-site/

    Lastly, if these options don’t meet your needs you might consider moving your site to 3rd party hosting and using the standalone WP software. That will give you the most options for your site in terms of your own advertising program and analytics. More information on moving to self-hosted WP can be found here: https://move.wordpress.com/

    Hope that helps and let us know if you have any other question.

    #3046695

    justjennifer
    Moderator

    I believe your blog is hosted on WordPress.com, as you have posted in the WordPress.com forums.

    Hi @strikebuys there are many ways for people to post here to our community forums and many of those people have self-hosted WP sites.

    To make sure that the person you are helping in our forums is hosted here on WordPressdotcom, it is worthwhile to click through to their site to see if the WPcom Admin bar is present, or if you don’t see it, to either view the source code of the site or check domain servers on a WHOIS check.

    Hope that helps. Here is a support guide to volunteering in our community forums which you might find useful. Cheers! :)

    #3046728

    To make sure that the person you are helping in our forums is hosted here on WordPressdotcom, it is worthwhile to click through to their site to see if the WPcom Admin bar is present, or if you don’t see it, to either view the source code of the site or check domain servers on a WHOIS check.

    Thanks for your suggestion, @justjennifer. Noted!

    Hope that helps. Here is a support guide to volunteering in our community forums which you might find useful.

    Thanks for sharing this too. I will dig in!

The topic ‘Google Adsense and Google Analytics Code’ is closed to new replies.