Back to Amphtml

amp

examples/amphtml-ads/visibility.host.html

latest735 B
Original Source

This page tests amp-analytics's visible trigger for inabox. Follow the instructions and check points.


Inabox above the fold

Check Point 1: Above the fold visibility tracking
Before any scrolling, you should see 3 network requests: visible, rootVisible and img2Visible. Also check their URL params including verifying that intersectionRatio is included on all three.


Inabox below the fold, and nested in friendly iframe

Now scroll slowly...

Check Point 2: Below the fold visibility tracking
You should have seen another 2 network requests: visible, rootVisible when the 2nd iframe enters viewport. Then followed by img2Visible when the 2nd image in this iframe enters viewport.