<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to set up Google analytics IP anonymization]]></title><description><![CDATA[<p dir="auto">Hi guys,</p>
<p dir="auto">due to GDPR reasons in Europe I have to setup Google Analytics with IP anonymization.<br />
I could get GA up and running here:</p>
<p dir="auto"><img src="/assets/uploads/files/1612560343055-b663ec4b-91c9-46ef-8a57-5747c3060b4b-image.png" alt="b663ec4b-91c9-46ef-8a57-5747c3060b4b-image.png" class="img-responsive img-markdown" /></p>
<p dir="auto">But how do I disable IP tracking? As far as I know I have to add some lines to existing  code. But where do I find the source code for GA?</p>
<p dir="auto">Thanks a lot!<br />
Phil</p>
]]></description><link>https://community.appdrag.com/topic/693/how-to-set-up-google-analytics-ip-anonymization</link><generator>RSS for Node</generator><lastBuildDate>Wed, 10 Jun 2026 19:06:37 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/693.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 05 Feb 2021 21:26:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to set up Google analytics IP anonymization on Mon, 08 Feb 2021 11:02:49 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Joseph for your help!</p>
<p dir="auto">For other user, that might be interested in this topic as well:<br />
I have included following script at the very top of the global header section of my project (see Josephs link) :</p>
<pre><code>    &lt;!-- IP anonymization with gtag.js - Google Analytics --&gt;
    &lt;script async src="https://www.googletagmanager.com/gtag/js?id=G-xxxxxx"&gt;&lt;/script&gt;
    &lt;script&gt;
        window.dataLayer = window.dataLayer || [];
        function gtag() {
            dataLayer.push(arguments);
        }
        gtag('js', new Date());
        gtag('config', 'G-xxxxxx', { 'anonymize_ip': true });
    &lt;/script&gt;
</code></pre>
<p dir="auto">Hope that works...</p>
]]></description><link>https://community.appdrag.com/post/2823</link><guid isPermaLink="true">https://community.appdrag.com/post/2823</guid><dc:creator><![CDATA[Phil]]></dc:creator><pubDate>Mon, 08 Feb 2021 11:02:49 GMT</pubDate></item><item><title><![CDATA[Reply to How to set up Google analytics IP anonymization on Sun, 07 Feb 2021 11:27:42 GMT]]></title><description><![CDATA[<p dir="auto">Hey Phil, this feature will activate the regular Google Analytics / Google tag manager code</p>
<p dir="auto">For your use case you need more control, so I suggest you remove that config from your project settings then instead add your custom tracking code with this feature: <a href="https://changelog.appdrag.com/features/add-custom-html-code-on-your-entire-project" rel="nofollow ugc">https://changelog.appdrag.com/features/add-custom-html-code-on-your-entire-project</a></p>
]]></description><link>https://community.appdrag.com/post/2806</link><guid isPermaLink="true">https://community.appdrag.com/post/2806</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Sun, 07 Feb 2021 11:27:42 GMT</pubDate></item></channel></rss>