This GTM custom event is triggered by the Nantu Test tag when it determines and sets the variation to serve based on the test configuration.
Information Sent to the Data Layer: #
The following key details are pushed to the dataLayer along with this event:
-
nantu_test_id
: The index number of the test. -
nantu_variation
: The ID of the selected variation (e.g.,control
,variation1
,variation2
, etc.). -
nantu_experiment
: The name of the experiment. -
nantu_variation_name
: A descriptive name of the selected variation, which can be any custom label. -
nantu_test_variations
: An array containing the IDs of all possible variations for the test.
Event Name Dynamics: #
The event name varies depending on the test ID and the selected variation. It follows the format:nantu_[test_id]_execute_[variation]
.
Examples: #
-
nantu_3_execute_control
: Fires when test ID3
serves thecontrol
variation. -
nantu_102_execute_variation3
: Fires when test ID102
servesvariation3
.
This structure ensures each event is uniquely identifiable and provides clear insight into the test and variation being executed.