Tracking Customers Across Multiple Devices

To identify and track customers across multiple devices, you will need to leverage unique (and anonymised) customer IDs.

Javascript Code Example

Below is an example of the Javascript code to push customer ID and relevant information into a dataLayer object. Once this is setup, Insightech will begin tracking your customer ID, and can also extract other customer or device information. Please read Using Your Custom DataLayer in Insightech for details on tracking dataLayer objects.

Example:

dataLayer.push({

'event':'insightech-cid',

'cid': {

'id': 'customer id string',

'emailIds':{

'm':'md5 hashed email address string',

's':'sha256 hashed email address string'

},

'authenticated': false

}

});

Attributes Required

Parameter Name
Description

event

Must be set as “insightech-cid”

cid.id

Required field. A string of the customer ID.

cid.emaildIds.m

Optional field. A string of MD5 hashed email address.

Populating this field will allow you to search customers by email address in the Insightech UI, and see the customer’s avatar if the customer has a profile with Gravatar.

cid.emailIds.s

Optional field. A string of SHA256 hashed email address.

Populating this field will allow you to find customers with their email address in the Insightech UI.

cid.authenticated

(Optional field)

Set this value as 'true' if your customers are authenticated with a password, otherwise this value should be set to 'false' (default setting)

If your website has a login area which requires your customers to login with a password, all pageviews in the login area should set this value to true.

If you are running email campaigns that are passing customer IDs via a URL query string, and you want to track these customers, you should set this value to 'false'.


How did we do?


Powered by HelpDocs

Powered by HelpDocs