Interaction linker - Adobe analytics

Bronze Contributor
Bronze Contributor

Hi,

 

How to I create a simple interaction linker that sends data to adobe.

I got something like this, but that doesnt work.

 

window['globalWebAnalytics'] = window['globalWebAnalytics'] || {};

window.globalWebAnalytics.customIdentifiers = {
tab: function (value) {
return value.getAttribute('role') === 'tab';
},
modal: function (value) {
return value.getAttribute('data-wa-region') === 'modal';
}
};

 

Public