Using this integration, you can see details about the Omniconvert experiments with the Google Analytics interface. Every time a visitor is exposed to a variation of an experiment, an event is triggered and sent to Analytics with the experiment and variation name. In this article you will find out how to integrate Omniconvert with Google Analytics 4, following the steps described below.
Step1. Make sure that the Omniconvert tracking code is up and running.
For more information about the tracking code please refer to this article: Omniconvert Explore tracking code installation.
Step2. Add the gtag.js code for GA4 in your website.
We send the events to Google Analytics via the Google Site Tag (gtag). If the gtag is not added to the website, the events will not be sent to Google Analytics 4.
If this code is missing from your website you can add it following the steps below.
The gtag can be found in Google Analytics, in Data Streams section in Admin.
Choose your website, then from web stream details choose View tag instructions.
Step3. Make sure that the Google Analytics integration is enabled.
To activate the integration with Google Analytics, in Omniconvert Explore go to the website selector and press Integrations.
Choose “Send data to Google Analytics” and click on Save button.
After these steps are completed, when a user sees an experiment an event called Omniconvert will be sent to Google Analytics 4.
Each event will contain the following information:
Event name: Omniconvert
Exp_Name – The name of the experiment the user viewed.
Exp_Var – The name of the variation the user was allocated to.
If your website contains GA3 (or previous) code we will still send the events to it. This is not a breaking change and Omniconvert Explore will still work with previous versions.