Expand my Community achievements bar.

Webinar: Adobe Customer Journey Analytics Product Innovations: A Quarterly Overview. Come learn for the Adobe Analytics Product team who will be covering AJO reporting, Graph-based Stitching, guided analysis for CJA, and more!
SOLVED

Activity Map - s.ActivityMap.regionExclusions

Avatar

Level 3

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 3

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 3

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