MV Testing

 

Foreword

Before starting implementation of the MV Testing plugin, please make sure you have initialised the AT Internet JavaScript Tracker and selected the plugin from within the Tag Composer interface.

 

Principle

The MV Testing JavaScript plugin enables the measurement of different design and content combinations for a single web page.

 

Tagging

The Tracker has an “mvTesting.set()” method allowing you to define the test name, wave ID and creative name:

  • test: ID and name of the test, in the format ID[name_test].
  • waveId: ID of the wave (group of creatives).
  • creation: ID and name of creatives (combination of versions for each variable) in the format ID[name_creation].

The Tracker has an “mvTesting.add()” method allowing you to define the variable and version name:

  • variable: ID and name of the variable in question, in the format ID[name_variable].
  • version: ID and name of the version in question, in the format ID[name_version].

For test and creation:

  • if you only enter the ID, a name will be automatically generated,
  • if you only enter the name, an ID will be automatically generated,
  • if you enter an ID and a name, both will be saved.
 

Complete tagging example

var tag = new ATInternet.Tracker.Tag();
tag.page.set({
    name: 'pageName',
    chapter1: 'chap1',
    chapter2: 'chap2',
    chapter3: 'chap3',
    level2: '123'
});
tag.mvTesting.set({
    test: '1[My_first_Test]',
    waveId: 1,
    creation: '2[Version2_page_subscription]'
});
tag.mvTesting.add({
    variable: '1[Header]',
    version: '2[Grey]'
});
tag.mvTesting.add({
    variable: '2[Sidebar]',
    version: '4[Black]'
});
tag.dispatch();
Was this post helpful?
Yes
No
Last update: 30/01/2018