Skip to content

Commit b48fc68

Browse files
committed
g analytics
1 parent 806f5d0 commit b48fc68

File tree

1 file changed

+94
-80
lines changed

1 file changed

+94
-80
lines changed

docs/index.html

Lines changed: 94 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,91 +1,105 @@
11
<!DOCTYPE html>
22
<!-- saved from url=(0022)http://localhost:3000/ -->
3-
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4-
5-
<link rel="icon" href="http://localhost:3000/favicon.ico">
6-
<meta name="google-site-verification" content="rK7iaoluV1OU01--sMcwRkNaseWs11WnGtXGXLgp9qU" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1">
8-
<meta name="theme-color" content="#000000">
9-
<meta name="description" content="Web site created using create-react-app">
10-
11-
<link rel="apple-touch-icon" href="http://localhost:3000/logo192.png">
12-
13-
<link rel="manifest" href="http://localhost:3000/manifest.json">
14-
<title>React App</title>
15-
<style>body {
16-
margin: 0;
17-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
18-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
19-
sans-serif;
20-
-webkit-font-smoothing: antialiased;
21-
-moz-osx-font-smoothing: grayscale;
22-
}
3+
<html lang="en">
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
236

24-
code {
25-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
26-
monospace;
27-
}
28-
</style><style>.App {
29-
text-align: center;
30-
}
7+
<link rel="icon" href="http://localhost:3000/favicon.ico" />
8+
<meta name="google-site-verification" content="rK7iaoluV1OU01--sMcwRkNaseWs11WnGtXGXLgp9qU" />
9+
<meta name="viewport" content="width=device-width, initial-scale=1" />
10+
<meta name="theme-color" content="#000000" />
11+
<meta name="description" content="Web site created using create-react-app" />
3112

32-
.App-logo {
33-
height: 40vmin;
34-
pointer-events: none;
35-
}
13+
<link rel="apple-touch-icon" href="http://localhost:3000/logo192.png" />
3614

37-
@media (prefers-reduced-motion: no-preference) {
38-
.App-logo {
39-
animation: App-logo-spin infinite 20s linear;
40-
}
41-
}
15+
<link rel="manifest" href="http://localhost:3000/manifest.json" />
16+
<title>React App</title>
17+
<!-- Google Analytics -->
18+
<script>
19+
(function(i, s, o, g, r, a, m) {
20+
i['GoogleAnalyticsObject'] = r;
21+
(i[r] =
22+
i[r] ||
23+
function() {
24+
(i[r].q = i[r].q || []).push(arguments);
25+
}),
26+
(i[r].l = 1 * new Date());
27+
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
28+
a.async = 1;
29+
a.src = g;
30+
m.parentNode.insertBefore(a, m);
31+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
4232

43-
.App-header {
44-
background-color: #282c34;
45-
min-height: 100vh;
46-
display: flex;
47-
flex-direction: column;
48-
align-items: center;
49-
justify-content: center;
50-
font-size: calc(10px + 2vmin);
51-
color: white;
52-
}
33+
ga('create', 'UA-XXXXX-Y', 'auto');
34+
ga('send', 'pageview');
35+
</script>
36+
<!-- End Google Analytics -->
37+
<style>
38+
body {
39+
margin: 0;
40+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
41+
'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
42+
-webkit-font-smoothing: antialiased;
43+
-moz-osx-font-smoothing: grayscale;
44+
}
5345

54-
.App-link {
55-
color: #61dafb;
56-
}
46+
code {
47+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
48+
}
49+
</style>
50+
<style>
51+
.App {
52+
text-align: center;
53+
}
5754

58-
@keyframes App-logo-spin {
59-
from {
60-
transform: rotate(0deg);
61-
}
62-
to {
63-
transform: rotate(360deg);
64-
}
65-
}
66-
</style></head>
67-
<body>
68-
<noscript>You need to enable JavaScript to run this app.</noscript>
69-
<div id="root"><div class="App"><header class="App-header"><img src="logo.svg" class="App-logo" alt="logo"><p>Edit <code>src/App.js</code> and save to reload.</p><a class="App-link" href="https://reactjs.org/" target="_blank" rel="noopener noreferrer">Learn React</a></header></div></div>
70-
<!--
71-
This HTML file is a template.
72-
If you open it directly in the browser, you will see an empty page.
55+
.App-logo {
56+
height: 40vmin;
57+
pointer-events: none;
58+
}
7359

74-
You can add webfonts, meta tags, or analytics to this file.
75-
The build step will place the bundled scripts into the <body> tag.
60+
@media (prefers-reduced-motion: no-preference) {
61+
.App-logo {
62+
animation: App-logo-spin infinite 20s linear;
63+
}
64+
}
7665

77-
To begin the development, run `npm start` or `yarn start`.
78-
To create a production bundle, use `npm run build` or `yarn build`.
79-
-->
80-
<!-- Google Analytics -->
81-
<script>
82-
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
83-
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
84-
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
85-
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
66+
.App-header {
67+
background-color: #282c34;
68+
min-height: 100vh;
69+
display: flex;
70+
flex-direction: column;
71+
align-items: center;
72+
justify-content: center;
73+
font-size: calc(10px + 2vmin);
74+
color: white;
75+
}
8676

87-
ga('create', 'UA-XXXXX-Y', 'auto');
88-
ga('send', 'pageview');
89-
</script>
90-
<!-- End Google Analytics -->
91-
</body></html>
77+
.App-link {
78+
color: #61dafb;
79+
}
80+
81+
@keyframes App-logo-spin {
82+
from {
83+
transform: rotate(0deg);
84+
}
85+
to {
86+
transform: rotate(360deg);
87+
}
88+
}
89+
</style>
90+
</head>
91+
<body>
92+
<noscript>You need to enable JavaScript to run this app.</noscript>
93+
<div id="root">
94+
<div class="App">
95+
<header class="App-header">
96+
<img src="logo.svg" class="App-logo" alt="logo" />
97+
<p>Edit <code>src/App.js</code> and save to reload.</p>
98+
<a class="App-link" href="https://reactjs.org/" target="_blank" rel="noopener noreferrer"
99+
>Learn React Jeeva</a
100+
>
101+
</header>
102+
</div>
103+
</div>
104+
</body>
105+
</html>

0 commit comments

Comments
 (0)