Expand my Community achievements bar.

SOLVED

how to track external links in web page

Avatar

Level 3

Hi,

When user click on event based on href value need to find the Internal link or external link.

In AppMeasurements i configured below settings in DTM .

s.trackExternalLinks=true;
s.linkInternalFilters='javascript:,dominname.com';

Still i am not able to track the external links . Kindly provide  me the steps for tracking Internal / External Links for click events.

Thanks & Regards,

Satish Kumar G

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Please find attach the documentations of tracking Exit links .

https://marketing.adobe.com/resources/help/en_US/sc/implement/linkInternalFilters.html

However Since you are using DTM we would recommend to use DTM UI linktracking settings for tracking Exit/External Links  , The settings are found under Link Tracking tab in Adobe Analytics tool settings. 

https://marketing.adobe.com/resources/help/en_US/dtm/link_tracking.html

NOTE: Linktracking option from UI takes precedence meaning even if this S.linkInternalfilters  is defined in the code, it will be overwritten by the DTM UI linktracking setting. Its better to set only one thing.

Thanks & Regards

Parit Mittal

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi,

Please find attach the documentations of tracking Exit links .

https://marketing.adobe.com/resources/help/en_US/sc/implement/linkInternalFilters.html

However Since you are using DTM we would recommend to use DTM UI linktracking settings for tracking Exit/External Links  , The settings are found under Link Tracking tab in Adobe Analytics tool settings. 

https://marketing.adobe.com/resources/help/en_US/dtm/link_tracking.html

NOTE: Linktracking option from UI takes precedence meaning even if this S.linkInternalfilters  is defined in the code, it will be overwritten by the DTM UI linktracking setting. Its better to set only one thing.

Thanks & Regards

Parit Mittal