Back to Amphtml

Analytics In

examples/analytics-in-creative-measurement.amp.html

latest761 B
Original Source

Analytics In-Creative Measurement Test

Here is some text.

Below this text is an ad.

Hopefully there is enough text here that the ad will be below the fold.

The ad is in an iframe, but does not occupy the entire iframe.

Rather, there is also some whitespace in the iframe.

An amp-analytics ping will be sent when 25% of the creative is visible.

Scroll down carefully, and verify that this happens based on the area of the creative, not of the ad.

Get ready, here comes the ad.

Loading...

Could not display the fake ad :(

This is some more text.

You can ignore it.

Its only purpose is to prevent the situation where you've scrolled

all the way to the bottom, but the ad is hidden behind the browser's dev console.