We closed tickets to update the google analytics tracking code to work w/ google optimize however it is not tracking.
I suspect this is b/c of how the code for google analytics is slightly different w/ the "if" statement b/c we have two id's.
Can you please update the google analytics code so it fits the required format? Also, plz make sure all steps below are followed...
Move your Analytics tracking code as high as possible in the
of the page.
Copy the Optimize plugin (below):
ga('require', 'GTM-MWRV7QL');
Paste the Optimize plugin into your existing Analytics tracking code as shown below:
Step 2: Minimize page flickering
This snippet ensures that users only see your variant content, minimizing page flicker. Copy the code below. Paste it just before your updated Analytics tracking code anywhere you want to use Optimize.
We closed tickets to update the google analytics tracking code to work w/ google optimize however it is not tracking.
I suspect this is b/c of how the code for google analytics is slightly different w/ the "if" statement b/c we have two id's.
Can you please update the google analytics code so it fits the required format? Also, plz make sure all steps below are followed...
Move your Analytics tracking code as high as possible in the
of the page. Copy the Optimize plugin (below): ga('require', 'GTM-MWRV7QL');Paste the Optimize plugin into your existing Analytics tracking code as shown below:
Step 2: Minimize page flickering This snippet ensures that users only see your variant content, minimizing page flicker. Copy the code below. Paste it just before your updated Analytics tracking code anywhere you want to use Optimize.