<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Google Tag Manager Archives - Reflective Data</title>
	<atom:link href="https://reflectivedata.com/category/google-tag-manager/feed/" rel="self" type="application/rss+xml" />
	<link>https://reflectivedata.com/category/google-tag-manager/</link>
	<description></description>
	<lastBuildDate>Wed, 18 Nov 2026 08:31:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://reflectivedata.com/wp-content/themes/reflective-data/img/icon-512.png</url>
	<title>Google Tag Manager Archives - Reflective Data</title>
	<link>https://reflectivedata.com/category/google-tag-manager/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Google Tag Gateway: What It Is, How It Works and How to Set It Up</title>
		<link>https://reflectivedata.com/google-tag-gateway/</link>
					<comments>https://reflectivedata.com/google-tag-gateway/#respond</comments>
		
		<dc:creator><![CDATA[Jason Dolan]]></dc:creator>
		<pubDate>Wed, 18 Nov 2026 08:31:57 +0000</pubDate>
				<category><![CDATA[GA4]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Cloudflare]]></category>
		<category><![CDATA[Google Tag Gateway]]></category>
		<guid isPermaLink="false">https://reflectivedata.com/?p=44540</guid>

					<description><![CDATA[<p>Google Tag Gateway sends your Google tags through your own domain with a CDN. Learn how it works, its limits, how to set it up and how it compares with server-side GTM.</p>
<p>The post <a href="https://reflectivedata.com/google-tag-gateway/">Google Tag Gateway: What It Is, How It Works and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In short:</strong> Google Tag Gateway (officially &#8220;Google tag gateway for advertisers&#8221;) is a feature that loads your Google tag from your own domain and sends measurement requests through it, using a CDN or load balancer you already have. Because requests look first-party, they are harder for some blockers to filter and the setup needs no server of your own. It is not a replacement for server-side GTM. This guide explains what it is, how it works, how to set it up and when it is worth using. It draws on <a href="#sources">eight sources</a>, including Google&#8217;s own documentation, Cloudflare&#8217;s docs, and independent guides such as <a href="https://www.analyticsmania.com/post/google-tag-gateway/" target="_blank" rel="noopener">Analytics Mania</a>.</p>
<h2>What is Google Tag Gateway?</h2>
<p>Normally, when a visitor loads your page, the browser requests your tags and sends measurement data to Google&#8217;s own domains, for example <code>google-analytics.com</code> for GA4. Many ad blockers and privacy extensions block requests to well-known domains and URLs like these.</p>
<p>Google&#8217;s <a href="https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide" target="_blank" rel="noopener">setup guide</a> describes the feature as loading the Google tag from the advertiser&#8217;s own domain via an existing CDN, load balancer or web server, with some measurement requests going to Google through that first-party domain. Google recommends it for the most durable tag configuration. In practice, tags are served from a &#8220;measurement path&#8221; on your site, for example <code>yourwebsite.com/metrics</code>, and a CDN in front of your site forwards the requests to Google.</p>
<h2>How does it work?</h2>
<ul>
<li>A <strong>CDN or load balancer</strong> sits between visitors and your website&#8217;s server. Cloudflare was the launch partner, and <a href="https://blog.cloudflare.com/google-tag-gateway-for-advertisers" target="_blank" rel="noopener">Cloudflare&#8217;s announcement</a> (May 2025) explains that it fetches the tag script from Google in the background, serves it from your domain, and rewrites later measurement requests back to the original Google endpoint.</li>
<li>With the automated setup, the tag or GTM snippet is injected into your pages by the CDN, configured to use your measurement path. You do not have to change your site&#8217;s code.</li>
<li>Requests from the browser go to that path on your domain and are passed on to Google.</li>
</ul>
<p>Beyond Cloudflare, Google documents <a href="https://support.google.com/tagmanager/answer/16222402" target="_blank" rel="noopener">Cloudflare and Akamai CDN setups</a> and a <a href="https://support.google.com/tagmanager/answer/16816376" target="_blank" rel="noopener">Google Cloud Global External Application Load Balancer setup</a>, as well as a self-service route for other CDNs. According to trade publication <a href="https://ppc.land/google-expands-tag-gateway-reach-with-akamai-cdn-integration/" target="_blank" rel="noopener">PPC Land</a>, the Google Cloud option arrived in January 2026 and Akamai followed at the end of that month. Google&#8217;s help centre also lists articles for Amazon CloudFront and Fastly.</p>
<h2>Why use it?</h2>
<ul>
<li><strong>Fewer blocked requests.</strong> Some blockers that match on URLs such as <code>google-analytics.com/g/collect</code> or <code>googletagmanager.com</code> become less effective. Results vary: Analytics Mania found that some extensions stop blocking, while others, such as Ghostery, still do.</li>
<li><strong>It is free and light.</strong> Cloudflare&#8217;s documentation says the feature is <a href="https://developers.cloudflare.com/google-tag-gateway" target="_blank" rel="noopener">free to use</a> and does not count towards billing for its other products, and its announcement says it is available on any plan. On Google Cloud you pay standard load balancer usage. There is no tagging server to build.</li>
<li><strong>It works on restrictive platforms.</strong> Because the CDN injects the snippet, it can help on website builders and CMSs that do not allow custom code.</li>
<li><strong>Tags set cookies under your domain.</strong> Cloudflare says scripts served this way create cookies under your own domain. Analytics Mania also notes that routing the GTM container through your domain can make non-Google tags in the same container load more reliably.</li>
<li><strong>Google reports gains.</strong> Google and Cloudflare&#8217;s May 2025 announcement cited an average 11% uplift in data signals for early testers. Treat that as a vendor figure: no method was published, and your results will depend on your audience and setup.</li>
</ul>
<h2>What it does not do</h2>
<p>This is where expectations need care:</p>
<ul>
<li><strong>It is not a full ad-blocker bypass.</strong> Sophisticated tools can still block requests, even on your own domain.</li>
<li><strong>It does not extend cookie lifetimes by itself.</strong> With a client-side setup, Safari&#8217;s tracking prevention still limits cookies written by JavaScript, as <a href="https://www.analyticsmania.com/post/google-tag-gateway/" target="_blank" rel="noopener">Analytics Mania</a> points out. Google has a separate help article on how the gateway handles cookies, so read it before you promise anything to your stakeholders.</li>
<li><strong>It does not send everything through your domain.</strong> Analytics Mania observed that some requests still go directly to Google, such as regional endpoints when Google signals is on. Google&#8217;s explanation, as that article quotes it, is that this is expected for conversion optimisation and regional rules.</li>
<li><strong>It is designed for Google tags.</strong> It cannot route non-Google vendors.</li>
<li><strong>It does not change your data.</strong> There is no filtering, enrichment or privacy control as there is with a server container.</li>
<li><strong>It does not remove consent requirements.</strong> PPC Land stresses that the gateway does not eliminate consent obligations, so Consent Mode and a consent platform (a CMP in the EEA) still have to be set up properly.</li>
</ul>
<h2>Google Tag Gateway or server-side GTM?</h2>
<table>
<thead>
<tr>
<th></th>
<th>Google Tag Gateway</th>
<th>Server-side GTM</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cost</td>
<td>Free feature (you need a CDN or load balancer)</td>
<td>Hosting costs that grow with traffic</td>
</tr>
<tr>
<td>Effort</td>
<td>Low, mostly in the UI</td>
<td>Higher, needs technical skill</td>
</tr>
<tr>
<td>Where tags run</td>
<td>In the browser; requests routed through your domain</td>
<td>On a server you control</td>
</tr>
<tr>
<td>Control over data</td>
<td>None: requests are passed through</td>
<td>Full: filter, enrich, transform</td>
</tr>
<tr>
<td>Non-Google vendors</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td>Cookie lifetime under Safari</td>
<td>Not extended on its own</td>
<td>Can be improved with the right setup</td>
</tr>
<tr>
<td>Best for</td>
<td>Quick improvement for a Google-only, client-side setup</td>
<td>Control, privacy and many vendors</td>
</tr>
</tbody>
</table>
<p>Independent sources describe the two as different layers: the gateway changes where tags are served from (delivery), and server-side tagging processes and routes the data (processing). Agency <a href="https://louder.com.au/2026/06/09/google-tag-gateway-vs-server-side-gtm-why-enterprise-brands-may-need-both/" target="_blank" rel="noopener">Louder</a> calls them &#8220;more complementary than competing&#8221; and suggests that large, high-volume sites may want both, while smaller teams may find the extra complexity outweighs the gain (note that Louder sells measurement services). PPC Land reports that Google itself describes the combination as the most durable setup. On the other hand, Analytics Mania argues that if you already run server-side GTM with a custom domain loader, you probably do not need the gateway. Our guide to <a href="/server-side-gtm-for-ga4/">server-side GTM for GA4</a> covers the other route.</p>
<h2>How to set up Google Tag Gateway</h2>
<h3>Before you start</h3>
<ul>
<li>You need an existing <strong>Google tag or Google Tag Manager container</strong> on your site.</li>
<li>You need a <strong>CDN or load balancer</strong> that can forward requests to external endpoints. Cloudflare is the smoothest choice because of its native integration. If you do not use a CDN yet, adding one is often the hardest part.</li>
<li>You need <strong>publish permission</strong> on the relevant GTM containers, and the right role in your CDN account. Cloudflare&#8217;s docs list Super Administrator, Administrator or Zaraz Admin, and a Google Cloud setup needs the Google Tag Gateway Admin role in the cloud project.</li>
<li>Choose a <strong>measurement path</strong> that is not already used on your website, and write it down. Each tag or container needs its own unique path.</li>
</ul>
<h3>Set up from Google Tag Manager (Cloudflare)</h3>
<ol>
<li>In GTM, open <strong>Admin</strong> and, under your container, find <strong>Google tag gateway</strong>. It shows <em>Not set up</em>.</li>
<li>Read the overview and click <strong>Continue</strong>.</li>
<li>Check the zones that are listed and the <strong>measurement path</strong>. Google&#8217;s suggested default is fine for most sites.</li>
<li>Sign in to Cloudflare and click <strong>Allow</strong> to connect GTM to your Cloudflare account.</li>
<li>Click <strong>Complete setup</strong>.</li>
</ol>
<p>You can also configure it in the Cloudflare dashboard, on the Google tag gateway page, by choosing the domain, enabling it, and entering your Google tag ID and the measurement path, as described in <a href="https://developers.cloudflare.com/google-tag-gateway" target="_blank" rel="noopener">Cloudflare&#8217;s documentation</a>.</p>
<h3>Set up with GA4 only (no GTM)</h3>
<ol>
<li>In GA4, go to <strong>Admin</strong>, then <strong>Data collection and modification</strong>, then <strong>Data streams</strong>.</li>
<li>Select your web stream and scroll to <strong>Configure tag settings</strong>.</li>
<li>Open the <strong>Admin</strong> tab and select <strong>Google tag gateway</strong>, then follow the same steps.</li>
</ol>
<h3>Other CDNs and load balancers</h3>
<ul>
<li><strong>Akamai:</strong> set up through GTM (select Google tag gateway, continue, choose Akamai and authenticate). On the Akamai side, a rule is added in Property Manager with the Google Tag Gateway behaviour, then activated, as <a href="https://ppc.land/google-expands-tag-gateway-reach-with-akamai-cdn-integration/" target="_blank" rel="noopener">PPC Land</a> summarises. It supports one Google tag configuration per property, so check Google&#8217;s docs for multiple containers.</li>
<li><strong>Google Cloud:</strong> requires your domain&#8217;s traffic to go through a Global External Application Load Balancer. The classic load balancer is not supported. See <a href="https://support.google.com/tagmanager/answer/16816376" target="_blank" rel="noopener">Google&#8217;s guide</a>.</li>
<li><strong>Other CDNs:</strong> use Google&#8217;s self-service (manual) instructions in the <a href="https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide" target="_blank" rel="noopener">setup guide</a>.</li>
</ul>
<h3>Check that it works</h3>
<ol>
<li>Reload your website and view the page source. You should see the snippet pointing at your measurement path.</li>
<li>Open Tag Assistant: the <em>Hits Sent</em> section of the summary should show requests going to your measurement path, and the Google tag settings should show an <em>Active</em> status, as described in Cloudflare&#8217;s docs.</li>
<li>Or open your browser&#8217;s developer tools, go to the <strong>Network</strong> tab, filter by your measurement path and reload.</li>
<li>Check that events are not duplicated, especially if your site already had a GTM or GA4 snippet.</li>
</ol>
<h2>Gotchas and things to watch</h2>
<ul>
<li><strong>It works at zone level on Cloudflare.</strong> Cloudflare&#8217;s docs say it applies to all hostnames and subdomains in the zone, and you cannot switch it on for one subdomain. The workaround is to restrict tags in GTM, for example with a trigger on the page hostname.</li>
<li><strong>It can override an existing snippet.</strong> Cloudflare notes that if you already have a GTM script on your site, the first-party tag overrides it. Check for duplicates.</li>
<li><strong>It affects every page.</strong> Automatic injection adds the snippet to all pages that pass through the CDN, including admin areas.</li>
<li><strong>Reports can change.</strong> Some readers of Analytics Mania reported side effects such as location data showing &#8220;(not set)&#8221; and internal-traffic filters no longer matching, because requests reach Google from the CDN&#8217;s IP addresses. These are anecdotal and were not confirmed, so test your reports and filters after switching it on.</li>
<li><strong>It is not a data-residency solution.</strong> Some data still goes to Google&#8217;s regional servers. For EU-only processing you need a different setup.</li>
</ul>
<h2>Should you use Google Tag Gateway?</h2>
<ul>
<li><strong>Yes</strong>, if your setup is client-side, mostly Google tags, behind (or ready to move behind) a supported CDN, and you want a quick, free gain in data quality.</li>
<li><strong>Maybe later</strong>, if you will move to server-side tagging eventually. You can start with the gateway and add a server container later.</li>
<li><strong>No</strong>, if you already run server-side GTM with a custom domain, or you need data filtering, non-Google routing or EU-only processing.</li>
</ul>
<p>It also works with <a href="/data-pipelines/ga4-parallel-tracking/">Parallel Tracking</a>, so you can combine a gateway setup with complete, unsampled GA4 data in your own warehouse.</p>
<h2>FAQ</h2>
<h3>Is Google Tag Gateway free?</h3>
<p>The feature is free. You need a CDN or load balancer, and Cloudflare says it can be used on any plan. On Google Cloud you pay normal load balancer usage.</p>
<h3>Will it stop all ad blockers?</h3>
<p>No. It reduces the effect of some blockers, not all of them.</p>
<h3>Does it replace server-side GTM?</h3>
<p>No. It cannot extend cookie lifetimes by itself, it cannot route non-Google tags, and it gives you no control over the data. The two are often seen as complementary.</p>
<h3>Do I need a developer?</h3>
<p>Usually not for the setup itself, which is done in the interface. You may still want technical help with CDN and DNS changes and with testing.</p>
<h2>Need help with Google Tag Gateway?</h2>
<p>Reflective Data can set up Google Tag Gateway for you: the CDN configuration, the measurement path, testing for duplicates and side effects, and a recommendation on whether server-side GTM would suit you better. We also consult on every other GA4 topic, from <a href="/services/analytics-tracking/ga4/">implementation and audits</a> and <a href="/services/analytics-tracking/google-tag-manager/">Google Tag Manager</a> to <a href="/services/analytics-tracking/bigquery/">BigQuery</a> and attribution. <a href="/contact/">Book a free consultation</a>.</p>
<h2 id="sources">Sources</h2>
<ol>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/gateway/setup-guide" target="_blank" rel="noopener">Set up Google tag gateway for advertisers</a> (developer documentation).</li>
<li>Google, <a href="https://support.google.com/tagmanager/answer/16222402" target="_blank" rel="noopener">Set up Google tag gateway for advertisers with your CDN</a> (Tag Manager Help).</li>
<li>Google, <a href="https://support.google.com/tagmanager/answer/16816376" target="_blank" rel="noopener">Set up Google tag gateway for advertisers with Google Cloud Load Balancer</a> (Tag Manager Help).</li>
<li>Cloudflare, <a href="https://developers.cloudflare.com/google-tag-gateway" target="_blank" rel="noopener">Google tag gateway for advertisers</a> (developer documentation).</li>
<li>Cloudflare, <a href="https://blog.cloudflare.com/google-tag-gateway-for-advertisers" target="_blank" rel="noopener">First-party tags in seconds: Cloudflare integrates Google tag gateway for advertisers</a> (blog, May 2025).</li>
<li>PPC Land, <a href="https://ppc.land/google-expands-tag-gateway-reach-with-akamai-cdn-integration/" target="_blank" rel="noopener">Google expands tag gateway reach with Akamai CDN integration</a> (February 2026).</li>
<li>Louder, <a href="https://louder.com.au/2026/06/09/google-tag-gateway-vs-server-side-gtm-why-enterprise-brands-may-need-both/" target="_blank" rel="noopener">Google Tag Gateway vs Server-Side GTM: why enterprise brands may need both</a> (June 2026).</li>
<li>Analytics Mania, <a href="https://www.analyticsmania.com/post/google-tag-gateway/" target="_blank" rel="noopener">Google Tag Gateway</a> (updated August 2026).</li>
</ol>
<p><em>Features and screens change often. Check Google&#8217;s current documentation before you set this up.</em></p>
<p>The post <a href="https://reflectivedata.com/google-tag-gateway/">Google Tag Gateway: What It Is, How It Works and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/google-tag-gateway/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Server-Side GTM for GA4: What It Is, Why Use It and How to Set It Up</title>
		<link>https://reflectivedata.com/server-side-gtm-for-ga4/</link>
					<comments>https://reflectivedata.com/server-side-gtm-for-ga4/#respond</comments>
		
		<dc:creator><![CDATA[Jason Dolan]]></dc:creator>
		<pubDate>Wed, 18 Nov 2026 08:31:54 +0000</pubDate>
				<category><![CDATA[GA4]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[parallel tracking]]></category>
		<category><![CDATA[Server-side GTM]]></category>
		<category><![CDATA[sGTM]]></category>
		<guid isPermaLink="false">https://reflectivedata.com/?p=44539</guid>

					<description><![CDATA[<p>Server-side Google Tag Manager moves GA4 tracking to a server you control. Learn why to use it, how to set it up for GA4, and how it works with Parallel Tracking.</p>
<p>The post <a href="https://reflectivedata.com/server-side-gtm-for-ga4/">Server-Side GTM for GA4: What It Is, Why Use It and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In short:</strong> Server-side Google Tag Manager (server-side GTM, or sGTM) moves part of your tracking from the visitor&#8217;s browser to a server you control. For GA4 users that means better control over what data is sent, more durable first-party cookies, fewer scripts on your pages, and a stronger privacy position. It also means more setup, a running cost and a bit of engineering. This guide explains what it is, why you might use it, how to set it up for GA4 and where it fits with Parallel Tracking. It draws on <a href="https://developers.google.com/tag-platform/tag-manager/server-side/overview" target="_blank" rel="noopener">Google&#8217;s documentation</a> and the <a href="#sources">other sources listed at the end</a>.</p>
<h2>What is server-side GTM?</h2>
<p>With a normal (&#8220;client-side&#8221;) setup, your website loads a GTM container in the browser. That container fires tags, and each tag sends data straight from the visitor&#8217;s browser to vendors such as Google Analytics, Google Ads and Meta.</p>
<p>Google&#8217;s <a href="https://developers.google.com/tag-platform/tag-manager/server-side/overview" target="_blank" rel="noopener">overview</a> describes server-side tagging as moving measurement tag instrumentation from the website or app to a server-side processing container, hosted on Google Cloud or another platform of your choice. In practice there are two containers:</p>
<ul>
<li>A <strong>web container</strong> in the browser, which collects events and sends one stream of data to your own server.</li>
<li>A <strong>server container</strong> running on a server you control. It receives that stream through a &#8220;client&#8221; (an adapter that claims an incoming request and turns it into events), can clean and enrich the events, and then forwards them to GA4 and other vendors through server-side tags.</li>
</ul>
<p>Think of it as a checkpoint between your website and your vendors. Nothing leaves your setup without passing through it.</p>
<pre><code>Browser (web container)  -->  your server container (first-party domain)  -->  GA4, Google Ads, other vendors</code></pre>
<h2>Why use server-side GTM?</h2>
<p>Google itself names two benefits: <strong>better performance</strong>, because fewer measurement tags run in the browser, and <strong>better security</strong>, because visitor data is collected and distributed in an environment you manage. The independent guides add several more.</p>
<h3>More control over your data</h3>
<p>Because every request passes through your server, you decide exactly what gets sent. You can remove personal data such as IP addresses or email addresses, rename or transform events, add data the browser does not have (for example, margin from your backend), and keep API keys on the server. Google&#8217;s documentation also describes <em>transformations</em> that can strip parameters before tags forward them.</p>
<h3>More durable first-party cookies</h3>
<p>If your server runs on your own domain, it can read and write cookies that page scripts cannot see (HttpOnly cookies), which Google says improves cookie privacy and durability. Google&#8217;s <a href="https://developers.google.com/tag-platform/tag-manager/server-side/custom-domain" target="_blank" rel="noopener">custom domain page</a> is specific about this: a server on the same origin as your site (for example <code>example.com/metrics</code>, which Google calls best practice) or on a subdomain (<code>metrics.example.com</code>) gets full access to server-set cookies, while the default <code>run.app</code> address does not. Hosting vendor <a href="https://stape.io/blog/benefits-server-side-tagging" target="_blank" rel="noopener">Stape</a> claims cookie lifetimes of up to 400 days with a custom domain, but that is a vendor claim and browsers change their rules, so test it on your own site.</p>
<h3>Faster pages</h3>
<p>Instead of loading a separate script and firing a separate request for each vendor in the browser, the page sends one request. That can mean less JavaScript and a lighter page, especially on sites with many marketing tags. Some vendors quote specific speed gains, but they rarely explain how they measured them.</p>
<h3>Fewer blocked requests, with caveats</h3>
<p>Requests go to your own domain instead of third-party domains, so some blockers will miss them. Be realistic, though. <a href="https://www.iubenda.com/en/blog/google-tag-manager-server-side/" target="_blank" rel="noopener">iubenda&#8217;s guide</a> says sGTM &#8220;doesn&#8217;t reliably get around ad blockers&#8221; and tells readers to measure the effect and not assume it.</p>
<h3>Privacy and compliance</h3>
<p>You see and control all outgoing data, and it is easier to show an auditor what is shared with whom. Server-side tagging does not remove the need for consent. iubenda explains that consent state, set up in the web container, travels with each event. Google tags in the server container are consent-aware, but non-Google tags only respect consent if you configure them to, usually with trigger conditions. Under the EU&#8217;s ePrivacy rules, reading or storing information on a device generally needs consent whichever way the data is routed afterwards. Google also notes that the owner of the server environment may have access to your data, so check your hosting provider&#8217;s terms.</p>
<h3>A foundation for more than GA4</h3>
<p>Once the server container is in place, you can use it for Google Ads conversions, Meta&#8217;s Conversions API, TikTok, Pinterest and more, and for sending data to your own warehouse.</p>
<h2>The downsides, honestly</h2>
<ul>
<li><strong>Cost.</strong> The container is free, but hosting is not. Google&#8217;s <a href="https://developers.google.com/tag-platform/tag-manager/server-side/cloud-run-setup-guide" target="_blank" rel="noopener">Cloud Run setup guide</a> estimates about $45 per server per month, and recommends at least two instances to reduce the risk of data loss if a server fails. Its <a href="https://developers.google.com/tag-platform/tag-manager/server-side/overview" target="_blank" rel="noopener">overview page</a> recommends three, and expects roughly $30 to $50 per server per month once you move past the free test setup. iubenda turns Google&#8217;s figures into &#8220;roughly $90 a month&#8221; for a production setup of two servers. Large traffic volumes cost more, and request logging can add charges beyond about a million requests a month unless you filter it. Simo Ahava also <a href="https://www.simoahava.com/analytics/cloud-run-server-side-tagging-google-tag-manager/" target="_blank" rel="noopener">points out</a> that Cloud Run costs are harder to predict than the older App Engine, because it bills per request processed. Managed hosts such as Stape sell hosting too, and claim to be cheaper, but treat vendor price comparisons with care.</li>
<li><strong>Complexity.</strong> You maintain a custom domain, DNS records, two containers and a debugging process. Mistakes can silently break tracking.</li>
<li><strong>Maintenance.</strong> Google recommends updating the tagging server image regularly, especially for major versions.</li>
<li><strong>It is not a magic fix.</strong> It does not give you consent, it does not make blocked users visible, and it does not remove GA4&#8217;s own limits.</li>
</ul>
<h2>Why it matters for GA4 users</h2>
<p>GA4 works well with server-side GTM. Google recommends sending data from the web page with a Google tag, and the GA4 client is pre-installed in the server container. It claims the incoming GA4 requests and turns them into events, and a GA4 tag forwards them to Google Analytics. Practical benefits for GA4:</p>
<ul>
<li><strong>Cleaner data</strong> in GA4: filter out internal traffic and bots, normalise campaign parameters and remove personal data before it is stored.</li>
<li><strong>More complete data</strong> where requests would otherwise be blocked, and longer-lived first-party identifiers.</li>
<li><strong>Enrichment:</strong> add product margin, customer type or other backend data to events.</li>
<li><strong>Better conversion signals</strong> for Google Ads, sent from the server.</li>
</ul>
<h2>How to set up server-side GTM for GA4</h2>
<p>The exact screens change over time, so treat these steps as a guide and check Google&#8217;s current documentation. Before you start, you need a working GA4 property, a GTM web container and a Google Cloud account with billing enabled (or an account with a hosting provider).</p>
<ol>
<li><strong>Create a server container.</strong> In Google Tag Manager, open your account menu, choose <em>Create Container</em> and set the target platform to <em>Server</em>.</li>
<li><strong>Provision the tagging server.</strong> Google recommends <em>automatic provisioning</em>: Tag Manager creates a new Google Cloud project and a Cloud Run tagging server for you. To use an existing project, follow the Cloud Run setup guide, and for other infrastructure there is a manual guide using Google&#8217;s Docker image. Be aware that the default deployment has restricted resources and is meant for testing with limited traffic only. Before live traffic arrives, increase the number of instances.</li>
<li><strong>Set up a custom domain.</strong> Map a subdomain of your site (for example <code>data.example.com</code>), or serve the server from a path on your own domain through a CDN or load balancer, so requests are first-party and the server can set cookies. Google strongly recommends this over the default <code>run.app</code> address.</li>
<li><strong>Tell GTM the server URL.</strong> In the server container, go to <em>Admin</em>, then <em>Container Settings</em>, click <em>Add URL</em>, paste your server URL and save.</li>
<li><strong>Point your GA4 tag at the server.</strong> In the web container, edit your Google tag and set its server container URL to your new domain. From now on, GA4 events go to your server first. If your site uses a Content Security Policy, allow the server URL in <code>img-src</code>, <code>connect-src</code> and <code>frame-src</code>, as Google&#8217;s <a href="https://developers.google.com/tag-platform/tag-manager/server-side/send-data" target="_blank" rel="noopener">send data page</a> describes.</li>
<li><strong>Check the GA4 client.</strong> The server container includes a GA4 client by default. Check its priority and activation settings if you run more than one client.</li>
<li><strong>Add a GA4 tag in the server container.</strong> Create a GA4 tag with your measurement ID, triggered by events from the GA4 client. This forwards the data to Google Analytics.</li>
<li><strong>Test.</strong> Click <em>Preview</em> in the server container. If the preview page loads, the server is set up correctly. You can also open your server URL with <code>/healthy</code> at the end and look for the text &#8220;ok&#8221;. Use preview mode in both containers to confirm that requests reach your domain, the client claims them and the GA4 tag fires with the right parameters.</li>
<li><strong>Verify in GA4.</strong> Open DebugView and the real-time reports and confirm events arrive once, not twice.</li>
<li><strong>Publish and monitor.</strong> Publish both containers, set a billing alert in Google Cloud, and compare event volumes with your old setup for a few weeks.</li>
<li><strong>Add other tags.</strong> Once GA4 is stable, move Google Ads, Meta and other vendors to the server, one at a time.</li>
</ol>
<h3>Common mistakes</h3>
<ul>
<li><strong>Sending events twice.</strong> Leaving the old client-side GA4 tag active next to the new server-side route doubles your data. Make sure only one path remains.</li>
<li><strong>Staying on the default domain.</strong> It prevents server-set cookies, which removes one of the main benefits.</li>
<li><strong>Too few instances in production.</strong> A single small server risks dropped data during outages or spikes.</li>
<li><strong>Forgetting consent.</strong> Pass consent state to the server and respect it in your tags.</li>
<li><strong>Not monitoring.</strong> Set up alerts for failed requests and watch your cloud costs.</li>
</ul>
<h2>Server-side GTM and Parallel Tracking</h2>
<p>If you already use <a href="/data-pipelines/ga4-parallel-tracking/">Parallel Tracking</a>, or plan to, nothing changes. A GA4 implementation delivered through server-side GTM still supports Parallel Tracking, just like any other GA4 implementation method (a gtag.js setup, a web GTM container or a custom integration). You keep the benefits of your server-side setup, and Parallel Tracking adds complete, unsampled data in your warehouse without the 1 million event BigQuery export cap, with near-real-time processed data and an optional EU-only pipeline.</p>
<h2>Server-side GTM or Google Tag Gateway?</h2>
<p>Google also offers <a href="/google-tag-gateway/">Google Tag Gateway</a>, a simpler way to send Google tags through your own domain with a CDN. It is easier and free, but it does less: it focuses on Google tags, keeps tag execution in the browser and gives you no data transformation. Choose server-side GTM if you want control, enrichment, privacy filtering and non-Google vendors. Choose the gateway if you want a quick, light improvement for a Google-only setup. Independent sources, including <a href="https://www.analyticsmania.com/post/google-tag-gateway/" target="_blank" rel="noopener">Analytics Mania</a>, say the gateway does not replace server-side GTM, and that the two can be combined.</p>
<h2>FAQ</h2>
<h3>Do I need server-side GTM for GA4?</h3>
<p>No. GA4 works without it. It becomes worthwhile when you need more control over data, you run many marketing tags, ad blockers cost you significant data, or privacy requirements demand it. iubenda suggests it pays off mainly for sites with meaningful ad spend, and may not justify itself for small sites.</p>
<h3>How much does server-side GTM cost?</h3>
<p>Google estimates about $45 per server per month on Cloud Run, with at least two servers recommended for production, plus traffic and logging costs. Estimate it with the Google Cloud Pricing Calculator, which Google&#8217;s guide says opens with a default server-side tagging estimate.</p>
<h3>Does it bypass consent?</h3>
<p>No. You are still responsible for collecting consent and honouring it, and it should be part of the design from the start.</p>
<h3>Can I use it with Parallel Tracking?</h3>
<p>Yes. Parallel Tracking works with a GA4 implementation delivered through server-side GTM, just like with any other implementation.</p>
<h2>Need help with server-side GTM?</h2>
<p>Reflective Data can set up server-side GTM for you: the server container, the custom domain, the GA4 client and tags, consent handling, testing and monitoring. We also consult on every other GA4 topic, from <a href="/services/analytics-tracking/google-tag-manager/">Google Tag Manager</a> and <a href="/services/analytics-tracking/ga4/">GA4 implementation and audits</a> to <a href="/services/analytics-tracking/bigquery/">BigQuery</a> and attribution. <a href="/contact/">Book a free consultation</a>.</p>
<h2 id="sources">Sources</h2>
<ol>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/server-side/overview" target="_blank" rel="noopener">Server-side tagging overview</a> (developer documentation).</li>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/server-side/cloud-run-setup-guide" target="_blank" rel="noopener">Set up server-side tagging with Cloud Run</a>.</li>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/server-side/manual-setup-guide" target="_blank" rel="noopener">Manual setup guide</a>.</li>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/server-side/send-data" target="_blank" rel="noopener">Send data to server-side Tag Manager</a>.</li>
<li>Google, <a href="https://developers.google.com/tag-platform/tag-manager/server-side/custom-domain" target="_blank" rel="noopener">Custom domain configuration</a>.</li>
<li>Simo Ahava, <a href="https://www.simoahava.com/analytics/cloud-run-server-side-tagging-google-tag-manager/" target="_blank" rel="noopener">Cloud Run with server-side tagging in Google Tag Manager</a> (October 2023). An independent expert&#8217;s walkthrough. Some steps are outdated, so use it for background only.</li>
<li>iubenda, <a href="https://www.iubenda.com/en/blog/google-tag-manager-server-side/" target="_blank" rel="noopener">Google Tag Manager server-side tracking: how it works and how to set it up</a> (updated October 2026). Vendor content: iubenda sells consent and server-side tracking products.</li>
<li>Stape, <a href="https://stape.io/blog/benefits-server-side-tagging" target="_blank" rel="noopener">Server-side tracking benefits</a> (updated September 2026). Vendor content: Stape sells sGTM hosting, and its case-study figures are vendor-selected.</li>
<li>Analytics Mania, <a href="https://www.analyticsmania.com/post/google-tag-gateway/" target="_blank" rel="noopener">Google Tag Gateway</a>, for the comparison with the gateway.</li>
</ol>
<p><em>Google changes these guides often, and its own pages differ slightly on instance counts and costs. Check the current documentation before you deploy.</em></p>
<p>The post <a href="https://reflectivedata.com/server-side-gtm-for-ga4/">Server-Side GTM for GA4: What It Is, Why Use It and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/server-side-gtm-for-ga4/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>GA4 Data Manager: What It Is, Who It Is For and How to Set It Up</title>
		<link>https://reflectivedata.com/ga4-data-manager/</link>
					<comments>https://reflectivedata.com/ga4-data-manager/#respond</comments>
		
		<dc:creator><![CDATA[Jason Dolan]]></dc:creator>
		<pubDate>Wed, 18 Nov 2026 08:31:51 +0000</pubDate>
				<category><![CDATA[GA4]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[data connections]]></category>
		<category><![CDATA[Data Manager]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<guid isPermaLink="false">https://reflectivedata.com/?p=44538</guid>

					<description><![CDATA[<p>Data Manager is a new hub in Google Analytics 4 that shows every data stream, connection and import on one map. Here is what is new, who it is for and how to set it up.</p>
<p>The post <a href="https://reflectivedata.com/ga4-data-manager/">GA4 Data Manager: What It Is, Who It Is For and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>In short:</strong> Data Manager is a new area in Google Analytics 4 that puts everything connected to your property, from tags and data streams to Google Ads links, CRM imports and exports, on one page, with a map that shows where your data comes from and where it goes. Google released it as an open beta in early November 2026. This guide explains what is new, who it is for, how the data flows between products and how to set it up, based on <a href="https://support.google.com/analytics/answer/18107176" target="_blank" rel="noopener">Google&#8217;s help article</a> and the <a href="#sources">other sources listed at the end</a>.</p>
<h2>What is Data Manager in GA4?</h2>
<p>According to <a href="https://support.google.com/analytics/answer/18107176" target="_blank" rel="noopener">Google&#8217;s documentation</a>, Data Manager is &#8220;a centralized data management tool&#8221; for managing the data streams and connected products of a Google Analytics property from a single home page. It shows how each connection is used and what state it is in. The feature is part of an open beta and is subject to change, so labels and options may differ slightly from what you see here. Trade publications <a href="https://ppc.land/google-analytics-data-manager-duplicate-ads-setups-can-log-conversions-twice/" target="_blank" rel="noopener">PPC Land</a> and <a href="https://www.relevantaudience.com/analytics/google-analytics-data-manager-beta-data-connection-map/" target="_blank" rel="noopener">Relevant Audience</a> report that it was released on 6 November 2026 according to Google&#8217;s release notes, and PPC Land notes that Google gave no end date for the beta. Search Engine Roundtable&#8217;s <a href="https://seroundtable.com/data-manager-in-google-analytics-42480.html" target="_blank" rel="noopener">report</a> said its author did not see the tab yet, which suggests a gradual rollout, so it may not be in your property today.</p>
<p>You find it in <strong>Admin</strong>, in the left navigation, in a tab called <strong>Data Manager</strong>, underneath <strong>My preferences</strong>.</p>
<h2>What&#8217;s new</h2>
<p>Until now, the pieces of a GA4 setup have been spread across many places: data streams in one area, product links to Google Ads and other products in another, data imports in a third, and exports somewhere else. Data Manager brings them together. Google lists four main benefits:</p>
<ul>
<li><strong>Centralised management.</strong> One hub to set up, manage and troubleshoot your Google Analytics setup.</li>
<li><strong>Simpler data ingestion.</strong> An all-in-one experience for bringing data in, with a wider range of connectors.</li>
<li><strong>A data connection map.</strong> A visual map you can use to audit data flows from source, to property, to destination.</li>
<li><strong>Proactive &#8220;data strength&#8221;.</strong> The existing data strength guide is built in, so it flags gaps in your measurement and gives recommendations.</li>
</ul>
<p>Two other details are worth knowing. Data can come from direct or partner-enabled sources such as Google Tag Manager, a CRM platform, a Google Ads product link or an offline file. And some data types are available only through Data Manager in GA: <strong>item data</strong> and <strong>third-party campaign data</strong>.</p>
<h2>The data connection map</h2>
<p>The most useful part of Data Manager is the map at the top of the page. The property sits in the middle, sources flow in from the left and destinations flow out to the right.</p>
<ul>
<li><strong>Mini map (default).</strong> Collapsed rows for the tag or SDK, connected products, the GA property and its data streams, and data export.</li>
<li><strong>Expanded view.</strong> Four columns: <em>Data sources</em>, <em>Data types</em>, <em>Property and streams</em> and <em>Data export</em>. It shows details such as the names of Google Sheets or Tag IDs.</li>
<li><strong>Full-page view.</strong> Lets you expand and collapse grouped sources, the property and exports.</li>
</ul>
<p>It is interactive. Hover over a node to highlight the whole path from source to destination, and click a node for a summary card. You can filter by node or column name and expand grouped nodes. When something is wrong, the source shows a broken state or a red status indicator, the summary card explains the problem and a <strong>Fix</strong> button lets you resolve it from there.</p>
<p>Below the map there is a list of your data connections in two sections: <strong>Data streams</strong> (web and app streams, added with <strong>+Add stream</strong>) and <strong>Connected products</strong> (product links and data import connections, added with <strong>+Connect Product</strong>).</p>
<h2>Data Manager in GA4 and Data Manager in Google Ads</h2>
<p>If you use Google Ads, you may already know a similar tool. <a href="https://support.google.com/google-ads-data-manager/answer/13761872" target="_blank" rel="noopener">Google Ads Data Manager</a> is described by Google as a data import and management tool with a point-and-click interface, found under the Tools icon in Google Ads. It brings first-party data, for example from a database or file storage, into Google Ads and activates it in places like Customer Match and offline conversion imports. The new Data Manager in Google Analytics extends this idea into GA4, with the property at the centre of the picture. Google also offers a Data Manager API for sending first-party data programmatically. PPC Land reports it launched in December 2025 for Google Ads, Google Analytics and Display &amp; Video 360, though that date comes from secondary coverage.</p>
<h2>Who is Data Manager for?</h2>
<p>Google does not name specific roles on the page, only that you need the appropriate permissions for your property. In practice, it is most useful for:</p>
<ul>
<li><strong>Analytics and measurement leads</strong> who own the GA4 setup and want to see, at a glance, what is connected and whether it is healthy.</li>
<li><strong>Marketers who run Google Ads and other Google Marketing Platform products</strong>, because new connections are now set up in GA and data flows from GA to the linked products.</li>
<li><strong>Teams that import first-party data</strong> from a CRM or an offline file and want to activate it across Google destinations.</li>
<li><strong>Agencies and consultants</strong> who inherit setups and need to audit them quickly.</li>
</ul>
<p>Who it is not for: <strong>subproperties and roll-up properties</strong> are not supported and do not have the Data Manager landing page.</p>
<h2 id="flow">How Data Manager works with Google Ads and other Google products</h2>
<p>This is the part to read carefully, because it can cause double counting. Google describes three situations:</p>
<ul>
<li><strong>New connections</strong> are set up in Data Manager inside your GA property. Data flows from GA to the linked Google Ads or Google Marketing Platform products.</li>
<li><strong>Existing connections</strong> can keep being managed inside Google Ads or Google Marketing Platform. You do not need to duplicate them in GA.</li>
<li><strong>Existing data imports</strong> automatically appear in Data Manager. Google recommends using Data Manager in GA for future connections.</li>
</ul>
<p>Data flows one way, downstream from GA to the linked products, and not the other way round. Do not turn on an identical data pipeline in both interfaces. Google warns that this can log conversions twice. <a href="https://ppc.land/google-analytics-data-manager-duplicate-ads-setups-can-log-conversions-twice/" target="_blank" rel="noopener">PPC Land</a> and <a href="https://www.relevantaudience.com/analytics/google-analytics-data-manager-beta-data-connection-map/" target="_blank" rel="noopener">Relevant Audience</a> both note that the help article does not explain how duplicates are detected, or whether Google Ads removes them, so the safe approach is to avoid creating the same pipeline in both places.</p>
<h2>How to set up Data Manager</h2>
<h3>Open it and look at what you already have</h3>
<ol>
<li>In GA4, open <strong>Admin</strong>.</li>
<li>Select <strong>Data Manager</strong>.</li>
<li>Hover over and click the nodes on the map to see more about each source and how it is used.</li>
</ol>
<h3>Connect a product or data source</h3>
<ol>
<li>Click <strong>+Connect Product</strong>.</li>
<li>Under <strong>Choose a data source</strong>, search for and select a source from the list of products.</li>
<li>Under <strong>How will you use this data source?</strong>, select what data you want to use from that source, then click <strong>Begin setup</strong>.</li>
<li>Follow the steps for that source.</li>
</ol>
<h3>Fix a broken connection</h3>
<ol>
<li>Look for sources with a broken state or a red indicator on the map.</li>
<li>Click the source to open its summary card and read the issue.</li>
<li>Click <strong>Fix</strong> to resolve it directly.</li>
</ol>
<h3>Delete a connection</h3>
<ol>
<li>Go to <strong>Connected products</strong> and select the connection.</li>
<li>In the <strong>Manage Connection</strong> panel, select <strong>Delete</strong>.</li>
<li>Select <strong>Delete</strong> again when the confirmation message appears.</li>
</ol>
<h2>What Google has not said yet</h2>
<p>The help article leaves some practical questions open, as Relevant Audience points out in its review: which countries have access, the minimum role needed, the full list of connectors, what the Fix button can and cannot repair, and what will change when the beta ends. Plan for these unknowns, and re-check Google&#8217;s documentation before building a process around the feature.</p>
<h2>Tips before you start</h2>
<ul>
<li><strong>Audit first.</strong> Open the map and list every source and destination before you add anything. Look for connections nobody remembers creating.</li>
<li><strong>Avoid duplicates.</strong> Before you create a connection in Data Manager, check whether the same data already flows through Google Ads or another product, so conversions are not counted twice.</li>
<li><strong>Use the data strength guide.</strong> Treat its recommendations as a checklist for gaps in measurement, and then verify them yourself.</li>
<li><strong>Think before deleting.</strong> Deleting a connection can stop data reaching a destination. Check what depends on it first.</li>
<li><strong>Document what you find.</strong> Take a screenshot of the map and keep it with your tracking documentation.</li>
</ul>
<h2>Limitations to keep in mind</h2>
<ul>
<li>It is a beta, so features and labels can change.</li>
<li>Subproperties and roll-up properties are not supported.</li>
<li>It does not replace good measurement. A clean map says your connections exist, not that your tracking is correct.</li>
<li>It sits inside GA4, so the usual GA4 limits still apply, such as sampling and the <a href="/how-to-avoid-google-analytics-4-ga4-bigquery-export-quota-limit-of-1-million-hits/">1 million event BigQuery export limit</a>. If those are a problem, see <a href="/ga4-alternatives/">GA4 alternatives</a> and <a href="/data-pipelines/ga4-parallel-tracking/">Parallel Tracking</a>.</li>
</ul>
<h2>FAQ</h2>
<h3>Is Data Manager available to everyone?</h3>
<p>Google describes it as an open beta. The page does not state any regional or pricing restrictions, but you need the right permissions on your property, and it is not available for subproperties and roll-up properties.</p>
<h3>Do I have to move my existing connections?</h3>
<p>No. Existing connections can stay where they are, and existing data imports appear in Data Manager automatically. Google recommends using Data Manager for new connections.</p>
<h3>Where do I find it?</h3>
<p>In GA4, go to Admin and look for the Data Manager tab in the left menu, under My preferences.</p>
<h2>Need help with GA4?</h2>
<p>Reflective Data can set up Data Manager for you: auditing your current connections, cleaning up duplicates, connecting your CRM, ad platforms and offline data, and checking that everything reports correctly. We also consult on every other GA4 topic, from <a href="/services/analytics-tracking/ga4/">implementation and audits</a> and <a href="/services/analytics-tracking/google-tag-manager/">Google Tag Manager</a> to <a href="/services/analytics-tracking/bigquery/">BigQuery</a>, custom attribution and <a href="/data-pipelines/ga4-parallel-tracking/">Parallel Tracking</a>. <a href="/contact/">Book a free consultation</a> and tell us what you have today.</p>
<h2 id="sources">Sources</h2>
<ol>
<li>Google, <a href="https://support.google.com/analytics/answer/18107176" target="_blank" rel="noopener">About Data Manager in Google Analytics (beta)</a> (Analytics Help). The primary source for the features, steps and warnings described here.</li>
<li>Google, <a href="https://support.google.com/google-ads-data-manager/answer/13761872" target="_blank" rel="noopener">About Google Ads Data Manager</a> (Google Ads Data Manager Help).</li>
<li>PPC Land, <a href="https://ppc.land/google-analytics-data-manager-duplicate-ads-setups-can-log-conversions-twice/" target="_blank" rel="noopener">Google Analytics Data Manager: duplicate Ads setups can log conversions twice</a> (November 2026). Trade news with editorial commentary.</li>
<li>Search Engine Roundtable, <a href="https://seroundtable.com/data-manager-in-google-analytics-42480.html" target="_blank" rel="noopener">New Data Manager in Google Analytics beta</a> (November 2026).</li>
<li>Relevant Audience, <a href="https://www.relevantaudience.com/analytics/google-analytics-data-manager-beta-data-connection-map/" target="_blank" rel="noopener">Google Analytics adds Data Manager (beta) with a data connection map</a> (November 2026). An agency blog.</li>
</ol>
<p><em>Data Manager is a beta and changes quickly. Check Google&#8217;s current documentation before you rely on any detail here.</em></p>
<p>The post <a href="https://reflectivedata.com/ga4-data-manager/">GA4 Data Manager: What It Is, Who It Is For and How to Set It Up</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/ga4-data-manager/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Data You Should Be Tracking Using Google Analytics Custom Events</title>
		<link>https://reflectivedata.com/data-you-should-be-tracking-using-google-analytics-custom-events/</link>
					<comments>https://reflectivedata.com/data-you-should-be-tracking-using-google-analytics-custom-events/#comments</comments>
		
		<dc:creator><![CDATA[Silver Ringvee]]></dc:creator>
		<pubDate>Thu, 26 Sep 2019 09:59:41 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google Optimize]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">http://reflectivedata.com/?p=3487</guid>

					<description><![CDATA[<p>Out of the box, Google Analytics already tracks a bunch of really useful data points. What the default setup lacks, though, is context and events that are specific to your website and business.</p>
<p>Custom Events provide a perfect solution for adding context and tracking more specific user actions. In this article, we are giving you a good amount of ideas for custom events you should implement on your own and/or your clients' websites.</p>
<p>The post <a href="https://reflectivedata.com/data-you-should-be-tracking-using-google-analytics-custom-events/">Data You Should Be Tracking Using Google Analytics Custom Events</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Out of the box, Google Analytics already tracks a bunch of really useful data points. What the default setup lacks, though, is context and events that are specific to your website and business.</p>
<p>Custom Events provide a perfect solution for adding context and tracking more specific user actions. In this article, we are giving you a good amount of ideas for custom events you should implement on your own and/or your clients&#8217; websites.</p>
<p>This post is divided into sections by different event categories so you could skip the ones that are not relevant for you.</p>
<h2>Clicks</h2>
<p>For almost all websites, the most common user interaction is a click. By default, Google Analytics isn&#8217;t very good at tracking them. Let&#8217;s see how we could improve this situation.</p>
<h4>Navigation clicks</h4>
<p>Tracking usage of the main menu, sidebar and other navigation elements is critical. This is how your visitors explore your business and move in the funnel.</p>
<p>Detecting navigation interactions is <a href="https://dcarlbom.com/google-tag-manager/track-main-menu-usage-site-gtm/" target="_blank" rel="noopener noreferrer">easy with Google Tag Manager</a> and sending data to Google Analytics works as with any other event.</p>
<p>Since there may be several navigation elements containing links to the same page, it is important to also pass the information about which navigation was used. For example, you might a have link to your blog both in the header and in the footer.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: top-navigation, sidebar etc.
label: link text
non-interaction: false</pre>
<h4>CTA clicks</h4>
<p>Tracking clicks on all of your CTAs (call to actions) is extremely important if you have more than one CTA on a single page pointing to the same location (i.e. long-form sales pages).</p>
<p>Don&#8217;t forget that buttons like &#8220;Get a Quote&#8221;, &#8220;Add to Cart&#8221; and &#8220;Checkout&#8221; are also CTAs.</p>
<p>Setup is the same as with <a href="https://www.lovesdata.com/blog/google-tag-manager-button-click-tracking" target="_blank" rel="noopener noreferrer">generic click tracking using GTM</a>.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: CTA
label: text (and index the same CTA appears multiple times)
non-interaction: false</pre>
<h4>Outbound link clicks</h4>
<p>Also known as tracking website exits, this custom event tells you exactly to which external pages people navigate from your site.</p>
<p>Again, <a href="https://netvantagemarketing.com/blog/tracking-website-exits-using-google-tag-manager/" target="_blank" rel="noopener noreferrer">setting this up</a> is quite easy with GTM.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: outbound link
label: link URL - link text
non-interaction: false</pre>
<h4>File download clicks</h4>
<p>Doesn&#8217;t matter if you provide whitepapers, ebooks, PDFs, or other types of downloadable files, you should be tracking how often they get downloaded.</p>
<p>There are some <a href="https://www.jeffalytics.com/track-downloads-google-analytics/">really good tutorials</a> online but we recommend setting it up using Google Tag Manager. A simple &#8220;just links&#8221; click trigger with a regex that matches desired filetypes should work just fine.</p>
<p>Regex Example:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">\.(pdf|docx)$</pre>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: download
label: filename / link text
non-interaction: false</pre>
<h4>Rage clicks</h4>
<p>Visitors rage clicking on certain elements on your website is a good indicator of a UX error. For example, people may click on a blue text that is not a link or on an image that has no click functionality.</p>
<p>We have a <a href="https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/" target="_blank" rel="noopener noreferrer">separate blog post</a> about tracking rage clicks using Google Tag Manager and Google Analytics.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: rage click
label: element selector
non-interaction: false</pre>
<h4>Button clicks</h4>
<p>Your website is likely to have all sorts of clickable buttons. There might be some other ways for you to get an overview of the usage of the features related to those buttons but knowing how many clicks each button received definitely helps.</p>
<p>Some ideas for which buttons should be tracked:</p>
<ul>
<li>Add to wishlist/favorites</li>
<li>Add/remove item from cart</li>
<li>Update cart</li>
<li>Continue shopping</li>
<li>Log in/out</li>
<li>Register</li>
<li>etc.</li>
</ul>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: click
action: button
label: button text/description
non-interaction: false</pre>
<h2>Form Interactions</h2>
<p>When it comes to tracking forms, I would like to recommend a few good articles by Simo Ahava that cover everything you need for getting started.</p>
<ul>
<li><a href="https://www.simoahava.com/analytics/track-form-engagement-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">Track Form Engagement With Google Tag Manager</a></li>
<li><a href="https://www.simoahava.com/analytics/track-form-abandonment-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">Track Form Abandonment With Google Tag Manager</a></li>
<li><a href="https://www.simoahava.com/analytics/form-field-timing-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">Form Field Timing With Google Tag Manager</a></li>
</ul>
<p>Since forms are the most important part of many websites (i.e checkout, lead form etc.) you should really nail tracking them correctly.</p>
<h2>A/B Testing</h2>
<h4>Experiment and Variation</h4>
<p>Most A/B testing tools provide some sort of integration with Google Analytics. Most of them, though, are using custom dimensions. A problem with custom dimension based integration is that you need to make sure that the dimensions aren&#8217;t overlapping between experiments because otherwise, you might end up overwriting the dimension value for some experiments.</p>
<p>What we recommend having, besides the default integration, is a secondary event-based integration. That is, sending a custom event for every running experiment in a following format:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: ab testing
action: experiment ID
label: variation number
non-interaction: true</pre>
<p>PS! One event per experiment-variation combination.</p>
<p>This gives you raw information about each experiment and variation that the visitor saw. You can easily use this information in your custom segments or reports.</p>
<p>Every testing has a bit different solution for exposing experiment data to the front-end but here are a few links that should be helpful.</p>
<ul>
<li><a href="https://help.vwo.com/hc/en-us/articles/360021117934-How-to-Integrate-VWO-with-UA-via-Google-Tag-Manager-Custom-Dimensions-" target="_blank" rel="noopener noreferrer">VWO</a> &#8211; instead of custom dimension, send this data using custom event action and label.</li>
<li><a href="https://support.google.com/optimize/answer/9059383?hl=en" target="_blank" rel="noopener noreferrer">Google Optimize</a> &#8211; this allows you to get experiment data to the datalayer, now send it using a custom event.</li>
<li><a href="https://developers.optimizely.com/x/solutions/javascript/reference/index.html#reading-data" target="_blank" rel="noopener noreferrer">Optimizely X</a> &#8211; access data about live experiments using Javascript.</li>
</ul>
<h4>Google Optimize Anti-Flicker Snippet timeout</h4>
<p>If you have any experience with JavaScript-based A/B testing and/or personalization tools you know that flicker can be a real headache.</p>
<p>In case your tool of choice is Google Optimize, you should be using their official anti-flicker snippet to minimize the flicker effect.</p>
<p>We wrote a full separate article on <a href="https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/" target="_blank" rel="noopener noreferrer">Tracking Optimize Anti-Flicker Snippet Timeout in Google Analytics</a>.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: optimize
action: snippet timeout
label: true/false
non-interaction: true</pre>
<h2>Scroll depth</h2>
<p>Whether you are working with a blog, some landing pages or any other page that is longer than a fold, you want to know how far down do the visitors scroll.</p>
<p>It used to required some custom Javascript but now, tracking scroll depth is a <a href="https://www.lovesdata.com/blog/tracking-scroll-depth" target="_blank" rel="noopener noreferrer">built-in feature of Google Tag Manager</a>.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: scroll
action: scroll depth threshold
non-interaction: false</pre>
<h2>Social interactions</h2>
<p>While Google Analytics has a <a href="https://www.optimizesmart.com/guide-to-social-interactions-tracking-in-google-analytics/" target="_blank" rel="noopener noreferrer">dedicated feature for tracking social interactions</a>, having this data in custom events gives you more flexibility in reporting.</p>
<p>There is a really thorough blog post about <a href="https://www.analyticsmania.com/post/track-social-interactions-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">tracking social interactions using Google Tag Manager</a> &#8211; although, if you want something simpler, tracking clicks on your social icons is a good starting point.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: social
action: share/like/follow
label: social platform
non-interaction: false</pre>
<h2>Video events</h2>
<p>Doesn&#8217;t matter if it&#8217;s a sales video, a video that explains how your product works or a tutorial &#8211; you do care about how many people start the video and how far through will they make.</p>
<p>Google Tag Manager provides a really easy solution for <a href="https://www.getelevar.com/how-to/implement-video-tracking-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">tracking YouTube videos</a> but tracking others such as <a href="https://www.cardinalpath.com/vimeo-tracking-with-google-tag-manager/" target="_blank" rel="noopener noreferrer">Vimeo</a> is completely doable as well.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: videos
action: start/pause/percentage
label: video id
non-interaction: false</pre>
<h2>Errors</h2>
<p>No matter how good your site is, there will always be errors. Since errors are directly related to bad user experience, tracking them is absolutely crucial.</p>
<p>The first step here should be sending your <a href="https://www.tatvic.com/blog/javascript-error-tracking-google-analytics-via-google-tag-manager-unsung-hero-2/" target="_blank" rel="noopener noreferrer">Javascript errors to Google Analytics</a>. Next, consider sending other errors like popup alerts and system errors as well.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: error
action: error message
label: feature or other relevant information
non-interaction: true</pre>
<h2>reCAPTCHA bot score</h2>
<p>Google Analytics does have a simple bot-filtering system in place but it comes nowhere near catching all the bots that visit your site. Even tools like reCAPTCHA by Google can’t usually say for sure whether a visitor is a bot or a human but they can give you a score (from 0.1 to 1). Simo Ahava has put together <a href="https://www.simoahava.com/amp/analytics/improve-google-analytics-bot-detection-with-recaptcha/">a great tutorial</a> for tracking the reCAPTCHA both score using Google Analytics custom dimensions.</p>
<p>Recommended event parameters:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">category: reCAPTCHA
action: reCAPTCHA answer
label: reCAPTCHA score
non-interaction: true</pre>
<hr />
<p>Don&#8217;t forget to test whatever new custom event you add to your setup.</p>
<p>Should you have any questions related to custom events in Google Analytics, shoot them in the comments below.</p>
<p>PS! If you need help with implementing custom events, <a href="https://reflectivedata.com/services/">you can hire us</a> to help you out!</p>
<p><span style="font-size: 10pt;">Photo by <a href="https://unsplash.com/@anniespratt?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Annie Spratt</a> on <a href="https://unsplash.com/s/photos/click?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
<p>The post <a href="https://reflectivedata.com/data-you-should-be-tracking-using-google-analytics-custom-events/">Data You Should Be Tracking Using Google Analytics Custom Events</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/data-you-should-be-tracking-using-google-analytics-custom-events/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Tracking Rage Clicks Using Google Tag Manager and Google Analytics</title>
		<link>https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/</link>
					<comments>https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/#comments</comments>
		
		<dc:creator><![CDATA[Silver Ringvee]]></dc:creator>
		<pubDate>Tue, 17 Sep 2019 13:27:10 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">http://reflectivedata.com/?p=3491</guid>

					<description><![CDATA[<p>Visitors rage clicking on certain elements on your website is a good indicator of a UX error. For example, people may click on a blue text that is not a link or on an image that has no click functionality.</p>
<p>The post <a href="https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/">Tracking Rage Clicks Using Google Tag Manager and Google Analytics</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Visitors rage clicking on certain elements on your website is a good indicator of a UX error. For example, people may click on a blue text that is not a link or on an image that has no click functionality.</p>
<p>Detecting and fixing such usability issues is crucial, and luckily the detection part is doable using Google Tag Manager and Google Analytics.</p>
<blockquote><p>Rage click is a situation where, in a short period of time, a website user clicks multiple times on a specific element. I.e. in two seconds, a visitor clicks three times on an image.</p></blockquote>
<p>Without further ado, let&#8217;s see how tracking rage clicks works in Google Tag Manager.</p>
<h3>Step 1 &#8211; Create a new Tag that detects rage clicks</h3>
<figure id="attachment_3493" aria-describedby="caption-attachment-3493" style="width: 953px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_05_21.png"><img fetchpriority="high" decoding="async" class="wp-image-3493 size-full" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_05_21-e1568726110732.png" alt="Google Tag Manager - detect rage click" width="953" height="719" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_05_21-e1568726110732.png 953w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_05_21-e1568726110732-700x528.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_05_21-e1568726110732-768x579.png 768w" sizes="(max-width: 953px) 100vw, 953px" /></a><figcaption id="caption-attachment-3493" class="wp-caption-text">Google Tag Manager &#8211; detect rage click</figcaption></figure>
<p>This tag is responsible for detecting rage clicks and pushing a custom event <code>rage_click</code> into the data layer.</p>
<p>There are a few variables that you can play with to make it best fit your use case:</p>
<p><code>no_of_clicks</code> &#8211; after how many clicks do we consider it a rage click. Default is 3.</p>
<p><code>time</code> &#8211; in what time period should the clicks happen. Default is 2 seconds.</p>
<p><code>radius</code> &#8211; in what radius should the clicks happen. Default is 100px.</p>
<p>The following variables are pushed into the data layer when a rage click is detected:</p>
<p><code>event</code> &#8211; <code>rage_click</code></p>
<p><code>rc_element</code> &#8211; selector of the element on which the clicks happened</p>
<p><code>rc_count</code> &#8211; the number of clicks</p>
<p><code>rc_max_distance</code> &#8211; maximum distance between the clicks</p>
<p><code>rc_time_diff</code> &#8211; period from first to last click</p>
<p>PS! You don&#8217;t have to send all of them to GA, pick the ones you think make the most sense.</p>
<p><a href="https://gist.github.com/silversillu/52ad72eaee5450ace862f39e52f6b953" target="_blank" rel="noopener noreferrer">Full code snippet</a>. &#8211; Requires jQuery to be loaded on the page.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">if ( typeof(jQuery) === 'function' ) {
    jQuery(document).ready(function($) {
        jQuery.fn.extend({
            getPath: function() {
                var path, node = this;
                while (node.length) {
                    var realNode = node[0],
                        name = realNode.localName;
                    if (!name) break;
                    name = name.toLowerCase();
                    var parent = node.parent();
                    var sameTagSiblings = parent.children(name);
                    if (sameTagSiblings.length &gt; 1) {
                        var allSiblings = parent.children();
                        var index = allSiblings.index(realNode) + 1;
                        if (index &gt; 1) {
                            name += ':nth-child(' + index + ')';
                        }
                    }
                    path = name + (path ? '&gt;' + path : '');
                    node = parent;
                }
                return path;
            }
        });
        // Number of rage clicks
        var no_of_clicks = 3;
        //Time interval - 3 for 3 secs, 4 for secs and likewise
        var time = 2;
        var click_events = [];
        //internal variables
        var possible_click = 3;
        var radius = 100;
        function detectXClicks(count, interval) {
            var last = click_events.length - 1;
            var time_diff = (click_events[last].time.getTime() - click_events[last - count + 1].time.getTime()) / 1000;
            //returns false if it event period is longer than 5 sec
            if (time_diff &gt; interval) return null;
            //check click distance
            var max_distance = 0;
            for (i = last - count + 1; i &lt; last; i++) {
                for (j = i + 1; j &lt;= last; j++) {
                    var distance = Math.round(Math.sqrt(Math.pow(click_events[i].event.clientX - click_events[j].event.clientX, 2) + Math.pow(click_events[i].event.clientY - click_events[j].event.clientY, 2)));
                    if (distance &gt; max_distance) max_distance = distance;
                    if (distance &gt; radius) return null;
                }
            }
            var result = {
                count: count,
                max_distance: max_distance,
                time_diff: time_diff
            }
            return result;
        }
        function removeUsedClickPoints(count) {
            click_events.splice(click_events.length - count, count);
        }
        $("body").click(function(event) {
            click_events.push({
                event: event,
                time: new Date()
            });
            //remain only required number of click events and remove left of them.
            if (click_events.length &gt; possible_click) {
                click_events.splice(0, click_events.length - possible_click);
            }
            //detect 3 click in 5 sec
            if (click_events.length &gt;= 3) {
                var result = detectXClicks(no_of_clicks, time);
                if (result != null) {
                    var path = $(event.target).getPath();
                    //console.log('Rage Click: ' + JSON.stringify(result));
                    dataLayer.push({
                        'event': 'rage_click',
                        'rc_element': path,
                        'rc_count': result.count,
                        'rc_max_distance': result.max_distance,
                        'rc_time_diff': result.time_diff
                    });
                    removeUsedClickPoints(3);
                }
            }
        });
    });
}</pre>
<h3>Step 2 &#8211; Create a new Trigger</h3>
<p>The snippet from the previous step is pushing the <code>rage_click</code> event into the data layer every time a rage click is detected. Now we need to create a trigger that listens to that event.</p>
<figure id="attachment_3494" aria-describedby="caption-attachment-3494" style="width: 930px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_15_22.png"><img decoding="async" class="size-full wp-image-3494" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_15_22.png" alt="Google Tag Manager - rage click trigger" width="930" height="463" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_15_22.png 930w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_15_22-700x348.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_15_22-768x382.png 768w" sizes="(max-width: 930px) 100vw, 930px" /></a><figcaption id="caption-attachment-3494" class="wp-caption-text">Google Tag Manager &#8211; rage click trigger</figcaption></figure>
<h3>Step 3 &#8211; Send an event to Google Analytics</h3>
<p>Awesome, now let&#8217;s create a new tag that is responsible for sending the custom event to Google Analytics.</p>
<figure id="attachment_3495" aria-describedby="caption-attachment-3495" style="width: 927px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_19_20.png"><img decoding="async" class="size-full wp-image-3495" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_19_20.png" alt="Send rage click to Google Analytics" width="927" height="732" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_19_20.png 927w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_19_20-700x553.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.17-16_19_20-768x606.png 768w" sizes="(max-width: 927px) 100vw, 927px" /></a><figcaption id="caption-attachment-3495" class="wp-caption-text">Send rage click to Google Analytics</figcaption></figure>
<p>You can play around with the event parameters, especially with the event label to best match your needs but the recommended values are as seen in the screenshot above.</p>
<p>Before publishing your changes, don&#8217;t forget to enter the preview mode in Google Tag Manager and test the setup yourself. Go ahead and do a few rage clicks and see if an event is getting sent to Google Analytics. Also, check the event parameters and see if they match your expectations.</p>
<h3>Step 4 &#8211; Using this data</h3>
<p>Okay, so you have configured everything correctly, tested it and it works fine. Now, how do you put this data into use?</p>
<p>First, go into Google Analytics and find your rage click events. If you did as described in this post, you find them by clicking on Overview under Behavior &#8211;&gt; Events, then find the &#8220;Rage Click&#8221; event category.</p>
<figure id="attachment_3525" aria-describedby="caption-attachment-3525" style="width: 1452px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27.png"><img loading="lazy" decoding="async" class="size-full wp-image-3525" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27.png" alt="Rage click report in Google Analytics" width="1452" height="1022" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27.png 1452w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27-700x493.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27-768x541.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_42_27-1024x721.png 1024w" sizes="auto, (max-width: 1452px) 100vw, 1452px" /></a><figcaption id="caption-attachment-3525" class="wp-caption-text">Rage click report in Google Analytics</figcaption></figure>
<p>Click on the &#8220;Rage Click&#8221; event category and choose Event Action to see the elements on which the rage clicks happened.</p>
<p><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55.png"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-3526" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55.png" alt="Rage click event in Google Analytics" width="1171" height="199" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55.png 1171w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55-700x119.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55-768x131.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-analytics.google.com-2019.09.18-13_45_55-1024x174.png 1024w" sizes="auto, (max-width: 1171px) 100vw, 1171px" /></a></p>
<p>Since elements with the same selectors might be on different pages, it might be helpful to apply a secondary dimension &#8220;Page&#8221;.</p>
<p>Now, all you need to do is to pick one element, copy its selector and go to the page seen in the secondary dimension.</p>
<p>Next, open the Javascript console of your browser (press F12) and paste your selector in the following format:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">jQuery('YOUR&gt;SELECTOR&gt;HERE');</pre>
<p>Hover over the line that was returned in the console and it should highlight the element in the DOM.</p>
<figure id="attachment_3527" aria-describedby="caption-attachment-3527" style="width: 1915px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2.png"><img loading="lazy" decoding="async" class="size-full wp-image-3527" src="https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2.png" alt="Seeing the Rage Click element" width="1915" height="957" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2.png 1915w, https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2-700x350.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2-768x384.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/Untitled-2-1024x512.png 1024w" sizes="auto, (max-width: 1915px) 100vw, 1915px" /></a><figcaption id="caption-attachment-3527" class="wp-caption-text">Seeing the Rage Click element</figcaption></figure>
<p>If you prefer element class over the selector, you can change the event action in GTM from the <code>rc_element</code> to GTM&#8217;s built-in Click Class variable.</p>
<hr />
<p>Great! That&#8217;s it, should you need any help with tracking rage clicks using Google Tag Manager and Google Analytics, post your questions in the comments below.</p>
<p>Should you need further help with your analytics setup, <a href="https://reflectivedata.com/services/" target="_blank" rel="noopener noreferrer">take a look at our services</a>.</p>
<p><span style="font-size: 10pt;">Cover photo by <a href="https://unsplash.com/@axville?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Emmanuel</a> on <a href="https://unsplash.com/search/photos/click?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></span></p>
<p>The post <a href="https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/">Tracking Rage Clicks Using Google Tag Manager and Google Analytics</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/tracking-rage-clicks-using-google-tag-manager-and-google-analytics/feed/</wfw:commentRss>
			<slash:comments>26</slash:comments>
		
		
			</item>
		<item>
		<title>Tracking Optimize Anti-Flicker Snippet Timeout in Google Analytics</title>
		<link>https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/</link>
					<comments>https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/#comments</comments>
		
		<dc:creator><![CDATA[Silver Ringvee]]></dc:creator>
		<pubDate>Wed, 04 Sep 2019 13:15:40 +0000</pubDate>
				<category><![CDATA[A/B testing]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google Optimize]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">http://reflectivedata.com/?p=3451</guid>

					<description><![CDATA[<p>If you have any experience with JavaScript-based A/B testing and/or personalization tools you know that flicker can be a real headache.</p>
<p>In case your tool of choice is Google Optimize, you should be using their official anti-flicker snippet to minimize the flicker effect.</p>
<p>The post <a href="https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/">Tracking Optimize Anti-Flicker Snippet Timeout in Google Analytics</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you have any experience with JavaScript-based A/B testing and/or personalization tools you know that <a href="https://reflectivedata.com/fooc-get-rid/">flicker</a> can be a real headache.</p>
<p>In case your tool of choice is <a href="https://reflectivedata.com/dictionary/google-optimize/">Google Optimize</a>, you should be using their official <a href="https://support.google.com/optimize/answer/7100284?hl=en">anti-flicker snippet</a> to minimize the flicker effect.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="html">&lt;!-- Anti-flicker snippet (recommended) --&gt;
&lt;style&gt;.async-hide { opacity: 0 !important} &lt;/style&gt;
&lt;script&gt;(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date; h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')}; (a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c; })(window,document.documentElement,'async-hide','dataLayer',4000, {'OPT_CONTAINER_ID':true});&lt;/script&gt;</pre>
<p>Looking at the anti-flicker snippet (previously known as page-hiding snippet), you see that the default timeout is set to 4000ms. That means that, potentially, some of your visitors may see a blank white page for 4 seconds.</p>
<p>Since four seconds is a long time, many companies reduce it. A common timeout I&#8217;ve seen is 2 seconds. Changing the maximum timeout to a shorter period, although, means that there can be a good amount of people to whom the snippet occasionally times out.</p>
<p>When the anti-flicker snippet times out, no experiments will be loaded on that page load (people will see the control for all experiments and personalizations) which can lead to a user experience where a single user is seeing different variations in single session.</p>
<p>What you probably want to know is the optimal timeout period for your website. To figure that out, you&#8217;d need to know how many timeouts occur with your current setup. Let&#8217;s take a look how to set that up using Google Tag Manager and Google Analytics.</p>
<p>Before moving forward, you should read about <a href="https://developers.google.com/optimize/devguides/antiflicker">how the anti-flicker snippet works</a>.</p>
<h3>Catching the timeout</h3>
<p>To make this a little bit easier for us, Google has added a variable in the data layer that indicates whether the snipped has timed out or not.</p>
<p>You can access this variable like so:</p>
<p><code>window.dataLayer.hide["GTM-xxxxxx"]</code> where <code>GTM-xxxxxx</code> stands for your Optimize container ID.</p>
<p>To make sure it&#8217;s not too easy, though, they don&#8217;t push this variable into the data layer as you normally would. This means you can&#8217;t access it using GTM Data Layer variable nor the Custom Javascript variable.</p>
<p>What you need is a Custom Javascript function variable in GTM to check the value.</p>
<p>Here&#8217;s the function you can use</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">function () { 
    if ( window.dataLayer.hide ) { 
        return window.dataLayer.hide["GTM-xxxxxxx"]; 
    } 
}</pre>
<p>And here is the same function implemented in Google Tag Manager.</p>
<figure id="attachment_3452" aria-describedby="caption-attachment-3452" style="width: 1296px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18.png"><img loading="lazy" decoding="async" class="size-full wp-image-3452" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18.png" alt="Tracking Optimize anti-flicker snippet timeout using Google Analytics" width="1296" height="676" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18.png 1296w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18-700x365.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18-768x401.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-15_44_18-1024x534.png 1024w" sizes="auto, (max-width: 1296px) 100vw, 1296px" /></a><figcaption id="caption-attachment-3452" class="wp-caption-text">Tracking Optimize anti-flicker snippet timeout</figcaption></figure>
<p>PS! In the beginning, the value is always <code>true</code>, it turns to <code>false</code> if the timeout period is over and it managed to load Optimize before this happened (the snippet did not time out).</p>
<p>Our recommendation is to check the value on GTM&#8217;s default <code>DOM Ready</code> event.</p>
<h3>Sending data to Google Analytics</h3>
<p>This part is quite straightforward for anyone that has used GTM to send custom events to Google Analytics so let&#8217;s get right to it.</p>
<h4>1. Create the DOM Ready trigger</h4>
<p>In case you haven&#8217;t configured this default trigger in GTM, go ahead do it now.</p>
<figure id="attachment_3456" aria-describedby="caption-attachment-3456" style="width: 1299px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31.png"><img loading="lazy" decoding="async" class="wp-image-3456 size-full" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31.png" alt="Google Tag Manager DOM Ready Event" width="1299" height="375" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31.png 1299w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31-700x202.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31-768x222.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_03_31-1024x296.png 1024w" sizes="auto, (max-width: 1299px) 100vw, 1299px" /></a><figcaption id="caption-attachment-3456" class="wp-caption-text">Google Tag Manager DOM Ready Event</figcaption></figure>
<h4>2. Create a new Tag for sending the event to Google Analytics</h4>
<p>Create a new Tag with a tag type of <strong>Google Analytics: Universal Analytics</strong> and choose track type of <strong>Event</strong>.</p>
<p>These are the recommended event parameters but you can use whatever works for you.</p>
<p><strong>Category:</strong> optimize</p>
<p><strong>Action:</strong> timeout</p>
<p><strong>Label:</strong> true/false (using the Custom Javascript function variable you created before)</p>
<p><strong>Non-Interaction Hit:</strong> True (because it&#8217;s not related to a user action)</p>
<figure id="attachment_3457" aria-describedby="caption-attachment-3457" style="width: 1287px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34.png"><img loading="lazy" decoding="async" class="size-full wp-image-3457" src="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34.png" alt="Tracking Optimize anti-flicker snippet timeout using Google Analytics" width="1287" height="757" srcset="https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34.png 1287w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34-700x412.png 700w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34-768x452.png 768w, https://reflectivedata.com/wp-content/uploads/2019/09/screenshot-tagmanager.google.com-2019.09.04-16_07_34-1024x602.png 1024w" sizes="auto, (max-width: 1287px) 100vw, 1287px" /></a><figcaption id="caption-attachment-3457" class="wp-caption-text">Tracking Optimize anti-flicker snippet timeout using Google Analytics</figcaption></figure>
<p>That&#8217;s it. This is all you need to start tracking Optimize anti-flicker snippet timeouts using Google Tag Manager and Google Analytics.</p>
<h3>How to use this data?</h3>
<p>Your goal should be to find the optimal timeout duration for your website and audience. The percentage of users who experience the timeout should be kept under 10% and you might consider excluding those with timeouts from your post-analysis process using a custom segment in Google Analytics.</p>
<hr />
<p>Any questions or ideas? As always, feel free to post them in the comments below.</p>
<p>The post <a href="https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/">Tracking Optimize Anti-Flicker Snippet Timeout in Google Analytics</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/tracking-optimize-anti-flicker-snippet-timeout-in-google-analytics/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>How to Detect and Track Incognito Users with Google Analytics and Google Tag Manager</title>
		<link>https://reflectivedata.com/how-to-detect-track-incognito-users-with-google-analytics-and-google-tag-manager/</link>
					<comments>https://reflectivedata.com/how-to-detect-track-incognito-users-with-google-analytics-and-google-tag-manager/#comments</comments>
		
		<dc:creator><![CDATA[Silver Ringvee]]></dc:creator>
		<pubDate>Thu, 04 Apr 2019 12:23:58 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Google Tag Manager]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">http://reflectivedata.com/?p=3188</guid>

					<description><![CDATA[<p>Depending on the type of website you are working with, it is likely that some percentage of your users are using their browser in incognito or private mode.</p>
<p>Since using incognito mode can skew the numbers you see in analytics, it is really good to know the estimated percentage of visitors that prefer to stay incognito.</p>
<p>The post <a href="https://reflectivedata.com/how-to-detect-track-incognito-users-with-google-analytics-and-google-tag-manager/">How to Detect and Track Incognito Users with Google Analytics and Google Tag Manager</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Depending on the type of website you are working with, it is likely that some percentage of your users are using their browser in incognito or private mode.</p>
<p>Since using incognito mode can skew the numbers you see in analytics, it is really good to know the estimated percentage of visitors that prefer to stay incognito.</p>
<h4>What kind of implications does incognito mode cause?</h4>
<ul>
<li><strong>Inaccurate user count</strong> &#8211; every session is a new user</li>
<li><strong>Inaccurate sessions per user count</strong> &#8211; incognito users will always have only one session</li>
<li><strong>Broken A/B testing logic</strong> &#8211; users in incognito are likely to see different variation every time they visit</li>
<li><strong>Broken promotions</strong> &#8211; users are likely to see &#8220;only once&#8221; popups and other elements in every session</li>
</ul>
<h3>Tracking incognito users in Google Analytics</h3>
<p>Unfortunately, browsers don&#8217;t have a default solution for detecting whether users are in incognito or not. Nor are they making it easy to figure it out using custom Javascript.</p>
<p>For every browser, the solution is a bit different and they might be changing when a new version of the browser is released. We are doing our best to keep this post up to date.</p>
<p>Here&#8217;s the Google Tag Manager setup that we are using to track incognito visitors to Reflective Data blog.</p>
<h4>Google Tag Manager custom HTML tag</h4>
<p><strong>Name:</strong> Detect Incognito Browser</p>
<p><strong>Type:</strong> Custom HTML</p>
<p><strong>Trigger:</strong> All Pages</p>
<p><strong>Code:</strong></p>
<div>
<pre class="lang:default decode:true ">&lt;script&gt;
(function (cb) {
    var db,
    on = cb.bind(null, 'true'),
    off = cb.bind(null, 'false')

    function tryls() {
        try {
            localStorage.length ? off() : (localStorage.x = 1, localStorage.removeItem("x"), off());
        } catch (e) {
            // Safari only enables cookie in private mode
            // if cookie is disabled then all client side storage is disabled
            // if all client side storage is disabled, then there is no point
            // in using private mode
            navigator.cookieEnabled ? on() : off();
        }
    }

    // Blink (chrome &amp; opera)
    window.webkitRequestFileSystem ? webkitRequestFileSystem(0, 0, off, on)
    // FF
    : "MozAppearance" in document.documentElement.style ? navigator.serviceWorker ? off() : on()
    // Safari
    : /constructor/i.test(window.HTMLElement) || window.safari ? tryls()
    // IE10+ &amp; edge
    : !window.indexedDB &amp;&amp; (window.PointerEvent || window.MSPointerEvent) ? on()
    // Rest
    : off()
})(function (isPrivateMode) { window.dataLayer.push({event: 'detected_incognito', is_incognito: isPrivateMode}); });
&lt;/script&gt;
</pre>
<p>Credit: This code is a slightly modified version of the <a href="https://stackoverflow.com/a/37091058/4769218">snippet</a> posted on Stack Overflow by the user Endless.</p>
<p>Works in the following browsers:</p>
<ul>
<li>Chrome</li>
<li>Firefox</li>
<li>Safari</li>
<li>IE 10+</li>
<li>Edge</li>
</ul>
<h4>Google Tag Manager Data Layer variable</h4>
<p><strong>Name:</strong> DLV &#8211; Is Incognito</p>
<p><strong>Data Layer Variable Name:</strong> is_incognito</p>
<p><strong>Data Layer Version:</strong> Version 2</p>
<figure id="attachment_3190" aria-describedby="caption-attachment-3190" style="width: 1155px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56.png"><img loading="lazy" decoding="async" class="size-full wp-image-3190" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56.png" alt="Google Tag Manager Is Incognito Data Layer Variable" width="1155" height="595" srcset="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56.png 1155w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56-700x361.png 700w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56-768x396.png 768w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-08-56-1024x528.png 1024w" sizes="auto, (max-width: 1155px) 100vw, 1155px" /></a><figcaption id="caption-attachment-3190" class="wp-caption-text">Google Tag Manager Is Incognito Data Layer Variable</figcaption></figure>
<h4>Google Tag Manager Custom Event trigger</h4>
<p><strong>Name:</strong> CE &#8211; Detected Incognito</p>
<p><strong>Event name:</strong> detected_incognito</p>
<p><strong>This trigger fires on:</strong> All Custom Events</p>
<figure id="attachment_3191" aria-describedby="caption-attachment-3191" style="width: 1145px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05.png"><img loading="lazy" decoding="async" class="size-full wp-image-3191" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05.png" alt="Google Tag Manager Detected Incognito Custom Trigger" width="1145" height="607" srcset="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05.png 1145w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05-700x371.png 700w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05-768x407.png 768w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-11-05-1024x543.png 1024w" sizes="auto, (max-width: 1145px) 100vw, 1145px" /></a><figcaption id="caption-attachment-3191" class="wp-caption-text">Google Tag Manager Detected Incognito Custom Trigger</figcaption></figure>
<h4>Google Tag Manager Google Analytics tag</h4>
<p><strong>Name:</strong> UA &#8211; Is Incognito Browser</p>
<p><strong>Type:</strong> Event</p>
<p><strong>Category:</strong> browser_info</p>
<p><strong>Action:</strong> incognito</p>
<p><strong>Label:</strong> {{DLV &#8211; Is Incognito}}</p>
<p><strong>Non-Ineraction Hit:</strong> True</p>
<figure id="attachment_3192" aria-describedby="caption-attachment-3192" style="width: 1140px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29.png"><img loading="lazy" decoding="async" class="size-full wp-image-3192" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29.png" alt="Google Tag Manager Is Incognito Browser Tag" width="1140" height="918" srcset="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29.png 1140w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29-700x564.png 700w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29-768x618.png 768w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-14-29-1024x825.png 1024w" sizes="auto, (max-width: 1140px) 100vw, 1140px" /></a><figcaption id="caption-attachment-3192" class="wp-caption-text">Google Tag Manager Is Incognito Browser Tag</figcaption></figure>
<h4>Bonus: sending data to a custom dimension</h4>
<p>The previous setup sends incognito usage info to Google Analytics as a custom event. In some cases, having it as a custom dimension could be more useful. Here&#8217;s how you set that up.</p>
<ol>
<li>Go to Admin panel of your Google Analytics account</li>
<li>In property settings, choose Custom Dimensions under Custom Definitions</li>
<li>Add a new Custom Dimension</li>
</ol>
<p><strong>Name:</strong> Is Incognito<br />
<strong>Scope:</strong> Session</p>
<p>Now, remember the index your newly created dimension has. In our case, it is 12.</p>
<p>Modify your Google Tag Manager tag &#8220;UA &#8211; Is Incognito Browser&#8221; to include a Custom Dimension and set its value equal to {{DLV &#8211; Is Incognito}}.</p>
<figure id="attachment_3193" aria-describedby="caption-attachment-3193" style="width: 612px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-18-59.png"><img loading="lazy" decoding="async" class="size-full wp-image-3193" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-tagmanager.google.com-2019.04.04-15-18-59.png" alt="Google Tag Manager Is Incognito in a Custom Dimension" width="612" height="119" /></a><figcaption id="caption-attachment-3193" class="wp-caption-text">Google Tag Manager Is Incognito in a Custom Dimension</figcaption></figure>
<h3>Using this in reports</h3>
<p>Congratulations! If you did everything correctly, you will soon see data about incognito users flowing into Google Analytics.</p>
<p>There are several ways how you can include this data in your reports but perhaps you will find using it in custom segments the most useful. This allows you to see how regular vs incognito users perform based on any metric you track in Google Analytics.</p>
<p>Also, you could build all kinds of custom reports. Here&#8217;s a very basic one that&#8217;s good for testing if your setup works as expected.</p>
<figure id="attachment_3201" aria-describedby="caption-attachment-3201" style="width: 884px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-08-41.png"><img loading="lazy" decoding="async" class="size-full wp-image-3201" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-08-41.png" alt="Incognito vs Regular Users Custom Report Setup" width="884" height="753" srcset="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-08-41.png 884w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-08-41-700x596.png 700w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-08-41-768x654.png 768w" sizes="auto, (max-width: 884px) 100vw, 884px" /></a><figcaption id="caption-attachment-3201" class="wp-caption-text">Incognito vs Regular Users Custom Report Setup</figcaption></figure>
<p>And here&#8217;s how it will look like.</p>
<figure id="attachment_3200" aria-describedby="caption-attachment-3200" style="width: 909px" class="wp-caption aligncenter"><a href="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-09-15.png"><img loading="lazy" decoding="async" class="size-full wp-image-3200" src="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-09-15.png" alt="Incognito vs Regular Users Custom Report Results" width="909" height="806" srcset="https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-09-15.png 909w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-09-15-700x621.png 700w, https://reflectivedata.com/wp-content/uploads/2019/04/screenshot-analytics.google.com-2019.04.10-17-09-15-768x681.png 768w" sizes="auto, (max-width: 909px) 100vw, 909px" /></a><figcaption id="caption-attachment-3200" class="wp-caption-text">Incognito vs Regular Users Custom Report Results</figcaption></figure>
<p>As we can see from the custom report above, our demo site received 794 sessions, out of which 4.3% came from browsers turned into incognito mode.</p>
<hr />
<p>That&#8217;s it &#8211; now you have information about users that have turned their browser into incognito or private mode and how big impact they might have on your metrics and A/B testing program.</p>
<p>If you have any questions or ideas for improvement, please let us know in the comments below.</p>
</div>
<p>The post <a href="https://reflectivedata.com/how-to-detect-track-incognito-users-with-google-analytics-and-google-tag-manager/">How to Detect and Track Incognito Users with Google Analytics and Google Tag Manager</a> appeared first on <a href="https://reflectivedata.com">Reflective Data</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://reflectivedata.com/how-to-detect-track-incognito-users-with-google-analytics-and-google-tag-manager/feed/</wfw:commentRss>
			<slash:comments>9</slash:comments>
		
		
			</item>
	</channel>
</rss>
