Expand my Community achievements bar.

Exclude a specific URL from rule

Avatar

Level 1

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? 

3 Replies

Avatar

Community Advisor

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. 

Avatar

Administrator

@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