Adding Google Analytics code to CSS

  • Author
    Posts
  • #1026316

    Hi I am trying to figure out where to add my unique anyalitics code to my blog. It says to copy the following code, then paste it onto every page you want to track immediately before the closing </head>tag. I can’t find this </head> tag anywhere. Is there another place I am suppose to be placing this code? Not in the CSS page?

    The blog I need help with is everydaydeelights.wordpress.com.

    #1026410

    timethief
    Member

    We bloggers cannot access metadata on free hosted WordPress.com blogs. CSS editing can only be used to change appearance and that’s it. It cannot be used to add any code at all to the <head> tag.

    Does the Custom Design upgrade let me edit HTML?
    No. The Custom Design upgrade allows you to edit fonts and CSS only. You can change the appearance of a theme, but not its HTML markup, PHP code, or content. Read the full entry > http://en.support.wordpress.com/custom-design/#frequently-asked-questions

    #1026411

    timethief
    Member

    Read this as well:

    Additional Info
    Can I use Google Analytics?
    No, Google Analytics cannot be used on WordPress.com blogs at this time. http://en.support.wordpress.com/stats/#additional-info

    Note: There is no upgrade you can purchase that changes this at all.

    #1026416

    Interesting, so what if I upgrade? This link here http://www.wpbeginner.com/beginners-guide/how-to-install-google-analytics-in-wordpress/
    says it’s possible, but I am guessing that’s only for upgraded sites?

    Thanks for getting back.

    #1026418

    timethief
    Member

    Note: There is no upgrade you can purchase that changes this at all.

    What you point to does not apply to free hosted WordPress.com blogs. It applies to WordPress.org installs only. Please read this > WordPress.com vs WordPress.org: The Differences http://support.wordpress.com/com-vs-org/

    #1026426

    ya, I thought that .org was the upgrade. Thanks for the clarification!

    #1026430

    timethief
    Member

    WordPress.com and WordPress.org are completely separate. If you want a refund for the custom design upgrade you can request one > Dashboard > Store > My Upgrades
    http://en.support.wordpress.com/upgrades/#refunds

The topic ‘Adding Google Analytics code to CSS’ is closed to new replies.