WordPress.org

Forums

Google Analytics by Yoast
Why the intentional code not to track? (3 posts)

  1. SoCalCreations
    Member
    Posted 1 year ago #

    I monitor a LOT of sites and Google issues GA codes with UA-XXXXXX-Z, where the Z is an increasing number.

    However when I looked at the source code of the running website I was SHOCKed to see the following message.

    <!-- Google Analytics tracking code not shown because users over level 8 are ignored. -->

    This is simply NOT True. I have hard coded websites with higher numbers and I get analytic information on them.

    Please fix.

    Thanks.

    http://wordpress.org/plugins/google-analytics-for-wordpress/

  2. SoCalCreations
    Member
    Posted 1 year ago #

    UPDATE with IMAGES

    Template used twentythirteen

    'Insert manually'
    Code in Template - just UNDER the <head>
    - source Code states
    Google Analytics tracking code not shown because users over level 8 are ignored.
    IMAGE http://screencast.com/t/N7tejc6nQU2j

    Code in Template - just BEFORE the </head>
    - source Code State
    Google Analytics tracking code not shown because users over level 8 are ignored.
    http://screencast.com/t/qal9Zk5Dy

    CODE USED from http://yoast.com/wordpress/google-analytics/manual-placement/
    <?php
    if ( function_exists( 'yoast_analytics' ) ) {
    yoast_analytics();
    }
    ?>

    'In the Header (default)' out of place issue
    NO CODE in Template
    IMAGE http://screencast.com/t/rlwYB9vyC
    shows up on line 153
    Header closes on line 79
    That's 74 lines outside the header
    Not Google Preference.

  3. Joseph
    Member
    Posted 1 year ago #

    I get a similar message when I look at my source code. Except, replace the '8' with a zero.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by Yoast
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic