Skip to content

Commit a4ca99c

Browse files
committed
Add Google Analytics to temp homepage
1 parent e62af07 commit a4ca99c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

site/public/index.htm

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<title>ReactJS.NET</title>
45
<style>
56
body {
67
font-family: Calibri, Verdana, sans-serif;
@@ -25,6 +26,15 @@
2526
text-decoration: underline;
2627
}
2728
</style>
29+
<script>
30+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
31+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
32+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
33+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
34+
35+
ga('create', 'UA-25623237-6', 'reactjs.net');
36+
ga('send', 'pageview');
37+
</script>
2838
</head>
2939
<body>
3040
<img src="http://facebook.github.io/react/img/logo_og.png" alt="React logo" width="300" height="300" />

0 commit comments

Comments
 (0)