• Integration via Google Tag Manager

    IMPORTANT NOTICE:
    The procedure for Google Tag Manager integration has changed slightly. The previous integrations continue to work as usual.

    However, the new procedure is necessary to use the upcoming GA4 evaluation directly in Varify.io. If you have any questions, please contact our Support.

    Table of contents

    In short

    Follow this integration guide if you use the Google Tag Manager on your site and the data after Google Analytics 4 .

    Select the "Google Tag Manager" setting under A/B Testing Options in the Analytics Connection area.

    Step-by-Step Tutorial
    Analytics integration via Google Tag Manager

    Settings in Google Tag Manager

    Step 1: Creating a data layer variable

    This variable is used to provide a tag with the information of the A/B test.

    1. Create a new variable: "Variables" > "New"
    2. Variable type -> "Data Layer Variable"
    3. Data Layer Variable Name -> varify_abTestShort (spelling obligatory)
    4. Name the variable -> VA Short

    Step 2: Creating a trigger

    The trigger is the decisive event that triggers the transmission of data to the Analytics system.

    1. Name of the trigger: e.g. "Varify.io - event"
    2. Trigger type: "User-defined event"
    3. Event name: varify (spelling obligatory)

    Step 3: Creating a GTM tag

    Important: If Google Analytics 4 is implemented via the Google Tag Manager with a consent condition, the Varify tag may also only be triggered with a consent code!

    The following screenshot shows an example. Please note that each setup is different and must be customized individually.

    Tags are code snippets that send the values stored in the variables to your analytics tool, such as Google Analytics. Now create a sochles tag to send the values of the created variable to Google Analytics.

    1. Name of the tag: "Varify.io - GA4 Tracking Linker"
    2. Configuration tag: [use your existing GA4 tag].
    3. Event name: e.g. "Abtesting"
    4. Parameter name: varify_abTestShort (Mandatory spelling)
    5. Values: {{VA Short}} (The variable created in step 1)
    6. Trigger: "Varify.io - event" (The trigger created in step 2)

    Step 4: Publish GTM container

    To ensure that your adjustments in Google Tag Manager also work on your website, it is important to publish the changes.

    To do this, go to "Overview" in the Tag Manager on the left. Here you can see an overview of all the elements you have just created.

    To publish, click on the blue "Publish" button at the top right and confirm. The tag is now live and sends the data to your Google Analytics.

    Setting up a user-defined definition in GA4

    Finally, it is necessary to create a custom dimension in Google Analytics. Proceed as follows:

    1. Open your GA4 settings and select the menu item "Custom definitions"
    1. Create a new user-defined dimension ("Create custom dimension")
    2. Select a dimension name: Varify AB Test(spelling obligatory)
    3. Select the event parameter: varify_abTestShort . Make sure that you specify the event parameter in the correct notation.

    Important Notice: You will only be able to select the event parameter "varify_abTestShort" under the user-defined definition as soon as GA4 has received the first test data from you. After that, it may take up to 24 hours before you find the value in the dropdown.

    Display the A/B test data in Varify.io

    With the Varify.io Google Analytics 4 Connection, you can easily display your results directly in your Varify.io dashboard. You can find out how to do this here: To the result evaluation in Varify.io

    Viewing the A/B test data in GA4

    You can analyze the data of the variations of your A/B test in GA4 with the Explorative Data Analysis. You can find more information here: To evaluate the results in GA4

  • First steps