Introducing Quests: Tailored gamification & bridging in-person events with your community Mike Gitkos Friday at 12:39 PM2 days
Posted June 21, 20232 yr Hi, I received this notice from google analytics To enable data collection, you need to add your new Google Analytics tag (gtag.js) to the header of every page of your site Where to add this tag ? Edited June 21, 20232 yr by Marafa
June 21, 20232 yr Community Expert Could you please clarify what you have done already to set this up? There should be no need to add anything to the code, other than adding your google analytics code into the analytics section
June 25, 20232 yr He most likely has old GA tag (UA) and needs to replace it with GA 4 tag. Google is ending support for UA in July and requiring people to move to new GA4 tag. If you did the initial integration of the UA tag the recommended way, it would be in ACP - System - Site Features - Integrations. Choose Google Analytics and update the code. If you manually edited your theme, you would have to do that again there.
June 25, 20232 yr 57 minutes ago, Marafa said: Hi I did not do anything, as I do not know what needs to be done and how Sign in to your Google Analytics account. Register your site for GA4 Get code for GA4 Open your script in ACP for Google Analytics. Before closing script tag add gtag , or your script will look like this <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-your old ID'); gtag('config', 'G-your ga4 ID'); </script> Save this. That's all about connecting an IPS site to Google's GA4. Go through all the directions in your Google Analytics profile and select anything that makes sense to you.