How is landing page in iframe detected?

Dec 27, 2016
T.P.J.E wrote
There is a feature to stop tracking clicks when landing page is in iframe. What method is used to detect the iframe?
1 Answer
Dec 28, 2016
Martin Svitek agent wrote
We're checking it using javascript. The actual code is:<br /> <br /> params.addParam('isInIframe', (!this.skipIframeCheck &amp;&amp; window.location != window.parent.location) ? true : false);<br /> <br /> so if it should be even checked (if fraud protection for this is enabled) it looks whether the location of the click tracking code is the same as the location of parent frame/page.