Activity Map Region
The ‘Activity Map Region’ dimension displays the regions on your site that were clicked the most. This dimension is useful when you want to compare clicks across overarching regions of your site instead of individual links. It is also helpful for areas of your site that serve dynamic content. For example, if you have a front page with rotating news articles, using the Activity Map Link dimension would be difficult because link text constantly changes. However, since those links use the same region, you can analyze the performance of that area even though individual links might change each day.
Populate this dimension with data
This dimension retrieves data from the Context data variable c.a.activitymap.region
. If your implementation uses Activity Map, this context data variable automatically collects data when links are clicked.
For a given link that was clicked, check the parent DOM element for the following (in order):
- A value in the attribute set by
ActivityMap.regionIDAttribute
- set to theid
attribute by default - A value in the
aria-label
attribute when the attributerole="region"
- The semantic elements
<header>
,<main>
,<footer>
, or<nav>
(Web SDK only)
If the parent DOM element does not meet any of the above criteria, the search continues recursively up the DOM hierarchy. If no matching elements are found, the value BODY
is returned.
Dimension items
Dimension items include regions that you have labeled on your site. Specific region values depend on what attributes are used, and if semantic HTML elements are present.