Link Tracking in DTM

Avatar

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
shreyasr2921505
Level 1

09-02-2017

hi ,

I am bit new to DTM , I am working on tracking external links .

I have 2 websites with below domain  , same DTM code runs for both .

https:/abc-xyz.test.com
https:/def-xyz.test.com

Suppose i have a external link www.google.com

If i add in Never track section  , below URL 
will it cover both the domains  and will this  solution will be enough,
any other link apart from below mentioned  will be treated as external link,
or need to write custom code in some manner .

https:/*-xyz.test.com

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

09-02-2017

You likely could as almost anything is possible with custom code. If you wanted to go that route, you'd need to suppress page load beacons by having your function return false in the Analytics tool. You'd also need to write a custom condition for event-based rules. I'd recommend writing a script inside a data element and reusing that data element as a condition in each of your event based rules. Keep in mind, this is going to create a bit of overhead as each rule that may fire on those domains will need to have the data element as a condition.

Answers (2)

Answers (2)

Avatar

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
shreyasr2921505
Level 1

Like

1 like

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
shreyasr2921505
Level 1

09-02-2017

hi ,

Thanks , 

can i custom code for above requirement or  not 

Avatar

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile

Avatar
Validate 1000
Community Manager
jantzen_belliston-Adobe
Community Manager

Likes

339 likes

Total Posts

2,331 posts

Correct reply

819 solutions
Top badges earned
Validate 1000
Springboard
Validate 500
Validate 250
Validate 100
View profile
jantzen_belliston-Adobe
Community Manager

09-02-2017

Hi,

I was able to test this on a locally hosted site today and it doesn't look like the "Never Track" field supports regex. You'd need to add each domain you wish to ignore separately.

If you have the same web property deployed over both of those domains,  you may want to edit your property and utilize the "This site spans multiple domains" setting. You can learn more in our documentation here.

 

Cheers,
Jantzen