Newer Version Available

This content describes an older version of this product. View Latest

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:
  • Be a member of the site AND Create and Set Up Experiences

    OR

  • Be a member of the site AND View Setup and Configuration AND an experience admin, publisher, or builder in that site
To publish an Experience Cloud site:
  • Be a member of the site AND Create and Set Up Experiences

    OR

  • Be a member of the site AND an experience admin or publisher in that 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.

  1. From Setup, in the Quick Find box, enter Digital Experiences, click Digital Experiences, and then click Settings.
  2. Select Advanced.
  3. Click Edit Head Markup and add the script for the event you want to edit.
  4. 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 . For more information, see Activity Tracking for Marketing Cloud Growth Landing Pages.

Note