How to deploy sync pixels for postcodesFollow

The following snippet should be injected into the page following a successful login or registration of a user. It will associate VisualDNA cookie of the user with user's postcode.
 
This code needs to be injected after the AAT code in the page and will not work without its presence.
  • Replace {API_KEY} with your API key
  • Replace  {POSTCODE} with user's postcode in lowercase, without spaces
<script type="text/javascript">
VDNA.queue.push({
    apiKey : "{API_KEY}",
    method : "reportConversion",
    args :[
        "sync",
        {
            "partner_user_id": "{POSTCODE}",
            "partner_user_id_type": "postcode"
        }
    ]
});
</script>
 
 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk