My favorites
|
Sign in
ga-api-javascript-samples
Google Analytics API JavaScript Sample Code
Project Home
Downloads
Wiki
Issues
Source
Checkout
|
Browse
|
Changes
|
r16
Source path:
svn
/
trunk
/
src
/
v1
/
gettingstarted
/
gettingStarted.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>My First Google Analytics Data Export API Script</title>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" src="gettingStarted.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 top 10 pageviews in descending order:
<input type="text" id="tableId"/> (insert Table ID)
<button id="getData">Get Report Data</button>
</p>
</div>
<div id="outputDiv"></div>
<img src="dummy.gif" style="display:none" alt="required for Google Data"/>
</body>
<html>
Show details
Hide details
Change log
r8
by api.nickm on Aug 13, 2009
Diff
adding getting started example
Go to:
/trunk/src/v1/gettingstarted
...ttingstarted/gettingStarted.html
...gettingstarted/gettingStarted.js
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 1052 bytes, 27 lines
View raw file
File properties
svn:mime-type
text/html
svn:executable
*