rugalytics 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +3 -0
- data/LICENSE +20 -0
- data/Manifest +24 -0
- data/README +128 -0
- data/README.rdoc +128 -0
- data/lib/rugalytics/account.rb +42 -0
- data/lib/rugalytics/analytics.rb +0 -0
- data/lib/rugalytics/connection.rb +39 -0
- data/lib/rugalytics/graph.rb +31 -0
- data/lib/rugalytics/item.rb +19 -0
- data/lib/rugalytics/profile.rb +116 -0
- data/lib/rugalytics/report.rb +97 -0
- data/lib/rugalytics.rb +50 -0
- data/rugalytics.gemspec +57 -0
- data/spec/fixtures/analytics_account_find_all.html +296 -0
- data/spec/fixtures/analytics_profile_find_all.html +296 -0
- data/spec/fixtures/dashboard_report_webgroup.xml +2705 -0
- data/spec/lib/rugalytics/account_spec.rb +86 -0
- data/spec/lib/rugalytics/graph_spec.rb +43 -0
- data/spec/lib/rugalytics/item_spec.rb +23 -0
- data/spec/lib/rugalytics/profile_spec.rb +104 -0
- data/spec/lib/rugalytics/report_spec.rb +153 -0
- data/spec/lib/rugalytics_spec.rb +34 -0
- data/spec/spec.opts +7 -0
- data/spec/spec_helper.rb +9 -0
- metadata +121 -0
@@ -0,0 +1,296 @@
|
|
1
|
+
<html>
|
2
|
+
<head>
|
3
|
+
<title>Google Analytics</title>
|
4
|
+
<meta http-equiv="Expires" content="now" />
|
5
|
+
<meta http-equiv="pragma" content="no-cache" />
|
6
|
+
<meta http-equiv="cache-control" content="no-cache" />
|
7
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
+
<script src="https://ssl.google-analytics.com/ga.js" type="text/javascript">
|
9
|
+
</script>
|
10
|
+
<script type="text/javascript">
|
11
|
+
var pageTracker = _gat._getTracker("UA-10005-1");
|
12
|
+
pageTracker._setCookiePath("/analytics/");
|
13
|
+
pageTracker._initData();
|
14
|
+
pageTracker._trackPageview();
|
15
|
+
</script>
|
16
|
+
|
17
|
+
<script src="ujs/ugen.js"></script>
|
18
|
+
<script src="ujs/admin.js"></script>
|
19
|
+
|
20
|
+
<body bgcolor="#FFFFFF" id="ur_body">
|
21
|
+
|
22
|
+
|
23
|
+
<link rel="stylesheet" type="text/css" href="ucss/ugen.css" />
|
24
|
+
<link rel="stylesheet" type="text/css" href="ucss/ureport.css" />
|
25
|
+
<table cellpadding="0" width="100%" cellspacing="0" border="0">
|
26
|
+
<tr valign="middle">
|
27
|
+
<td width="1%" class="uh_logo"><a href="http://www.google.com/analytics/"><img src="images/logo.gif" align="left" alt="Google" border="0" /></a></td>
|
28
|
+
<td>
|
29
|
+
<table cellpadding="0" width="100%" cellspacing="0" border="0">
|
30
|
+
<tr valign="top">
|
31
|
+
<td nowrap="nowrap" valign="middle"></td>
|
32
|
+
<td align="right" nowrap="nowrap">
|
33
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
34
|
+
<tr>
|
35
|
+
<td align="right" valign="top" class="uh_prefs">
|
36
|
+
<span class="uh_user">webgroup@nd.edu </span> <span class="uh_psep">|</span>
|
37
|
+
|
38
|
+
|
39
|
+
<a href="admin?vid=1303&scid=1254221&rid=190283" class="uh_link">My Account </a> <span class="uh_psep">|</span>
|
40
|
+
|
41
|
+
<a href="http://www.google.com/support/googleanalytics/?hl=en_US" target="GoogleHelp" class="uh_link">Help</a> <span class="uh_psep">|</span>
|
42
|
+
<a href="http://www.google.com/support/googleanalytics/bin/request.py?hl=en_US" target="GoogleHelp" class="uh_link">Contact us</a> <span class="uh_psep">|</span>
|
43
|
+
<a href="https://www.google.com/accounts/Logout?hl=en-US&continue=http://www.google.com/analytics/home/%3Fet%3Dreset%26hl%3Den-US" class="uh_link">Sign Out</a>
|
44
|
+
</td>
|
45
|
+
</tr>
|
46
|
+
</table>
|
47
|
+
</td>
|
48
|
+
</tr>
|
49
|
+
</table>
|
50
|
+
<br/>
|
51
|
+
</td>
|
52
|
+
</tr>
|
53
|
+
</table>
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<div class="topnav_section topnav_tl">
|
61
|
+
<div class="topnav_bl">
|
62
|
+
<div class="topnav_tr">
|
63
|
+
<div class="topnav_br">
|
64
|
+
<table cellpadding="0" width="100%" cellspacing="0" border="0">
|
65
|
+
<tr>
|
66
|
+
<form name="select_profile" autocomplete="off">
|
67
|
+
<td nowrap="nowrap" class="topnav_settings">
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
<A href="admin?scid=1254221" class="topnav_active">Analytics Home</a>
|
75
|
+
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
|
85
|
+
<span class="topnav_sep"> | </span>
|
86
|
+
|
87
|
+
<span class="topnav_item">
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
<A href="javascript: goToProfile(1);" class="topnav_inactive">
|
92
|
+
|
93
|
+
View Reports:</a></span>
|
94
|
+
<select class="topnav_select" name="profile_list" onchange="goToProfile(1)">
|
95
|
+
<option value="0">Click to select Website Profile</option>
|
96
|
+
|
97
|
+
<option value="2420755" >blog.your_site.com</option>
|
98
|
+
|
99
|
+
</select>
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
</td>
|
104
|
+
</form>
|
105
|
+
<form name="select_account" autocomplete="off">
|
106
|
+
<td align="right" class="topnav_options">
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<span class="topnav_heading">My Analytics Accounts: </span>
|
111
|
+
<select class="topnav_select2" name="account_list" onchange="goToAccount()">
|
112
|
+
|
113
|
+
<option value="1254221" >your_site.com</option>
|
114
|
+
|
115
|
+
<option value="344381" >webgroup.nd.edu</option>
|
116
|
+
|
117
|
+
<option value=""> ------------------------------- </option>
|
118
|
+
<option value="0"> Create New Account...</option>
|
119
|
+
</select>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
</td>
|
126
|
+
|
127
|
+
</form>
|
128
|
+
|
129
|
+
|
130
|
+
</tr>
|
131
|
+
</table>
|
132
|
+
</div>
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
</div>
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
<!-- Start Main Body -->
|
140
|
+
<div class="page_body">
|
141
|
+
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
<div class="page_title">Analytics Home</div>
|
146
|
+
<br />
|
147
|
+
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
148
|
+
<tr>
|
149
|
+
<td valign="top" class="page_content">
|
150
|
+
<!-- Start Content -->
|
151
|
+
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="list_table">
|
152
|
+
<tr class="list_title">
|
153
|
+
<td class="list_title">Website Profiles</td>
|
154
|
+
</tr>
|
155
|
+
|
156
|
+
<tr>
|
157
|
+
<td class="list_control">
|
158
|
+
|
159
|
+
<!-- Start Controls -->
|
160
|
+
<table cellpadding="0" cellspacing="0" border="0" width="100%">
|
161
|
+
<tr>
|
162
|
+
<td align="center" nowrap="nowrap">
|
163
|
+
<span class="list_cstrong">
|
164
|
+
|
165
|
+
<img src="images/setprev.gif" border="0"> Prev
|
166
|
+
|
167
|
+
</span>
|
168
|
+
|
169
|
+
1 - 1 / 1
|
170
|
+
|
171
|
+
<span class="list_cstrong">
|
172
|
+
|
173
|
+
Next <img src="images/setnext.gif" border="0">
|
174
|
+
|
175
|
+
</span>
|
176
|
+
</td>
|
177
|
+
|
178
|
+
<td align="center" class="list_control_cell">
|
179
|
+
<form name="length">
|
180
|
+
<table cellpadding="0" cellspacing="0" border="0">
|
181
|
+
<tr>
|
182
|
+
<td align="left" class="list_control_cell2" nowrap="nowrap">
|
183
|
+
Show
|
184
|
+
<select name="number" onChange="setLengthAdmin(self); return false;" >
|
185
|
+
<option value="5" > 5
|
186
|
+
<option value="10" selected="selected"> 10
|
187
|
+
<option value="20" > 20
|
188
|
+
<option value="35" > 35
|
189
|
+
<option value="50" > 50
|
190
|
+
<option value="100" >100
|
191
|
+
</select>
|
192
|
+
</td>
|
193
|
+
</form>
|
194
|
+
|
195
|
+
<form name="search" onsubmit="setQuery(); return false;">
|
196
|
+
<td class="list_control_cell2" nowrap="nowrap">
|
197
|
+
Search
|
198
|
+
<input type="text" name="uquery" value="" size="10"><input type="hidden" name="ftype" value="" />
|
199
|
+
</td>
|
200
|
+
<td>
|
201
|
+
<a href="javascript:fToggle(0,'',1,1,4)">
|
202
|
+
<img src="images/fin_active.gif" name="fin" width="21" height="19" border="0"></a>
|
203
|
+
</td>
|
204
|
+
<td>
|
205
|
+
<a href="javascript:fToggle(1,'',1,1,4);">
|
206
|
+
<img src="images/fout_inactive.gif" name="fout" width="21" height="19" border="0"></a>
|
207
|
+
</td>
|
208
|
+
</tr>
|
209
|
+
</table>
|
210
|
+
</form>
|
211
|
+
</td>
|
212
|
+
</tr>
|
213
|
+
</table>
|
214
|
+
|
215
|
+
|
216
|
+
</td>
|
217
|
+
</tr>
|
218
|
+
<tr>
|
219
|
+
<td bgcolor="#FFFFFF">
|
220
|
+
<img src="images/tspace.gif" height="5" width="100">
|
221
|
+
|
222
|
+
<table border="0" cellspacing="0" cellpadding="0" width="100%">
|
223
|
+
<tr class="list_ctitle">
|
224
|
+
<td width="5%" class="list_ctitle"> </td>
|
225
|
+
<td width="45%" class="list_ctitle" nowrap="nowrap">Name</td>
|
226
|
+
<td width="25%" class="list_ctitle" align="center" nowrap="nowrap">Settings</td>
|
227
|
+
<td width="25%" class="list_ctitle" nowrap="nowrap">Status</td>
|
228
|
+
</tr>
|
229
|
+
|
230
|
+
<tr class="ug_row1">
|
231
|
+
<td nowrap="nowrap" class="list_cell">1.</td>
|
232
|
+
<td class="list_cell">blog.your_site.com</td>
|
233
|
+
<td class="list_cell" align="center">
|
234
|
+
<a href="/analytics/reporting/dashboard?id=2420755&scid=1254221" class="normal">View Reports</a> <br />
|
235
|
+
</td>
|
236
|
+
<td class="list_cell" nowrap="nowrap">
|
237
|
+
|
238
|
+
|
239
|
+
|
240
|
+
<img src="images/check.gif"> Receiving Data
|
241
|
+
|
242
|
+
|
243
|
+
<br />
|
244
|
+
|
245
|
+
<img src="images/warning.gif">
|
246
|
+
Conversion Goals (0)
|
247
|
+
</td>
|
248
|
+
</tr>
|
249
|
+
|
250
|
+
|
251
|
+
</table>
|
252
|
+
</td>
|
253
|
+
</tr>
|
254
|
+
</table>
|
255
|
+
|
256
|
+
</td>
|
257
|
+
|
258
|
+
<td class="dotted_border"> </td>
|
259
|
+
|
260
|
+
<!-- Start Questions -->
|
261
|
+
<td valign="top" width="200" class="page_question">
|
262
|
+
<div class="help_title">Helpful Links</div>
|
263
|
+
<ul>
|
264
|
+
<!--
|
265
|
+
<li class="question_list"><a href="" onclick="return helpPopup(27394, 'en-US', '');" class="normal">How do I view reports?</a></li>
|
266
|
+
-->
|
267
|
+
<li class="question_list"><a href="" onclick="return helpPopup(69588, 'en-US', '');" class="normal">What's new with Google Analytics?</a></li>
|
268
|
+
<li class="question_list"><a href="" onclick="return helpPopup(57053, 'en-US', '');" class="normal">I'm not seeing any data in my reports.</a></li>
|
269
|
+
<li class="question_list"><a href="" onclick="return helpPopup(55595, 'en-US', '');" class="normal">What is a website profile, and what can I do with it?</a></li>
|
270
|
+
</ul>
|
271
|
+
|
272
|
+
</td>
|
273
|
+
<!-- End Questions -->
|
274
|
+
|
275
|
+
</tr>
|
276
|
+
</table>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<!-- End Main Body -->
|
280
|
+
|
281
|
+
<br /><br />
|
282
|
+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
283
|
+
<tr>
|
284
|
+
<td align="center" class="uf_copy">
|
285
|
+
<span class="copy">© 2007 Google</span> |
|
286
|
+
<a href="http://www.google.com/analytics/" target="GoogleHome" class="normal">Analytics Home</a> |
|
287
|
+
<a href="http://www.google.com/analytics/tos.html" target="GoogleHome" class="normal">Terms of Service</a> |
|
288
|
+
<a href="http://www.google.com/intl/en/privacy.html" target="GoogleHome" class="normal">Privacy Policy</a> |
|
289
|
+
<a href="http://www.google.com/support/googleanalytics/bin/request.py?hl=en_US" target="GoogleHelp" class="normal">Contact us</a> |
|
290
|
+
<a href="http://analytics.blogspot.com/" target="GoogleBlog" class="normal">Analytics Blog (in English)</a>
|
291
|
+
</td>
|
292
|
+
</tr>
|
293
|
+
</table>
|
294
|
+
|
295
|
+
</body>
|
296
|
+
</html>
|