Customer Id


Similar to Sync Tokens, the Cubed platform allows for clients to pass up their own Customer Id for advanced data tracking.
This can then be used to join external Client data sources with Cubed collected data.


vscr.push(["addCustomerId", "abc123"])

The Customer Id is not hashed like a sync token, which means it is readable in your Cubed database. We have taken this approach to allow easier joining of from within Cubed to external systems.

As such we do not recommend storing email addresses, or similarly identifiable Ids, in this field.


window.vscr = window.vscr || [];
vscr.push(["addCustomerId", customDataLayer.loggedInCustomerId]);