Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (41 sloc) 1.83 KB
<!doctype html>
<html >
<head>
<meta charset="utf-8">
<link rel="canonical" href="hello-world.html">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script src="https://cdn.ampproject.org/v0.js"></script>
<script custom-element="amp-analytics" src="https://cdn.ampproject.org/v0/amp-analytics-0.1.js"></script>
<amp-analytics>
<script type="application/json">
{
"vars": {
"projectId": "YOUR_PROJECT_ID",
"writeKey": "YOUR_WRITE_KEY"
},
"extraUrlParams": {
"someCustomParam": "some value"
},
"requests": {
"pageview": "https://api.keen.io/3.0/projects/${projectId}/events/pageviews?api_key=${writeKey}"
},
"triggers": {
"trackPageview": {
"on": "visible",
"request": "pageview"
}
},
"transport": {
"beacon": true,
"xhrpost": true,
"img": false,
"useBody": true
}
}
</script>
</amp-analytics>
</head>
<body>
</body>
</html>