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
BedrockMission!

Learn More

View all

Sign in to view all badges

DTM Event rule for external links

Avatar

Avatar
Ignite 1
Level 2
sambhavj5011451
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 1
View profile

Avatar
Ignite 1
Level 2
sambhavj5011451
Level 2

Likes

5 likes

Total Posts

14 posts

Correct Reply

2 solutions
Top badges earned
Ignite 1
Validate 1
Boost 5
Boost 3
Boost 1
View profile
sambhavj5011451
Level 2

19-11-2017

Hi,

I am trying to load a DTM event based rule for external links.

For ex: anyone click on any anchor tag, it will execute a custom js

The problem if before the custom js for rule is loaded, it gets cancelled by browser.

The reason might be as external links loads a new page and all exiting actions on existing page are cancelled by browser.

Is there any way to prevent this.

Replies

Avatar

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile

Avatar
Validate 250
Employee
Amelia_Waliany
Employee

Likes

190 likes

Total Posts

449 posts

Correct Reply

73 solutions
Top badges earned
Validate 250
Validate 100
Validate 50
Validate 25
Validate 10
View profile
Amelia_Waliany
Employee

08-01-2018

Hi there! Thanks for your question - please answer the following questions so that we can better understand the issue:

(1) Are you using mbox.js or at.js? (are you using the mbox metrics and not the A4T integration?)

(2) Are you adding click-tracking for Target and not Analytics?

(3) Are you using the VEC for your activity such that you could use the VEC click-tracking?

*Also, since you are using DTM, make sure to check the box for "delay link activation": image (1).png