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? 

2 Replies

Avatar

Level 6

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.