In order to track conversions in the Platform, you will need to install both the Platform Plugin (on your e-commerce site) and a conversion tag (on the confirmation page for the conversion event you would like to track). The steps below outline the process you will need to follow to successfully complete these two installations. Additionally, please
Step 1: Add the following script tag to the <head> of your website’s base template, just before the </head> tag. The variable in red is brand specific - please reach out to your Customer Implementation Manager to confirm your brand_id if you're not sure what it is.
<!-- Mavrck Plugin -->
window.mvk = window.mvk ||
<!-- End Mavrck Plugin -->
Step 2: Add the following code before the closing html tag on the checkout confirmation. The variable in red is unique to your brand. The variables in purple are optional and are described in further detail below.
mvk('fireConversion', 'Conversion_Code', '0.00',
Conversion Code (Required): The unique code of the conversion tag. Example: EE82SJUD10874C889F04B7844879C7FC
Value (Recommended): Can be set to a static value or dynamically based on the cart value of a purchase. Example: ‘45’, ‘23.88’ Note: If you do not plan to use this parameter please set it to ‘0.00’.
Commission Value: Used in affiliate marketing scenarios where the Influencer driving the conversion is to receive a commission. This can be set dynamically or as a static value. Example: ‘5’, ‘5.50’ Note: If you do not plan to use this parameter please set it to ‘0’.
Conversion Parameter: This can be used to add additional information about the conversion such as account numbers, discount codes or dynamic variables specific the conversion. Example: ‘Winter2018Sale’. Note: If you do not plan to use this parameter please set it to empty ‘’.
Once you have installed both the Platform Plugin and the conversion tag on your live site, please reach out to your Customer Implementation Manager to confirm successful configuration.