Google Optimize Gotchas

I've been experimenting with Google Optimize and have tripped up a couple of times. First I made the assumption that Google Tag Manager would be the best way to implement the experiments. Second I didn't appreciate the linkages needed through to Google Analytics required to make Optimize work.

Don't Implement Using Google Tag Manager

I'm completely sold on the benefits of using Google Tag Manager, 'GTM', for managing tag deployment on pages. Consequently when it came to putting Optimize tags on to my experimental site GTM was the obvious option. More, with a quick search I found that there was a pre-baked Optimize tag already for me on GTM. I quickly found the problem with this setup: nasty screen flicker as the page loaded with the original version and Optimize then chose to deploy the experimental variant. Google is aware of this problem and recommends that you manually deploy the Optimize Javascript directly on to your pages. Once I stopped the GTM tag and directly changed the page the flicker went away. See https://support.google.com/360suite/optimize/answer/7359264.

Set Up Your Goals in Google Analytics First

Not being a heavy Google Analytics, 'GA', user I didn't realise the extent that Optimize depended on GA. Optimize really only implements the page variant delivery part of the testing. All the heavy lifting for the analysis of the results is run in GA. Before you try to set up your experiment in Optimize you should set up your goals in GA. See here for how to set up goals. Once you have your goals in GA then you will be able to link your experiment to the achievement of the goals.

Try Out My Experiment

As discussed previously, feel free to try out the experiment. The red pill is the baseline and the blue pill is the variant.