Options

Google Analytics: Demographics and Interest Reports

mscolamscola Registered Users Posts: 5 Beginner grinner
edited December 20, 2014 in SmugMug Support
Hi

I'd like to activate Display Advertising in Google Analytics.
According to the instructions, I need to make changes to my tracking code - something which I don't have.

I've added the following code block to my homepage (with the right UA ID etc).
<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-XXXXXX-XX', 'example.com');
  ga('require', 'displayfeatures');
  ga('send', 'pageview');
  </script>
Google is still not happy with the code.

Has anyone of you successfully activated the Display Advertising feature?

Thanks

Massimo

Comments

Sign In or Register to comment.