-
Notifications
You must be signed in to change notification settings - Fork 0
/
roomStats.html
36 lines (35 loc) · 1.23 KB
/
roomStats.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- Author: Alexander Lucas (api.alexl@google.com) -->
<html>
<head>
<title>My First Google Analytics Data Export API Script</title>
<script type="text/javascript"
src="https://www.google.com/jsapi"></script>
<script type="text/javascript"
src="analyticsCharts.js"></script>
</head>
<body>
<h1>Analytics Data Export API Script</h1>
<button id="authButton">Loading...</button>
<div id="dataControls" style="display:none">
<p>
For this user, retrieve the first 50 accounts with profile ID and table ID
<button id="getAccount">Get Account Data</button>
</p>
<p>
For this profile, show visitor type and entrance/exit graphs:
<input type="text" id="tableId" value='ga:55476346'/> (insert Table ID)
<button id="getData">Get Report Data</button>
</p>
</div>
<table>
<tr>
<td><div id="visitorsDiv"></div></td>
<td><div id="entrancesDiv"></div></td>
<td><div id="topcontentDiv"></div></td>
</tr>
</table>
<img src="dummy.gif" style="display:none" alt="required for Google Data"/>
</body>
</html>