Connect your A/B tests.
For whoever runs your tests: how the tracker learns which version each visitor saw, so the platform can show results per version. There are three ways to do it; most sites only need the first.
Other help: Client support · Install the tracker · Privacy and GDPR · Technical questions · Cart and order events · Platform help
How it works
- When a visitor is shown a version of a test, the tracker records an event called
experimentwith two values: the test key and the version key. - It then counts whether that visitor goes on to reach the test’s goal: a purchase, an add to cart, a checkout or an email sign-up.
- A visitor counts for the first version they saw. If they see another version later, it doesn’t move them.
- The platform matches the keys to the tests set up there and shows visitors, goals reached and confidence for each version.
The test in the platform
In the platform (app.denuomarketing.com), each test has:
- A test key: the name the tracker sends for this test, for example
vwo-14orpdp-trust. - A list of versions: each with its version key (what the tool or the line sends) and a name (how it shows in the platform). The first version is the control, the one every other version is compared with.
- A goal: purchase, add to cart, checkout or email sign-up.
Keys the tracker sees that are not on the test are listed on the test page under “Versions the tracker saw that are not on this test”, so a typo shows up instead of going missing.
Which way for which tool
Find your tool, then follow the section for its way.
| Tool | Way |
|---|---|
| VWO, AB Tasty, Convert, Kameleoon, Optimizely Web | 1 · Automatic: nothing to add |
| Split-URL or redirect tests, in any tool | 2 · Link parameter |
| Shopify A/B apps | 3 · One line, or the link parameter if the app sends visitors to different addresses |
| Popup tools | 3 · One line in each version of the popup, or the link parameter on its button links |
| Email tools | 3 · One line in each version of an onsite sign-up form; the link parameter on the links in each version of an email |
| Your own code | 3 · One line |
1 · Automatic, from the testing tool
VWO, AB Tasty, Convert, Kameleoon and Optimizely Web are read from the tool’s own script on the page. When the tool’s Google Analytics 4 integration is switched on, they are also read from the experience_impression event it sends to the dataLayer. Nothing needs adding to the test or the site.
The test key is the tool’s name in lower case, a dash, and the test’s id in the tool. The version keys are the tool’s own variation ids.
| Tool | Test key | Control |
|---|---|---|
| VWO | vwo-14 | Combination 1 is the control |
| AB Tasty | abtasty-777 | Variation 0 is the original |
| Convert | convert-100 | The original’s variation id, as shown in Convert |
| Kameleoon | kameleoon-5 | Variation 0 is the original |
| Optimizely Web | optimizely-24681357900 | The original’s variation id, as shown in Optimizely |
The numbers in the table are examples. Your test’s id is shown in its address when you open the test or campaign in the tool, or on its settings page. In the platform, put the control’s key first in the list of versions.
2 · A link parameter
For split-URL and redirect tests, where each version is a different address. Add these two values to the address each version sends visitors to, the original included:
If the address already has a ? in it, start with & instead: &denuo_test=TEST_KEY&denuo_variant=B. Example: the original sends visitors to /landing?denuo_test=lp-hero&denuo_variant=A and the variant to /landing-b?denuo_test=lp-hero&denuo_variant=B.
The tracker keeps the version for the whole visit, so later pages and the goal are counted for it.
3 · One line in each version
For any other tool: popup tools, email tools, Shopify apps or your own code. Add this line to each version of the test, with that version’s key (A for the original, B for the variant, and so on):
If the line may run before the tracker has loaded, for example in a script high up in the page, put this first line before it. It holds the call until the tracker is ready:
Example: a test of trust badges on product pages, with test key pdp-trust. The original runs { test: 'pdp-trust', variant: 'A' } and the variant runs { test: 'pdp-trust', variant: 'B' }.
Keys
- Characters: lower case letters, numbers, dots, colons, underscores and dashes. No spaces.
- Exact match: the key sent by the tool, the link or the line must be the same as the key in the platform, character for character.
- Automatic tools: the keys are set by the tool, so copy them as they are:
vwo-14, and the variation ids as the tool shows them. - Link parameter and one line: you choose the keys. A short name for the test (
pdp-trust) and a letter per version (A,B) are enough.
Checking it works
- Open the page once with each version showing: with the link parameter, open each address; with a testing tool, use a private window until each version has shown.
- The platform refreshes once a day. After the next daily update, the test in the platform shows visitors under each version.
- If a version stays at zero and a key appears under “Versions the tracker saw that are not on this test”, the keys don’t match. Correct the key in the platform or in the tool.
If your device is left out as internal traffic (opened with ?denuo_internal=1), your own visits don’t count. Check from another browser or device, or undo it with ?denuo_internal=0. For checks in the browser’s Network tab, see Testing on the technical page.
Sizing and reading results
Before a test starts, the sample size calculator shows how many visitors each version needs and how long that takes at your traffic.
In the platform, each version shows its visitors, how many reached the goal, the rate, the change against the control, and a confidence figure. Confidence comes from a two-sided test of each version against the control; 95% or more counts as a result. To check figures from another source, use the significance calculator.
Privacy
Test versions add no cookies. The version is stored with the visit, like the tracker’s other events, and follows the same consent rules: in strict mode nothing is sent before consent, test versions included. Only the tool, the test and version keys, and the names the tool gives them are sent, so keep personal data out of test and version names. The rest is on the Privacy and GDPR page.
Questions
Our testing tool isn’t on the list.
A visitor saw both versions.
Does Miguel need to know about each test?
The platform shows fewer visitors than our testing tool.
Something else.
?site=). Miguel replies within 2 business days.