Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Analytics Coffee Break: On Monday, January 30 at 10am PT, the NOAM User Group led by Jennifer Dungan and Jeff Bloomer will be joining us to answer your Analytics related questions. To register and for more information, follow the link to the right.
SOLVED

Activity Map - s.ActivityMap.regionExclusions

Avatar

Level 2

I created a rule in Launch to fire only in this page that PII information is getting captured by Activity Map, and I'm using s.ActivityMap.regionExclusions to exclude the div that contains the class 'billing-address-details', the link that I want to not be captured is in this class.

s.ActivityMap.regionExclusions = 'billing-address-details';

This value is still captured and showed in Activity Map Link report. In debugger it shows its value.

Ricardo33_0-1671725227918.png

Any help to solve this would be appreciated.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Doing a console.log I noticed that I used the wrong class, it should be 'data-address' instead.

s.ActivityMap.region = function(clickedElement) {
    var regionClass;
    while (clickedElement && (clickedElement = clickedElement.parentNode)) {
        regionClass = clickedElement.className;
        if (regionClass) {
            console.log(regionClass.toLowerCase());
            return regionClass;
        }
    }
}

s.ActivityMap.regionExclusions = 'data-address';

  Now I'm not getting that link in Activity Map Link

View solution in original post

2 Replies

Avatar

Community Advisor

Probably a silly question, but since I can't see it... is your activity map region for that link being recorded a "billing-address-details" (there are no empty spaces, or there isn't a region superseding that value)?

 

Just trying to weed out those possibilities first.

Avatar

Correct answer by
Level 2

Doing a console.log I noticed that I used the wrong class, it should be 'data-address' instead.

s.ActivityMap.region = function(clickedElement) {
    var regionClass;
    while (clickedElement && (clickedElement = clickedElement.parentNode)) {
        regionClass = clickedElement.className;
        if (regionClass) {
            console.log(regionClass.toLowerCase());
            return regionClass;
        }
    }
}

s.ActivityMap.regionExclusions = 'data-address';

  Now I'm not getting that link in Activity Map Link