Confused about Google Analytics Changes

by CKTaylor7 2 replies
I am attempting to launch the Google Analytics for my site and have changed our all of the code based on the tracking code assigned in my current account.

However when I try to load data, it tells me this:Your Demographics and Interest Reports have been enabled, but your Analytics tracking code does not include the necessary support to show them. Learn more about the simple, one-line, one-time change to your tracking code to add this support.

So I look at the file and it says to change a line of code, which would be easy to do except the tracking code for my account doesn't have this code.

Here's the change it asks me to make:
When you make this update to your tracking code, you also need to update your privacy policy.
To implement Remarketing, Demographics and Interests reporting, or GDN Impression Reporting, replace the bold text in this example:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxx-y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
< /script>
with the bold text in the example below:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxx-y']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';

var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
< /script>

And here is the code that is assigned to my site:

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-12459333-1', 'apscreen.com');
ga('send', 'pageview');
</script>

Can anyone please let me know what I am supposed to do on this one? Thanks.
#search engine optimization #analytics #confused #google
Avatar of Unregistered
  • Profile picture of the author FranksToys
    Did you update to Google's new "universal" code on your account or whatever it is called?
    {{ DiscussionBoard.errors[8974963].message }}
    • Profile picture of the author CKTaylor7
      Originally Posted by FranksToys View Post

      Did you update to Google's new "universal" code on your account or whatever it is called?
      yes, I checked again and this is the universal code
      not sure what is happening here
      {{ DiscussionBoard.errors[8981768].message }}
Avatar of Unregistered

Trending Topics

  • 48 {{ upvoteCount | shortNum }}

    Warriors .... Warriors.... what would you like to LEARN?

    Good Morning awesome Warriors... I'm happy to announce that The Warrior Forum is planning to create our first COURSE. Yes... Powered by Warrior Wisdom... yeah!! Made at home. But before ... [read more]

  • 2 {{ upvoteCount | shortNum }}

    Drop shipping/print on demand - Niche or micro-niche ?

    This question is for those of you who are building a drop shipping or print on demand business and are monetizing through your facebook fan pages. When you create the ... [read more]

  • 8 {{ upvoteCount | shortNum }}

    I don't want to get another cease and desist letter about my domain name...

    I was once threatened by a Lawsuit concerning a domain name that I owned - and I don't want to make the same mistake. So therefore, I want to make ... [read more]

  • 43 {{ upvoteCount | shortNum }}

    How Do Highly Successful People Stay Positive?

    Hi Gang, I just stumbled upon this great article and wanted to share! 6 Ways Highly Successful People Stay Positive So the question begs, how do YOU stay positive? What ... [read more]

  • 3 {{ upvoteCount | shortNum }}

    The website is frozen after 301 redirect

    AdamTear12 in SEO

    Hello mates, I made a 301 redirect on one of my websites. Purchased a new domain, installed WordPress on it, and then did a 301 redirect in order to inject ... [read more]