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

Coffee Break: Join us on Wednesday, April 5th at 10am PT to chat with Ben Gaines, Director of Product Management for Adobe Analytics. Ben will be online to answer your Analytics and Adobe Summit questions.
SOLVED

External Link and Download Link

Avatar

Level 1

Hi All,

 

we have a web site with external links and documents that are on an external domain.

While we want to track external links we'd like to suppress documents links.

I know that AA tracks out of the box both external links and documents, so we tried to disable only documents (using s.trackDownloadLinks = false;).

The problem is that now document links are tracked as external links: I suppose it's happening because documents are on an external domain.

We cannot use linkExternalFilters because external links I mentioned before are on the same domain where we have these documents.

Is there a way to solve this problem?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

You can write custom code by checking the domain name and document extension if the domain name is external and the extension is not .HTML then you can fire digitalLayer object from your code.

 

1 Reply

Avatar

Correct answer by
Community Advisor

You can write custom code by checking the domain name and document extension if the domain name is external and the extension is not .HTML then you can fire digitalLayer object from your code.