Overview
The Global Experience Experiment (GA4) extension enables site-wide A/B or holdout testing in Digioh using Google Analytics 4 tracking.
This extension is designed for testing the impact of showing Digioh experiences (for example, email capture popups or quizzes) versus not showing them at all. By splitting site visitors into two groups—one exposed to Digioh boxes and one that is not—you can measure downstream effects on engagement, conversion rate, and revenue directly within GA4.
This is ideal for organizations that want to quantify the incremental lift of Digioh in their customer journey using real behavioral data.
How It Works
When installed, the extension automatically:
-
Randomly assigns each visitor to either a Test Group (1) or a Control Group (0) based on a configurable percentage split.
-
Persists this assignment in the visitor’s browser so they remain in the same group across sessions.
-
Sends the group value to GA4 as a user-level property, allowing you to break out performance by group in reporting.
-
Makes the group value available inside Digioh as a variable you can use to control which campaigns are shown.
The extension itself does not show or hide campaigns; it simply provides the data and logic for you to apply through Digioh Conditions.
1. Install the Extension
Install Global Experience Experiment (GA4) from the Digioh Extensions Library.
Ensure that you already have set up yout GA4 connection.
2. Set the Test/Control Split
By default, 50% of visitors are assigned to the test group and 50% to the control group.
To customize this, add an Account Metadata key in Digioh:
| Key | Example Value | Description |
|---|---|---|
global_experience_test_group |
25 |
Sets 25% of visitors to the test group and 75% to the control group. Accepts values between 1 and 99. |
3. Add a condition for the campaign you’re testing
Create a new condition in Conditions → Add Condition:


This condition will be used to control which campaigns appear to each group.
Example Use Case
Business Goal: Measure the effect of Digioh’s email popup on conversion rate and revenue.
| Step | Action |
|---|---|
| 1 | Set global_experience_test_group : 50 to split visitors evenly. |
| 2 | Install the extension and ensure GA4 tracking is active. |
| 3 | Add the GA4 custom dimension digioh_experience_group |
| 4 | Apply the condition (equals 1) to the email popup campaign. |
| 5 | Leave the control group with no popup, or an alternate experience. |
| 6 | Analyze GA4 metrics by group using the digioh_experience_group property. |
GA4 Reporting
To analyze results in Google Analytics 4:
-
Create a Custom Dimension
-
Go to Admin → Custom Definitions → Create Custom Dimension.
-
Scope: User
-
Dimension name: Digioh Experience Group
-
User property: digioh_experience_group
-
-
Compare Test vs. Control
-
Create two segments:
-
Test Group:
digioh_experience_group = 1 -
Control Group:
digioh_experience_group = 0
-
-
Use these segments to compare key metrics such as:
-
Session conversion rate
-
Revenue per user
-
Bounce rate
-
Form completion or email capture events
-
-
Notes and Limitations
-
Each visitor is permanently assigned to a single group until you clear their local data or change the experiment key.
-
The extension requires GA4 tracking to be active on the site.
-
For a new experiment, update the metadata key or clear local storage to reassign users.