Tracking User Behavior

CrossEngage's web tracking SDK uses an event-based system to track user behaviour. To send these events to CrossEngage, you may use one of the following three methods, depending on the behaviour you would like to track or even set up custom functions & triggers.

To trigger a predefined or a custom event, you can use the Trigger Command functionality which is used by providing the trigger name as string and additional arguments based on the trigger:

// Interface: 
ce([triggerCommandName], <...[commandParameters]>);

// Example:
ce('identify', {email: ''});

Please note that that no user tracking will occur until the configuration ce({trackingOptIn: true}); has been set.

Last updated