Google Analytics Split Test Configuration
Google Analytics 4 (GA4) split test events are now available on all paid AB Split Test plans.
What data is sent
We send an event to GA4 whenever a test is first seen (a visit) and when a test user reaches its goal (conversion)
gtag(‘event’, ‘ab_split_test’, {
‘test_name’: Your Test name,
‘test_variation’: Your variation Name,
‘test_event’: ‘visit’ or ‘conversion’
});
Example Data
After activating AB Split test and creating a test, you will see the “ab_split_test”+” event showing up in your realtime dashboard.
‘ab_split_test’ Custom event type
In the above screenshot you see the “test_name”, test_event” and “test_variation” data. You need to follow the below steps to capture that information and enable in depth reporting on Google Analytics 4.
How to configure custom events in GA4
Go to settings
Go to settings