econda integration
Table of contents
In short
You can easily link econda Analytics with Varify.io to analyze your A/B test results directly in econda. There are three ways to do this:
- Direct integration - Varify sends the experiment data directly via
emos3.send()to econda. No tag manager required. - Google Tag Manager - The tracking events are transmitted to econda via the GTM.
- econda Tag Manager - The tracking events are transmitted via the econda Tag Manager.
Choose the variant that suits your existing setup.
Sending Varify events with or without user consent
You have the option of loading the Varify script directly so that experiments can also be delivered without user consent (no legal advice - you have to make the decision yourself). Regardless of this, you can only send the tracking events to etracker after user consent has been granted. Alternatively, you can also integrate the Varify script only after user consent.
econda direct integration
Select direct integration if you have integrated econda Analytics directly into your source code via the emos3 script and want to send the events directly via it.
Note: If you use the direct integration, the Tag Manager integration is not required.
Setting the A/B testing setup in Varify
For direct integration with econda, set the A/B testing options in Varify as follows:
- In the dashboard, click on “A/B Testing Options”.
- Then select “Go to Tracking Setup”.
- Under “Which web analytics tool do you use?” you choose “Google Analytics 4” from.
- Under “Do you have Google Tag Manager installed on your website?” you choose “No”.
- Under “How would you like Varify to send data to your web analytics tool?” you choose “Manually”.
- Save the changes by clicking on “Update”.
Insert tracking script on your website
Add the following JavaScript snippet to every page on which econda and Varify are active. The script listens for the Varify DataLayer event and automatically sends the experiment information to econda:
This is how it works: When Varify runs an experiment, a DataLayer event varify with the variable varify_abTestShort pushed. The format is e.g. 1234:5678 (Experiment ID:Variation ID) or 1234:Original. The script intercepts this event and sends it on as an econda target event.
econda integration with Google Tag Manager
Set analytics connection
Note: If you use the Google Tag Manager integration, the tracking setup in Varify must be set to "Google Tag Manager".
Before you start using Google Tag Manager, you should first make the appropriate settings in your dashboard:
- In the dashboard, go to „A/B Testing Options” and select „Go to Tracking Setup”.
- Under “Which web analytics tool do you use?” you choose “Google Analytics 4” from.
- Under “Do you have Google Tag Manager installed on your website?” you choose “Yes”.
- Under “How would you like Varify to send data to your web analytics tool?” you choose “Manually”.
- Confirm the selection by clicking on „Update”.
Adjustments in Google Tag Manager
To integrate Varify.io with econda via the Google Tag Manager, you need to create a tag in the Tag Manager that sends tracking events to econda. This allows you to analyze the results of your experiments in econda.
1. Create a data layer variable
This variable is used to provide the tag with information from the A/B test.
- Name of the variable: z. B.
VA Short(or choose your own name) - Name of the data layer variable:
varify_abTestShort(spelling obligatory)
2. Create a trigger
The trigger is the decisive event that triggers the transmission of data to the Analytics system.
- Name of the trigger: z. B.
Varify.io - Event(or choose your own name) - Trigger type: „User-defined event” (mandatory)
- Event name:
varify(spelling obligatory)
3. create a custom HTML tag
Tags are code snippets that send the values stored in the variables to your analytics tool.
- Name of the tag: z. B.
Varify.io - econda Tracking Linker(or choose your own name) - Configuration tag: Custom HTML
- Trigger: The previously created
Varify.io - Eventinsert
Paste the following code into the custom HTML tag:
Important: The name of the variable in {{VA Short}} must correspond to the name with which you previously named the DataLayer variable. Tip: If you use {{ all created variables are suggested to you.
Alternative version for slow loading of econda:
If econda loads late on your site, use this version, which waits for emos3 to load:
4. publish the adjustments to your GTM container
To ensure that your adjustments in Google Tag Manager also work on your website, it is important to publish the changes.
In the Tag Manager on the left, go to “Overview”. Here you can see an overview of all the elements you have just created.
To publish, click on the blue button at the top right “Publish” button and confirm it. From now on the tag is live and sends the data to econda.
econda integration with econda Tag Manager
If you use the econda's own Tag Manager you can use it to carry out the integration.
Set analytics connection
Set the tracking setup in Varify as follows:
- In the dashboard, go to „A/B Testing Options” and select „Go to Tracking Setup”.
- Under “Which web analytics tool do you use?” you choose “Google Analytics 4” (Yes, this setting is correct).
- Under “Do you have Google Tag Manager installed on your website?” you choose “Yes”. Also select „Yes” if you have only integrated the econda Tag Manager on your website.
- Under “How would you like Varify to send data to your web analytics tool?” you choose “Manually”.
- Confirm with „Update”.
Setup in the econda Tag Manager
1. create a custom HTML tag
Create a new tag in the econda Tag Manager Custom JavaScript Tag and insert the following code:
2. create an activation tag
Create another custom HTML tag that ensures that Varify is allowed to send tracking events. Save the tag with a trigger that fires as soon as your econda tracking is active.
Notice: If the tag is not triggered, no events are sent to econda.
3. publish the adjustments
Publish the new version in the econda Tag Manager so that the tags go live.
Check your tracking integration
To ensure that everything is properly connected, we recommend that you use a A/A Test to start. This allows you to ensure that everything is working correctly before you start testing.
If everything is set up correctly, you should see the econda Analytics dashboard under Events see a target event with the following values:
- Group:
varify - Action:
abTest - Detail: z. B.
1234:5678or1234:Original
You can find out exactly how an A/A test works here: Start an A/A test and check the tracking
Evaluate your experiments in econda
Once you have set up the integration, you can segment according to your experiment variants in econda Analytics:
- In econda Analytics go to „Reports” or „Analysis”.
- Create a Segment based on the target event with the group
varify. - Filter by the detail value to compare individual variants (e.g.
1234:5678for one variant vs.1234:Originalfor the control).
This allows you to evaluate conversion rates, sales and other KPIs per variant directly in econda.