WordPress.org

Ready to get started?Download WordPress

Forums

ColorWay
Colorway places Google Analytics code incorrectly (3 posts)

  1. cnymike
    Member
    Posted 2 years ago #

    This theme has so many issues that make it a poor choice.

    Yet another error made by this theme is the placement of Google Analytics code. The theme places the code in the body. Google stipulates clearly that the snippet is to be placed directly before the closing head tag.

    Your Google Webmaster account will throw you an alert that the code is placed incorrectly if you use the themes built-in function for your Google Analytics code. Better to place the code directly into the header.php file to mitigate this error in the theme.

    http://wordpress.org/extend/themes/colorway/

  2. cnymike
    Member
    Posted 2 years ago #

    As a follow-up, here is the link from Google specifying where the analytics code is to go.

    https://support.google.com/analytics/bin/answer.py?hl=en&utm_id=ad&answer=1008080

  3. Pinsip
    Member
    Posted 2 years ago #

    THANKS DUDE! I know so little about programming, but this helped me a lot. Google Analytics is working now

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags