Track User Interactions to Send to Data Cloud
Your Data Cloud integration comes with a set of interaction events that are turned on and mapped to the Website Engagement DMO by default. Interactions are either all mapped, or not mapped at all, but you can update event names to customize your integration. An interaction event has a named identifier, required values, and tracked values that you define.
| User Permissions Needed | |
|---|---|
| To create an Experience Cloud site: | Create and Set Up Experiences AND View Setup and Configuration |
| To customize an Experience Cloud site: |
|
| To publish an Experience Cloud site: |
|
The events that you capture can’t be changed, but you can update the named identifier to personalize your integration. For example, if you want to capture when your user clicks on a menu, you can change the interaction name to menu-click, instead of the more general button-click event.
If you want to change an existing name, create an event based on our Tag Manager Event Reference.
-
From Setup, in the Quick Find box, enter
Digital Experiences, click Digital Experiences, and then click Settings. -
Select Advanced.
-
Click Edit Head Markup and add the script for the event you want to edit.
-
Save your changes and publish your site.
All anchor and button element clicks are captured as events, unless they’re located inside a Shadow DOM element. For example, if an element is on certain custom lightning components, clicks aren’t tracked. Events within Shadow DOM elements require custom tracking by the custom element. Anchor and button element clicks aren’t supported in Marketing Cloud Next. For more information, see Activity Tracking for Marketing Cloud Growth Landing Pages.
See Also