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
- Log in to experience.adobe.com using your Adobe ID credentials.
- Navigate to Data Collection > Tags.
- Select the desired tag property.
- Navigate to Extensions, then click Configure on the Adobe Experience Platform Web SDK card.
- Scroll down to the Data Collection section, then select the desired click collection settings.
- 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.