Setting the '_ascend_uid' cookie for retrieval

You can set the '_ascend_uid' cookie for retrieval before the Ascend snippet is loaded in the following manner: 

// Name of cookie 
var key = "_ascend_uid";

var value = `${uid}:${timestamp}`;
// Example: 2018051002_1537992560:1989408272952

document.cookie = key + "=" + value;
// Example: _ascend_uid=2018051002_1537992560:1989408272952
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk