This page describes how to set up Google Analytics to track engagement for fuse tag multivariate testing.
Each fuse configuration has a unique ID that can be set as a custom dimension in GA. The ID will be available to set in Google Analytics at window.fusetag.fuseUUID
The steps for a publisher are:
Setup Fuse UUID Custom Dimension in Google Analytics
Update Google Analytics to record Fuse UUID
You need to set up a custom dimension in Google Analytics with scope ‘Hit’. Steps for setting up a custom dimension in Google Analytics can be found here: https://support.google.com/analytics/answer/2709829?hl=en
You then need to record:
Index of new custom dimension
Name of new custom dimension e.g. Fuse UUID
We would like the Fuse UUID to be captured in all GA events. To ensure this happens, the new custom dimension value should be set when GA is initialized.
The Fuse UUID is only available after the fuse script has loaded, so GA setup should be done after the fuse script is loaded
The setup for GA4 is shown below
Configuration of Google Tag manager to set the fuse UUID on start up can be done below. Here the index of the custom dimension is 1
.
The fuse UUID can be set in custom dimension index 1
as:
The fuse UUID can be set in custom dimension index 1
as: