Viewing Data on Google Analytics
I created an experiment and I want to see data via Google Analytics - I made sure that integration is set to "ON" under prject setting. I also have a custom GA slot set to 1 for the experiment
My site's set-up:
Google Analytics is applied using Google Tag manager (GTM). Optimizely is added outside GTM.
I need help viewing data on Google Analytics - specifically - I am at the point of creating custom segments to view data - however I do not see the custom variable for optimizely on google Analytics.
I already looked here: https://help.optimizely.com/hc/en-us/articles/2039
According to the above article - "Start typing the word 'Optimizely' and you should see a list of valid experiments populate. Select the appropriate experiment (Note that it may take up to 24 hours after installing the snippets and enabling the integration for GA to start seeing data and this auto-populate to start). "
However, that is NOT the case at my end. The experiment has been running more than 24 hours already.
Please help. Thanks!
You probably have to view the data in a custom report instead of the default reports as the custom dimensions you've created are not visibible yet in the interface.
// Optimizely Universal Analytics Integration
window.optimizely = window.optimizely || ;
It should be after ga('create', ...) but before ga('send') in your code.
Once you have that in place, make sure you create a corresponding custom dimension (index 1) in GA.
See if that works.