-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (32 loc) · 1.32 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Google Analytics Event Tracker</title>
<link rel="stylesheet" href="https://cdn.rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css">
</head>
<body>
<div class="container">
<div class="jumbotron text-xs-center">
<h1 class="display-3">Google Analytics Event Tracker</h1>
<p class="lead">
<a
class="btn btn-lg btn-primary"
href="#"
data-ga-click="homepage hero, click: cta, item: More">
Try Me
</a>
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="main.js"></script>
<script>
(function(s,o,i,l){s.ga=function(){s.ga.q.push(arguments);if(o['log'])o.log(i+l.call(arguments))}
s.ga.q=[];s.ga.l=+new Date;}(window,console,'Google Analytics: ',[].slice))
ga('create','UA-XXXXX-Y','auto');ga('send','pageview')
</script>
</body>
</html>