-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
318 lines (286 loc) · 18.6 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
<!DOCTYPE html>
<html lang="en">
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-J69ENZY4TQ"></script>
<script>
if (["", "localhost"].includes(window.location.hostname)) // disable GA: https://stackoverflow.com/questions/40297763/how-to-disable-google-analytics-on-localhost
window['ga-disable-G-J69ENZY4TQ'] = true; // enter your tracking ID
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-J69ENZY4TQ');
</script>
<script type="text/javascript">
!function(){"use strict";!function(e,t){var n=e.amplitude||{_q:[],_iq:{}};if(n.invoked)e.console&&console.error&&console.error("Amplitude snippet has been loaded.");else{var r=function(e,t){e.prototype[t]=function(){return this._q.push({name:t,args:Array.prototype.slice.call(arguments,0)}),this}},s=function(e,t,n){return function(r){e._q.push({name:t,args:Array.prototype.slice.call(n,0),resolve:r})}},o=function(e,t,n){e._q.push({name:t,args:Array.prototype.slice.call(n,0)})},i=function(e,t,n){e[t]=function(){if(n)return{promise:new Promise(s(e,t,Array.prototype.slice.call(arguments)))};o(e,t,Array.prototype.slice.call(arguments))}},a=function(e){for(var t=0;t<g.length;t++)i(e,g[t],!1);for(var n=0;n<m.length;n++)i(e,m[n],!0)};n.invoked=!0;var u=t.createElement("script");u.type="text/javascript",u.integrity="sha384-Gzu/3zjG7uZ1G0TIW6BIGIzZHB61u7328yVnZUz4t1dNE/n/dSnABKbOJ+jw6Bnu",u.crossOrigin="anonymous",u.async=!0,u.src="https://cdn.amplitude.com/libs/analytics-browser-2.5.2-min.js.gz",u.onload=function(){e.amplitude.runQueuedFunctions||console.log("[Amplitude] Error: could not load SDK")};var c=t.getElementsByTagName("script")[0];c.parentNode.insertBefore(u,c);for(var l=function(){return this._q=[],this},p=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove","getUserProperties"],d=0;d<p.length;d++)r(l,p[d]);n.Identify=l;for(var f=function(){return this._q=[],this},v=["getEventProperties","setProductId","setQuantity","setPrice","setRevenue","setRevenueType","setEventProperties"],y=0;y<v.length;y++)r(f,v[y]);n.Revenue=f;var g=["getDeviceId","setDeviceId","getSessionId","setSessionId","getUserId","setUserId","setOptOut","setTransport","reset","extendSession"],m=["init","add","remove","track","logEvent","identify","groupIdentify","setGroup","revenue","flush"];a(n),n.createInstance=function(e){return n._iq[e]={_q:[]},a(n._iq[e]),n._iq[e]},e.amplitude=n}}(window,document)}();
amplitude.init('bfab8c559a3d5e4dec53ab1760dd3cf9', {
defaultTracking: true,
});
</script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Demo account for "Do They Use" Product Intelligence app</title>
<meta name="description" content="Demo account allows you to try how Do They Use app works, what it can do for you now. Demo account is open for anyone. No registration required">
<meta name="keywords" content="Product Intelligence, Quantitative analysis, Product Management tools, Product Metrics, Demo, Demo account">
<link href="src/web/common/fonts/Bebas_Neue/Bebas_Neue.css" rel="stylesheet"> <!-- menu font -->
<script type="text/javascript" src="src/web/common/bootstrap/bootstrap.5.3.0-alpha.min.js"></script>
<link href="src/web/common/bootstrap/bootstrap.5.3.0-alpha.min.css" rel="stylesheet"-->
<link href="src/web/account/datatables/dataTables.bootstrap5.min.css" rel="stylesheet">
<link href="src/web/account/datatables/responsive.bootstrap5.min.css" rel="stylesheet">
<link rel="stylesheet" href="src/web/common/bootstrap/bootstrap-icons.css">
<link href="src/web/common/css/dtu_css.css" rel="stylesheet">
<link href="src/web/account/css/dtu_css.css" rel="stylesheet">
<style type="text/css">
.custom-helper {
margin-bottom: 5px;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg bg-light" data-dtu="Navbar">
<div class="container-fluid">
<a class="navbar-brand" href="https://dotheyuse.com" data-dtu>Do They Use</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation" data-dtu="Menu">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse justify-content-end" id="navbarNav">
<ul class="navbar-nav margin-left-6">
<li class="nav-item">
<a class="nav-link active" href="index.html" data-dtu>Analytics app</a>
</li>
<li class="nav-item" id="how-this-works">
<a class="nav-link" href="how-this-works.html" data-dtu>How this demo works</a>
</li>
<li class="nav-item">
<a class="nav-link" href="documentation.html" data-dtu>Documentation</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container-fluid container-padding" id="app_content">
<div class="row margin-bottom-5">
<div class="col-lg-2">
<label for="topic" class="form-label no-margin-bottom custom-label">Data source:</label>
<select class="form-control form-select" data-dtu="Data source" id="drpd:topic"></select>
</div>
<div class="col-lg">
<div class="row">
<p class="custom-helper" data-dtu="Show data for" id="timedelta_ms" timedelta_ms="0">
<label class="form-label no-margin-bottom custom-label">Show data for:</label>
<br>
<a class="time-shortcut active-filter" timedelta_ms="0" data-dtu>All available time</a>| Last:
<a class="time-shortcut" timedelta_ms="300000" data-dtu>5 min</a>
<a class="time-shortcut" timedelta_ms="900000">15 min</a>
<a class="time-shortcut" timedelta_ms="1800000" data-dtu>30 min</a>
<a class="time-shortcut" timedelta_ms="3600000">1 hour</a>
<a class="time-shortcut" timedelta_ms="10800000" data-dtu>3 hours</a>
<a class="time-shortcut" timedelta_ms="21600000">6 hours</a>
<a class="time-shortcut" timedelta_ms="43200000" data-dtu>12 hours</a>
<a class="time-shortcut" timedelta_ms="86400000">1 day</a>
<a class="time-shortcut" timedelta_ms="172800000" data-dtu>2 days</a>
<a class="time-shortcut" timedelta_ms="604800000">7 days</a>
<a class="time-shortcut" timedelta_ms="2592000000" data-dtu>30 days</a>
<a class="time-shortcut" timedelta_ms="7776000000">3 months</a>
<a class="time-shortcut" timedelta_ms="15552000000" data-dtu>6 months</a>
<a class="time-shortcut" timedelta_ms="31536000000">1 year</a>
<a class="time-shortcut" timedelta_ms="63072000000" data-dtu>2 years</a>
</p>
</div>
</div>
<div class="col-lg-2">
<label for="topic" class="form-label no-margin-bottom custom-label">UID(s) only:</label>
<textarea class="form-control" data-dtu="UID(s) only" id="txt:uids"></textarea>
</div>
<!--div class="col-lg-2">
<label for="topic" class="form-label no-margin-bottom custom-label">UID(s) to exclude:</label>
<textarea class="form-control" data-dtu="UID(s) to exclude" id="txt:uids_not"></textarea>
</div-->
<div class="col-lg-2">
<label for="topic" class="form-label no-margin-bottom custom-label">UGID(s) only:</label>
<textarea class="form-control" data-dtu="UGID(s) only" id="txt:ugids"></textarea>
</div>
</div>
<div class="row">
<div class="col-lg">
<div class="row">
<div class="col-sm col-lg-2 hidden">
<label for="drpd:url_domain_name" class="form-label no-margin-bottom custom-label">Domain:</label>
<select id="drpd:url_domain_name" class="form-control form-select" data-dtu="Domain"></select>
</div>
<div class="col-sm col-lg-4 margin-bottom-5 hidden">
<label for="drpd:url_path" class="form-label no-margin-bottom custom-label">Web page:</label>
<select id="drpd:url_path" class="form-control form-select" data-dtu="Web page"></select>
</div>
<div class="col margin-bottom-5" id="element_path"></div>
</div>
<div class="row" style="margin-top: 10px;">
<div class="col-lg-4">
<h6><b>Which web-elements</b> and <b>how much</b> they used</h6>
<div id="elements__in_no_data"></div>
<div id="elements__in">
<p class="chart-name" title="On a sankey chart below are displayed visual relations of the volumes of user(s) interactions for each web-element for selected filter condition(s)">Web-elements usage volumes chart <i class="bi bi-info-square-fill info"></i></p>
<div id="sankey_chart__in" class="sankey_chart"></div>
<p class="chart-name" title="In a table below are displayed volumes of user(s) interactions for each web-element for selected filter condition(s). It is sankey chart above but in a table">Web-elements usage volumes table <i class="bi bi-info-square-fill info"></i>
<span id="number_of_records_elements_interactions_table__in" class="datatable-records"></span> <a id="toggle_elements_interactions_table__in" class="toggle-datatable hidden" onclick="ANALYTICS_PORTAL_SDK_toggle_table_display('elements_interactions_table__in');" data-dtu>Expand table</a></p>
<table id="elements_interactions_table__in" class="table table-sm dt-responsive nowrap2" style="width:100%">
<thead>
<tr>
<th></th>
<th>Type</th>
<th>Element</th>
<th>Interactions</th>
<th>Path (arrow)</th>
<th>Path (comma)</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="col-lg-4">
<h6><b>Who</b> and <b>how much</b> they used web-elements</h6>
<div id="uids__in_no_data"></div>
<div id="uids__in">
<div id="uids_donut" class="donut"></div>
<div id="interactions_donut" class="donut" style="margin-bottom: 20px"></div>
<p class="chart-name" title="In a table below are displayed volumes of user(s) interactions for selected filter condition(s). Different types of UIDs are supported: emails, IDs, salted MD5 hashes, etc.">Users activity volumes table <i class="bi bi-info-square-fill info"></i>
<span id="number_of_records_uids_interactions_table__in" class="datatable-records"></span> <a id="toggle_uids_interactions_table__in" class="toggle-datatable hidden" onclick="ANALYTICS_PORTAL_SDK_toggle_table_display('uids_interactions_table__in');" data-dtu>Expand table</a>
<table id="uids_interactions_table__in" class="table table-sm" style="margin-bottom: 20px!important;">
<thead>
<tr>
<th></th>
<th>UID</th>
<th>UGID(s)</th>
<th>Interactions</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="col-lg-4">
<h6><b>When</b> and <b>how much</b> they used web-elements</h6>
<div id="time__in_no_data"></div>
<div id="time__in">
<p class="chart-name" title="On a bar chart below is displayed number of user(s) interactions for selected filter conditions in time">Web-elements usage time chart <i class="bi bi-info-square-fill info"></i></p>
<div id="linear_chart"></div>
<div id="linear_chart_time_range" style="text-align: right;"></div>
<!--table id="linear_chart_stats" style="width: auto; display: none;" class="margin-bottom-50">
<tr>
< !--td>aggregation interval</td-- >
< !--td>time range in 1 pixel</td-- >
< !--td>last</td-- >
<td>min</td>
<td>median</td>
<td>max</td>
</tr>
<tr>
< !--td id="aggregation interval"></td-- >
< !--td id="last"></td-- >
<td id="min"></td>
<td id="median"></td>
<td id="max"></td>
</tr>
</table-->
</div>
</div>
</div>
<div class="row" style="margin-bottom: 50px;">
<div class="col-lg-4" style="margin-top: 30px">
<h6><b>Which web-elements</b> they <b>didn't</b> use</h6>
<div id="elements__out_no_data"></div>
<div id="elements__out">
<p class="chart-name" title="On a sankey chart below are displayed visual relations of the volumes of user(s) interactions for each web-element that did not get into sankey chart with matched data">Not used elements volumes chart <i class="bi bi-info-square-fill info"></i></p>
<div id="sankey_chart__out" class="sankey_chart"></div>
<p class="chart-name" title="In a table below are displayed volumes of user(s) interactions for each web-element for selected filter condition(s). It is sankey chart above but in a table">Web-elements unusage volumes table <i class="bi bi-info-square-fill info"></i>
<span id="number_of_records_elements_interactions_table__out" class="datatable-records"></span>
<a id="toggle_elements_interactions_table__out" class="toggle-datatable hidden" onclick="ANALYTICS_PORTAL_SDK_toggle_table_display('elements_interactions_table__out');" data-dtu>Expand table</a>
<table id="elements_interactions_table__out" class="table table-sm dt-responsive nowrap2" style="width:100%">
<thead>
<tr>
<th></th>
<th>Type</th>
<th>Element</th>
<th>Interactions</th>
<th>Path (arrow)</th>
<th>Path (comma)</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
<div class="col-lg-4" style="margin-top: 30px">
<h6><b>Who</b> and <b>how much</b> used these another web-elements</h6>
<div id="uids__out_no_data"></div>
<div id="uids__out">
<h2 id="uids_interactions_percent__out"></h2>
<p class="chart-name" title="In a table below are displayed volumes of user(s) interactions that didn't match selected filter condition(s). Different types of UIDs are supported: emails, IDs, salted MD5 hashes, etc.">Users inactivity volumes table <i class="bi bi-info-square-fill info"></i>
<span id="number_of_records_uids_interactions_table__out" class="datatable-records"></span>
<a id="toggle_uids_interactions_table__out" class="toggle-datatable hidden" onclick="ANALYTICS_PORTAL_SDK_toggle_table_display('uids_interactions_table__out');" data-dtu>Expand table</a>
<table id="uids_interactions_table__out" class="table table-sm" style="margin-bottom: 20px!important;">
<thead>
<tr>
<th></th>
<th>UID</th>
<th>UGID(s)</th>
<th>Interactions</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="loading">
<div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div>
<p>Please wait a few seconds.<br>We are getting ready your demo account...</p>
</div>
<div id="instructions">
<div class="container-fluid container-padding">
<h3>👋 Hey!</h3>
<p>
There are no charts here, because database responded with "no any data yet".<br>
You can send data here with various different ways (all described in <a href="documentation.html" target="_blank">docs</a>, always available for you in the top-right corner), but we recommend you to start with <b>the simplest way</b>:
<ol>
<li>Open <a href="src/customer/demos/your_app.html" target="_blank" data-dtu>this already preconfigured sample web-app</a> in a new tab;</li>
<li>Interact with the web-elements on that sample web-app;</li>
<li>Return here and refresh this page.</li>
</ol>
</p>
</div>
</div>
<script src="src/web/account/js/md5/md5.min.js"></script> <!-- https://github.com/placemarker/jQuery-MD5 -->
<script src="src/web/account/js/d3/d3.v7.min.js"></script>
<script src="src/web/account/js/d3/d3-sankey.min.js"></script>
<script src="src/web/account/jquery/jquery-3.6.4.min.js"></script>
<script src="src/web/account/datatables/jquery.dataTables.min.js"></script>
<script src="src/web/account/datatables/dataTables.bootstrap5.min.js"></script>
<script src="src/web/account/datatables/dataTables.responsive.min.js"></script>
<script src="src/web/account/datatables/responsive.bootstrap5.min.js"></script>
<script src="src/db/dtu_db.js?v=11"></script>
<script src="src/rx_api/dtu_rx_api.js?v=11"></script>
<script src="src/tx_api/dtu_tx_api.js?v=11"></script>
<script src="src/web/account/js/dtu_sdk.js?v=11"></script>
<script src="src/customer/dtu_sdk_js/dtu_sdk.js?v=11"></script>
<script type="text/javascript">
dtu.set_topic('your real usage now');
if (['', 'dotheyuse.com'].includes(window.location.hostname))
document.getElementById('how-this-works').style.display = 'unset';
</script>
<script src="src/customer/dtu_client_emulator.js?v=11"></script>
<script type="text/javascript">
</script>
</body>
</html>