Feb 8, 2024
Integrate A/B testing results into Google Analytics 4
Instructions to tracking experiments with Google Analytics 4
Optimal UX provides robust analytics with Machine Learning and insights extraction. However, you can still use Google Analytics 4 to compare the behavior of your experiment participants.
Below is the short video about how to set up an audience for your experiment:
Enable integration with GA4
Go to your website settings by clicking the gear icon in the top right corner:
2. Select “Integrations” in the left-side menu:
3. Turn on “Google Analytics 4”
4. Now your experiment data will be also sent to Google Analytics 4 if it is enabled on a web page.
5. (Optional) For your convenience Optimal UX can automatically create audiences whenever a new experiment is launched. Click “Authorize” and follow instructions to connect your site to Google Analytics property.
It is recommended to configure automatic audience creation.
Configuring experiment audiences
To distinguish between experiment variants in Google Analytics 4 you need to create audiences there - one per each variant. Every time you launch an experiment, the system will generate unique identifier for each variant that needs to be copied into Google Analytics.
Click “Configure GA4” on the Analytics page
Copy the ID code of your first Variant. You will need this code later.
Well done! Now proceed to your Google Analytics account.
Set up Google Analytics 4 to track your experiments
Log into your Google Analytics account. Note: You need to have Admin access to the account.
Hover over the left sidebar and click on the “Admin” section in the bottom left corner.
Scroll down to the “Data Display” section and click on “Audiences”
Click on “New audience” in the top right corner. Note: You have to create a unique audience for each variant in your experiment.
Select “Create a custom audience”
Give your audience a meaningful name, e.g. “Experiment name — Variant letter”
Click on “Add new condition” and select “General”, and then “Experience - variant ID”
Click on “Add filter”, select “exactly matches (=)” and enter the Variant ID you have copied from OptimalUX app.
Click “Save” in the upper right corner:
That’s it! Remember, you have to create a unique audience for each variant in your experiment.
View your experiments in Google Analytics 4!
Read more:
Maximizing Conversion Rates: 7 Key Strategies for Effective Call-to-Action Design
Discover 7 key strategies for effective call-to-action design to maximize your conversion rates. Learn how to enhance visibility, craft compelling copy, and implement data-driven CTA strategies.
Oct 25, 2024
📁 A/B testing
📁 A/B testing
📁 A/B testing
📁 A/B testing
A/B testing quickstart guide
A/B testing is simple, yet powerful! Start experimentation in 2 easy steps: make changes, define your goal
Aug 29, 2024
📁 A/B testing
How it works
Server-side A/B testing for seamless performance and accurate, reliable results without JavaScript delays.
Aug 29, 2023
📁 A/B testing
📁 Client-side testing
📁 Server-side testing
📁 Installation
Turning on Cloudflare proxy
Learn how to enable Cloudflare's reverse proxy for enhanced security and optimized performance on your website.
Mar 15, 2022
📁 Cloudflare
📁 Installation