Data Collection

Before the Salesforce Interactions SDK can begin capturing data, initialize the Salesforce Interactions SDK and gain the user’s consent to track the data.

Use this function for Initialization and Consent.

If your site has existing consent management features, integrate those features with the Salesforce Interactions SDK to signal when the user gives consent to track.

To capture a customer interaction, call the sendEvent function.

Capturing profile data occurs in the same sendEvent function.

When capturing profile data, you aren’t limited to that minimal interaction format. You can combine any of the interaction data models with profile information to collect as much context for an event as possible.