External Link and Download Link

Avatar

Avatar
Level 1
Parvi81
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
Parvi81
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
Parvi81
Level 1

29-05-2020

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

125 likes

Total Posts

203 posts

Correct reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 1
MVP
raj_mandalapu
MVP

Likes

125 likes

Total Posts

203 posts

Correct reply

72 solutions
Top badges earned
Validate 1
Contributor
Shape 1
Give Back 5
Give Back 3
View profile
raj_mandalapu
MVP

02-06-2020

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.