Google Optimize allows you run tests on your website’s content to learn what works best for your visitors, including A/B, multivariate, and redirect tests.

In order to analyze the efficacy of these tests, you can use Mouseflow's suite of features to see just how each test performs.

Since Google Optimize obscures the name of different variations/experiments from the end user, Mouseflow does not yet have a plug-and-play integration. However, you can add JavaScript from within your experiments to tell Mouseflow which variant is running on the page. To do this, you will want to follow the steps below in the experiment you're looking to track.

1. Edit your experiment variant in the Visual Editor.
2. Click on the Select elements icon (the rectangle in the top left corner)
3. In the Element Selector field, type in body.
4. Click the Add change button and select Javascript. This will bring up a dialog that allows you to input a JS function that will be called for the body.
5. Put in the Mouseflow tagging code you want to run in there and make sure the After closing tag option is selected.

The JavaScript you will want to add is our standard snippet for adding custom tags (you can read more here Custom Variables / Tagging):

window._mfq = window._mfq || [];
window._mfq.push(['tag', 'mytag']);

where 'mytag' is the name of the tag you will later be filtering for in Mouseflow.

Congratulations! You will now see the experiment tag attached to each recording in Mouseflow where the user was part of that experiment. You can even use our powerful filters menu to apply the tag filter and see how your experiments affect Heatmaps, Funnels, and Forms that you have set up with Mouseflow.