Expand my Community achievements bar.

Join us for an upcoming in-person Adobe Target Skill Builders event ~~> We're hosting these live learning opportunities to equip you with the knowledge and skills to leverage Target successfully. Learn more to see if we'll be coming to a city near you!

DTM Event rule for external links


Level 2


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.

1 Reply



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