Analytics >anonymize IP<

Analytics >anonymize IP< was created by Chrysant

Posted 3 years 8 months ago #57452
Hi, for my customer I have to activate Analytics function in TemplateCreator.
The sourcecode is this:
Code:
<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-blabla', 'auto'); ga('send', 'pageview'); </script>

Now i found on www.dr-datenschutz.de/fachbeitraege/goog...schutzerklaerungthis page
Or here: anonymizeIphttps://www.joomla-update.at/joomla-tipps-tricks/google-analytics-ip-anonymisierung

nearly same code exept this line:
Code:
ga('set', 'anonymizeIp', true);

This line is important to anonymize the visitors IP. How can I add this line?
Last Edit:3 years 8 months ago by Chrysant
Last edit: 3 years 8 months ago by Chrysant.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Analytics >anonymize IP<

Posted 3 years 8 months ago #57455
Hi
don't use the analytics option from Template Creator CK, but insert your whole code directly in the Custom Code section
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Time to create page: 0.731 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1177 guests and no members online