Create a custom data conversion using the Advanced Editor

A custom data conversion records a specific value attached to a pre-defined event or goal every time it is triggered. E.g. Transaction Value = £200.

During the test set up process, you can add ‘Custom data’ conversion goals at step 2 “Test Details”   by adding custom code to the post-rendering script.

Click “Edit”  to open the ‘Post-Rendering Script’ and edit your script into the box on the right (below).

In order to track using JavaScript the platform has the function WT.click. Note syntax, case and that a colon is required after each.

WT.click( {

 

testAlias: alias,conversionPoint: conversionName,cookieInspection: false,beacon: false,data: {key:value}

});

  • Replace alias with your Test Alias name (see ‘Project Details’ section for Test Alias name).
  • Replace conversionName with a meaningful conversion name (E.g. Data_Transaction_Value).
  • Replace key:value with name and value of custom data variable.
  • Click “Audience” to save and proceed to the next step of the test set up.
  • Contact your administrator to activate the conversion goal by creating a data table to store the custom data.