Skip to main content
New Participant
May 26, 2023 1:05 AM UTC
Question

Exclude a specific URL from rule

I have a tag that is triggered when dom is ready. I have an issue where I have an iframe, and so this tag is firing in the iframe and the surrounding page. I only want it to fire on the surrounding page and not in the iframe. How can I exclude the iframe URL in a rule? 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

kautuk_sahni
Employee
Sep 16, 2024 8:36 AM UTC

@antfig Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Translate
Kautuk Sahni
Ankit_Chaudhary
New Participant
Jul 17, 2024 7:29 AM UTC

hi @antfig

I know i am replying pretty late hope this issues is resolved, however for future references

 

If the page load tag is firing on the main page and the iframe as well you can exclude it by placing a condition in the rule for the iframe URL either using custom code or value comparison type, however i would recommend if you are not tracking anything specific in the iframe then ask your developer to remove the adobe script from there. 

Translate
NimashaJain
Employee
Jun 13, 2024 6:38 AM UTC

@man31 @ravi7 Can you help on this?

Translate