Google Analytics Split Test Configuration

Google Analytics 4 (GA4) split test events are now available on all 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

To add the parameters tor reports

Click on Custom definitions

Click on Custom definitions

Click on Create custom dimension

Click on Create custom dimension

create first parameter test_name

crete first parameter test_name

Whatever name you like for test_name

Whatever name you like for test_name

Select Event parameter

test_name as the event parameter

test_name as the event parameter

Click on Save

Click on Save

Click on Create custom dimension

Click on Create custom dimension

Click on Dimension name

Click on Dimension name

enter test_variation

enter test_variation

 Click on Event parameter

Click on Event parameter

enter test_variation

enter test_variation

Click on Save

Click on Save

Click on Create custom dimension

Click on Create custom dimension

Click on Dimension name

Click on Dimension name

enter test_event

enter test_event

Click on Event parameter

Click on Event parameter

Enter test_event

enter test_event

Click on Save

Click on Save

Go home and create reports as you li

Go home and create reports as you li

Click on test_name

Click on test_name

 

Leave a Comment

You must be logged in to post a comment.

SEARCH DOCUMENTATION

"thank you as always for the great app and your support"
"wow, it's deceptively powerful"
"I love how the AI comes up with compelling alternatives"
This is a test, did you notice?