Adds an identification method to the current user. The ID can be either an email or an external ID. The identification can be later used by advanced users to connect with their own Business Intelligence systems.
Syntax
DY.API('identify', {uid: '', type: ''})
Example:
DY.API('identify', {
uid: 'sales@dynamicyield.com',
type: 'email'
});
Example:
DY.API("identify", {
uid: "11251125",
type: "external"
});
For more details, see Identify API in Events.