Skip to content

Instantly share code, notes, and snippets.

@senaev
Created November 16, 2023 08:39
Show Gist options
  • Save senaev/7e7dc9f3f478d7c8e234563b89d41520 to your computer and use it in GitHub Desktop.
Save senaev/7e7dc9f3f478d7c8e234563b89d41520 to your computer and use it in GitHub Desktop.
<!doctype html>
<html amp4ads>
<head>
<meta charset=utf-8>
<meta content="width=device-width,minimum-scale=1,initial-scale=1" name=viewport>
<meta content="vendor=doubleclick,type=impression-id,value=CIuY1piOyIIDFdIr4AodV98O0Q" name=amp4ads-id>
<script async src=https://cdn.ampproject.org/amp4ads-v0.js></script>
<script async custom-element=amp-analytics src=https://cdn.ampproject.org/v0/amp-analytics-0.1.js></script>
<style amp-custom>
body {
background-color: #f4f4f4;
}
</style>
<style amp4ads-boilerplate>body{visibility:hidden}</style>
</head>
<body>
<amp-pixel
allow-ssr-img
attributionsrc
src="https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjsswd6coH8xXuhNi22Cj79TVsdf5ovM9FHaxs5M3MHtk912ribkutGWxESWUee3emJ5JQbiYaha5kAKGphd-b7hE_0ysCEplb-OveW5bePQd5ktcs9wvsmlBfmXOYymAZrxqcoHzK2r5lM5vypSUkM4MGfAuBfMWht4ChJ3UMcFNlfuqYn21ioVanUDHQDlasUnvMIlV1PC2o-9vojT0fQ8HsOgwVSveN0jWvzQT5km2B_1PK9PopMEYBoqXmn3YxJy92FGARTfpSaFd7loyVe2IAdmAc9PGgI7JWD-QPuyyktqNfWWq0F6J0rqo64KgcFeXWE&amp;sai=AMfl-YSfo31XEykDv1r1akkNbWsdfu21zPXWVxbeGDYOH_dudKkruEGfhriW7YJKl3bDRlBu9LCJ6bbZ-f2pWGalG1HlbYRdN77eT1gsMTpMRzwbzOC-j8&amp;sig=Cg0ArKJSzAGKCoOnQlatEAE&amp;uach_m=[UACH]&amp;urlfix=1&amp;adurl="
></amp-pixel>
<a href=https://ampbyexample.com/ target=_blank>
<amp-img alt="AMP Ad" height=250 src=https://amp.dev/static/samples/img/amp-300x250.jpg width=300></amp-img>
</a>
<amp-pixel src=https://www.google.com/>
</amp-pixel>
<amp-analytics>
<script type=application/json>{"transport": {"beacon": false, "xhrpost": false},"requests": {"amp_btr1": "https://securepubads.g.doubleclick.net/pcs/view?xai=AKAOjssep47WUjoXRgbn4PsmlpSyK81ug-0zAm2uvHCmnTjnFFVo7Y2D-zHUKQrTSE2OVQCA3UUhN8S63fv9zwyH5_Fq-GgB7Cth2nLnUkogu6MDVRjM4HNnv89C5RLQEwvYkzXq9TJkEO3ly2J5gme2N6SryMafYGEk8fE--0JcF-VrYzasf4Tg0aBym-Xd8s3fBF6pRDGiXIAqOjFCbyRIXxmYQ7udpLIHlxCG2jE3rXc-M1PCWjVKXFo3AuW22Tj1iwY1TYRKQywZM0ixV_1eAFQ6OPLXQg5KyK4532bLzIGtwoqzkGs9AtmhODG-hupJ88hFXg&sai=AMfl-YTI2mUu9-2BrRyHhA3IM-7hAiG0v4DdSjIhrFKJ5Z2j6MngAWi3LgIfiI-mWGK7JU_Pq6-t7YB2ywV9UtqChBcsVExj0trxH3kkWy5OsdCp4a8&sig=Cg0ArKJSzKtDNTPqfr6pEAE&uach_m=[UACH]&urlfix=1&adurl="},"triggers": {"b2r_iniLoad": {"on": "ini-load","request":["amp_btr1"]}}}</script>
</amp-analytics>
<amp-analytics>
<script type=application/json>{"transport": {"beacon": true, "xhrpost": false},"requests": {"ampeos1": "https://pagead2.googlesyndication.com/pcs/activeview?xai=AKAOjsuvZ9no4Eifdssfc7koGqH2p4xHkgbnGX_xYllm0sVhUW-MTG3wLd_0j3JQdxbMS1QFosiAp4CchS5nLKmtiZZFP6ty71JCltRjxue_4aP04aY-RECdHQc0TW8of1PD89ln3fFkLt4PzpMPFaMLAsKU&sig=Cg0ArKJSzIA8BGtLTz3TEAE&id=ampeos&o=${elementX},${elementY}&d=${elementWidth},${elementHeight}&ss=${screenWidth},${screenHeight}&bs=${viewportWidth},${viewportHeight}&mcvt=${maxContinuousVisibleTime}&mtos=0,0,${maxContinuousVisibleTime},${maxContinuousVisibleTime},${maxContinuousVisibleTime}&tos=0,0,${totalVisibleTime},0,0&tfs=${firstSeenTime}&tls=${lastSeenTime}&g=${minVisiblePercentage}&h=${maxVisiblePercentage}&pt=${pageLoadTime}&tt=${totalTime}&rpt=${navTiming(navigationStart,loadEventStart)}&rst=${navTiming(navigationStart)}&r=de&isd=${initialScrollDepth}&msd=${maxScrollDepth}&avms=ampa"},"triggers": {"endOfSession": {"on": "visible","request":["ampeos1"],"visibilitySpec": {"reportWhen": "documentExit","selector": ":root","visiblePercentageMin": 50}}}}</script>
</amp-analytics>
<script amp-ad-metadata type=application/json>
{
"ampRuntimeUtf16CharOffsets" : [ 239, 414 ],
"customElementExtensions" : [ "amp-analytics" ],
"extensions" : [
{
"custom-element" : "amp-analytics",
"src" : "https://cdn.ampproject.org/v0/amp-analytics-0.1.js"
}
],
"images" : [ "https://amp.dev/static/samples/img/amp-300x250.jpg" ],
"jsonUtf16CharOffsets" : {
"amp-analytics" : [ 1415, 2164, 2195, 3288 ]
}
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment