-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.ego
51 lines (42 loc) · 1.22 KB
/
index.ego
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<%! func (t *Template) Index(w io.Writer) error %>
<%%
import (
"fmt"
"io"
"os"
)
%%>
<%
hostname, _ := os.Hostname()
if hostname == "" {
hostname = "HOSTNAME";
}
%>
<!DOCTYPE html>
<html lang="en">
<% t.Head(w, "") %>
<body id="index">
<div class="container">
<% t.Nav(w) %>
<!-- Main component for a primary marketing message or call to action -->
<div class="jumbotron">
<h1>Welcome to Skybox</h1>
<p>
Skybox is a tool for tracking user events and querying them through funnel analysis.
Funnel analysis is a way to see how users in your application move through multi-step tasks (such as signing up or purchasing).
</p>
<p>
To add event tracking to your application, simple copy the following HTML snippet and paste it into your code:
</p>
<pre>
<script type="text/javascript" src="//<%= hostname %>/skybox.js" async
data-api-key="<%= t.Account.APIKey %>">
</script>
</pre>
<p>
<a class="btn btn-lg btn-primary" href="https://github.com/skybox/skybox" target="_blank" role="button">Find us on Github »</a>
</p>
</div>
</div> <!-- /container -->
</body>
</html>