Skip to content

Commit b5ab810

Browse files
authored
Create AMP.html
1 parent 65bdc13 commit b5ab810

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

AMP.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!doctype html>
2+
<html >
3+
<head>
4+
5+
<meta charset="utf-8">
6+
<title> Hello World</title>
7+
8+
<script async src="https://cdn.ampproject.org/v0.js"></script>
9+
10+
<link rel="canonical" href="https://ampbyexample.com/introduction/hello_world/">
11+
12+
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
13+
14+
<style amp-custom>
15+
h1 {
16+
color: red;
17+
}
18+
</style>
19+
20+
<!-- DECLARE CATCHPOINT RUM TAG (http://g.3gl.net/jp/397/v3.1.2/M)-->
21+
<script async custom-element="amp-analytics" src=" https://cdn.ampproject.org/c/itzloy.github.io/cp.js"></script>
22+
<!-- POST DATA TO CATCHPOINT -->
23+
<!--<amp-analytics type='Catchpoint RUM'>
24+
<script type="application/json">
25+
{
26+
"requests": { // Defines where to POST the data
27+
"pageview": "https://catchpointendpointapi.com"?sessionID=${Id}&pageGroup=${pageGroup}&custMetric=${cM}",,
28+
},
29+
"triggers": {
30+
"trackPageview": { // Trigger event on page view
31+
"on": "visible",
32+
"request": "pageview"
33+
"vars": {
34+
"PageGroup": "Homepage"
35+
}
36+
}
37+
}
38+
"transport": { // Defines the protocols we use to send data
39+
'beacon': false,
40+
'xhrpost': true
41+
}
42+
}
43+
</script>
44+
</amp-analytics>-->
45+
46+
<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>
47+
</head>
48+
<body>
49+
50+
<h1>Hello World!</h1>
51+
<button id='amzBt' onclick="location.href='file:///C:/wamp64/www/Integration/Page2.html'" style="width:30px;"></button>
52+
</body>
53+
</html>
54+

0 commit comments

Comments
 (0)