Exclude a specific URL from rule | Adobe Higher Education
Skip to main content
May 26, 2023
Pregunta

Exclude a specific URL from rule

  • May 26, 2023
  • 3 respuestas
  • 1200 visualizaciones

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? 

Este tema ha sido cerrado para respuestas.

3 respuestas

NimashaJain
Adobe Employee
Adobe Employee
June 13, 2024

@man31 @ravi7 Can you help on this?

Ankit_Chaudhary
Community Advisor
Community Advisor
July 17, 2024

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. 

kautuk_sahni
Community Manager
Community Manager
September 16, 2024

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

Kautuk Sahni