Click collection settings using the Web SDK tag extension

Select any of the following options when configuring the tag extension:

  • Collect internal links

    • Event grouping options:

      • No event grouping
      • Event grouping using session storage
      • Event grouping using local object
  • Collect external links

  • Collect download links

  • Filter click properties

  1. Log in to experience.adobe.com using your Adobe ID credentials.
  2. Navigate to Data Collection > Tags.
  3. Select the desired tag property.
  4. Navigate to Extensions, then click Configure on the Adobe Experience Platform Web SDK card.
  5. Scroll down to the Data Collection section, then select the desired click collection settings.
  6. Click Save, then publish your changes.

The Filter click properties callback opens a custom code editor that lets you insert the desired code. Within the code editor, you have access to the following variables:

  • content.clickedElement: The DOM element that was clicked.
  • content.pageName: The page name when the click happened.
  • content.linkName: The name of the clicked link.
  • content.linkRegion: The region of the clicked link.
  • content.linkType: The type of link (exit, download, or other).
  • content.linkURL: The destination URL of the clicked link.
  • return true: Immediately exit the callback with the current variable values.
  • return false: Immediately exit the callback and abort collecting data.

Any variables defined outside of content can be used, but are not included in the payload sent to Adobe.