Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

How to add regex to linkInternalFilters (Link Tracking - Never Track in Adobe Analytics)

Avatar

Level 2

Hello,

 

I use Link Tracking - Never Track in Adobe Analytics to exclude some links from being tracked in "Referrer".

 

I need to add a rule to make the exclusion of these links more "dynamic", for example :

 

Instead of adding: 

 

- domainone.testapp.com

- domainetwo.testapp.com

- ...

 

I want to exclude the following: 

 

[Aa-Zz].testapp.com

 

Is there a way to do this? Using data elements for example?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Yes, you can use a data element to return the desired values, but that must still be a comma-separated list. This is because ultimately, Adobe Analytics only accepts a comma-separated value for that field. See https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/linkinternalfilter...

So while you can't use a regular expression, you can, for example, have a data element that accepts an array of domain names, then returns the comma-joined string, e.g. domainNameArray.join(",")

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Yes, you can use a data element to return the desired values, but that must still be a comma-separated list. This is because ultimately, Adobe Analytics only accepts a comma-separated value for that field. See https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/linkinternalfilter...

So while you can't use a regular expression, you can, for example, have a data element that accepts an array of domain names, then returns the comma-joined string, e.g. domainNameArray.join(",")