Google Analytics Integration
-
Hi, your plugin looks quite good.
We would like to include Google Analytics the classic way with anonymize ip.
<script type=”text/plain” data-usercentrics=”Google Analytics” data-usercentrics=”Google Analytics”>
(function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
e=o.createElement(i);r=o.getElementsByTagName(i)[0];
e.src=’//www.google-analytics.com/analytics.js’;
r.parentNode.insertBefore(e,r)}(window,document,’script’,’ga’));
ga(‘create’, ‘UA-60517164-3’, ‘auto’);
ga(‘set’, ‘anonymizeIp’, true);
ga(‘send’, ‘pageview’);
</script>Within your tool the setting for Google Analytics is using the the google tag manager code. Would it be possibe to have an elegant way to do this for the classic way with ip anonymize?
- The topic ‘Google Analytics Integration’ is closed to new replies.