I received an message from Google with the request to update my Analytics tracking code, so i can receive
Demographics and Interest Reports and support display advertising.
see more information on: https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad
At this moment i use the general google_analytics template and i added my tracking ID in admin stats options.
But how can i implement the new tracking code? And i dont know if Xenforo is using the classic or the universal code?
Google says:
Im new in this world, so please support me.
Demographics and Interest Reports and support display advertising.
see more information on: https://support.google.com/analytics/answer/2444872?hl=en&utm_id=ad
At this moment i use the general google_analytics template and i added my tracking ID in admin stats options.
But how can i implement the new tracking code? And i dont know if Xenforo is using the classic or the universal code?
Google says:
To implement Display Advertising features for Classic Google Analytics, 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>
Im new in this world, so please support me.