-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathexplorer.html
More file actions
496 lines (479 loc) · 21.1 KB
/
explorer.html
File metadata and controls
496 lines (479 loc) · 21.1 KB
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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
<html>
<head>
<title>Operational Telemetry Explorer | AEM Live</title>
<script>
(() => {
const { hostname } = window.location;
if (hostname === 'localhost') return;
const path = '/tools/optel/oversight/explorer.html';
const match = hostname.match(/^.+--helix-website--adobe\.aem\.(page|live)$/);
const target = match
? `https://main--helix-tools-website--adobe.aem.${match[1]}${path}`
: `https://tools.aem.live${path}`;
const url = new URL(target);
url.search = window.location.search;
window.location.replace(url.href);
})();
</script>
<script type="importmap">{"imports": {
"chartjs": "https://esm.sh/chart.js@4.4.8",
"chartjs-adapter-luxon": "https://esm.sh/chartjs-adapter-luxon@1.3.1?deps=chart.js@4.4.8",
"@adobe/rum-distiller": "https://esm.sh/@adobe/rum-distiller@1.22.2"
}}</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<script src="/scripts/lib-franklin.js" type="module"></script>
<script src="/scripts/scripts.js" type="module"></script>
<link rel="stylesheet" href="/styles/styles.css" />
<script type="module" defer="false">
import SkylineChart from './charts/skyline.js';
import ConversionTracker from './elements/conversion-tracker.js';
import IncognitoCheckbox from './elements/incognito-checkbox.js';
import FacetSidebar from './elements/facetsidebar.js';
import ListFacet from './elements/list-facet.js';
import ThumbnailFacet from './elements/thumbnail-facet.js';
import LinkFacet from './elements/link-facet.js';
import LiteralFacet from './elements/literal-facet.js';
import VitalsFacet from './elements/vitals-facet.js';
import URLSelector from './elements/url-selector.js';
import NumberFormat from './elements/number-format.js';
import DateRangePicker from './elements/daterange-picker.js';
window.slicer = {
Chart: SkylineChart,
};
customElements.define('incognito-checkbox', IncognitoCheckbox);
customElements.define('facet-sidebar', FacetSidebar);
customElements.define('list-facet', ListFacet);
customElements.define('thumbnail-facet', ThumbnailFacet);
customElements.define('link-facet', LinkFacet);
customElements.define('literal-facet', LiteralFacet);
customElements.define('vitals-facet', VitalsFacet);
customElements.define('url-selector', URLSelector);
customElements.define('conversion-tracker', ConversionTracker);
customElements.define('number-format', NumberFormat);
customElements.define('daterange-picker', DateRangePicker);
</script>
<script src="./slicer.js" type="module"></script>
<link rel="stylesheet" href="./rum-slicer.css">
</head>
<body>
<header></header>
<main>
<div>
<div id="deepmain">
<div class="output">
<div class="title">
<url-selector>www.aem.live</url-selector>
<daterange-picker id="view">
<ul hidden>
<li data-value="week">Last week</li>
<li data-value="month" aria-selected="true">Last month</li>
<li data-value="year">Last year</li>
<li data-value="custom">Custom</li>
</ul>
</daterange-picker>
<incognito-checkbox></incognito-checkbox>
</div>
<div class="key-metrics">
<ul>
<li id="pageviews" title="Estimate of page views based on RUM data collected and sampling rate">
<h2>Page views</h2>
<p><number-format>0</number-format></p>
</li>
<li id="visits" title="Page views which were not linked from another page on this site">
<h2>Visits</h2>
<p><number-format>0</number-format></p>
</li>
<conversion-tracker id="conversions" title="Page views with a user click outside a consent dialog">
<h2>Engagement</h2>
<p><number-format>0</number-format></p>
</conversion-tracker>
<li id="lcp" title="Largest Contentful Paint">
<h2>LCP</h2>
<p><number-format precision="2" fuzzy="false">0</number-format></p>
</li>
<li id="cls" title="Cumulative Layout Shift">
<h2>CLS</h2>
<p><number-format precision="2" fuzzy="false">0</number-format></p>
</li>
<li id="inp" title="Interaction to Next Paint">
<h2>INP</h2>
<p><number-format precision="2" fuzzy="false">0</number-format></p>
</li>
</ul>
<div class="key-metrics-more" aria-hidden="true">
<ul>
<li id="cls" title="Time to First Byte">
<h2>TTFB</h2>
<p><number-format>0</number-format></p>
</li>
</ul>
</div>
</div>
<figure>
<div class="chart-container solitary">
<canvas id="time-series"></canvas>
</div>
<div class="filter-tags"></div>
<figcaption>
<span aria-hidden="true" id="low-data-warning"><span class="danger-icon"></span> small sample size,
accuracy
reduced.</span>
<span id="timezone"></span>
</figcaption>
</figure>
</div>
<facet-sidebar>
<list-facet facet="type">
<legend>Host Type</legend>
<dl>
<dt>aemcs</dt>
<dd>AEM as a Cloud Service</dd>
<dt>helix</dt>
<dd>aem.live or Standalone</dd>
<dt>ams</dt>
<dd>Adobe Managed Services</dd>
<dt>commerce</dt>
<dd>Adobe Commerce Cloud</dd>
</dl>
</list-facet>
<list-facet facet="userAgent" drilldown="share.html">
<legend>Device Type and Operating System</legend>
<a href="/docs/optel-explorer#device-share" class="help" target="_blank"
title="What devices and operating systems have accessed your site?"></a>
<dl>
<dt>desktop</dt>
<dd>All Desktop</dd>
<dt>desktop:windows</dt>
<dd>Windows Desktop</dd>
<dt>desktop:mac</dt>
<dd>Mac Desktop</dd>
<dt>desktop:linux</dt>
<dd>Linux Desktop</dd>
<dt>desktop:chromeos</dt>
<dd>Chrome OS Desktop</dd>
<dt>mobile</dt>
<dd>All Mobile</dd>
<dt>mobile:android</dt>
<dd>Android Mobile</dd>
<dt>mobile:ios</dt>
<dd>iOS Mobile</dd>
<dt>mobile:ipados</dt>
<dd>iPad Mobile</dd>
<dt>bot</dt>
<dd>All Bots</dd>
<dt>bot:seo</dt>
<dd>SEO Bot</dd>
<dt>bot:search</dt>
<dd>Search Engine Crawler</dd>
<dt>bot:ads</dt>
<dd>Ad Bot</dd>
<dt>bot:social</dt>
<dd>Social Media Bot</dd>
</dl>
</list-facet>
<link-facet facet="url" drilldown="list.html" thumbnail="true" highlight="filter">
<legend>URL</legend>
<a href="/docs/optel-explorer#url" class="help" target="_blank"
title="What different pages make up your site?"></a>
</link-facet>
<list-facet facet="checkpoint" drilldown="flow.html" highlight="filter">
<legend>Checkpoints</legend>
<a href="/docs/optel-explorer#checkpoints" class="help" target="_blank"
title="What type of activity data is collected?"></a>
<dl>
<dt>enter</dt>
<dd>Visit Entry</dd>
<dt>loadresource</dt>
<dd>Fragment Loaded</dd>
<dt>404</dt>
<dd>Not Found</dd>
<dt>viewblock</dt>
<dd>Block Viewed</dd>
<dt>viewmedia</dt>
<dd>Media Viewed</dd>
<dt>click</dt>
<dd>Clicked</dd>
<dt>error</dt>
<dd>JavaScript Error</dd>
<dt>acquisition</dt>
<dd>Traffic Acquisition</dd>
<dt>consent</dt>
<dd>Consent</dd>
<dt>navigate</dt>
<dd>Internal Navigation</dd>
<dt>cwv-lcp</dt>
<dd>Largest Contentful Paint</dd>
<dt>language</dt>
<dd>Language Preference</dd>
<dt>redirect</dt>
<dd>Redirect</dd>
<dt>experiment</dt>
<dd>Experiment</dd>
<dt>a11y</dt>
<dd>Accessibility</dd>
<dt>formsubmit</dt>
<dd>Form Submission</dd>
<dt>fill</dt>
<dd>Form Fill</dd>
</dl>
</list-facet>
<literal-facet facet="click.source" drilldown="list.html">
<legend>Click Source (CSS Selector)</legend>
<a href="/docs/optel-explorer#facet-click" class="help" target="_blank"
title="Where the page visitors clicked?"></a>
</literal-facet>
<link-facet facet="click.target" drilldown="list.html">
<legend>Click Target (URL)</legend>
<a href="/docs/optel-explorer#facet-click" class="help" target="_blank"
title="What links the page visitors clicked?"></a>
</link-facet>
<literal-facet facet="viewmedia.source" drilldown="list.html">
<legend>Media Source (CSS Selector)</legend>
<a href="/docs/optel-explorer#facet-viewmedia" class="help" target="_blank"
title="What image/video visitors have seen?"></a>
</literal-facet>
<thumbnail-facet facet="viewmedia.target" drilldown="list.html">
<legend>Media Target</legend>
<a href="/docs/optel-explorer#facet-viewmedia" class="help" target="_blank"
title="Preview of the image/video visitors have seen"></a>
</thumbnail-facet>
<literal-facet facet="viewblock.source" drilldown="list.html">
<legend>Block (CSS Selector)</legend>
<a href="/docs/optel-explorer#facet-viewblock" class="help" target="_blank"
title="What blocks page visitors have seen? (dialog for elements which are fixed in the viewport and can't be scrolled away)"></a>
</literal-facet>
<link-facet facet="enter.source" drilldown="list.html" thumbnail="true" favicon="true">
<legend>External Referrer</legend>
<a href="/docs/optel-explorer#facet-enter" class="help" target="_blank"
title="How the visitors entered into the site?"></a>
<dl>
<dt>(direct)</dt>
<dd>Direct Entry (or via App)</dd>
</dl>
</link-facet>
<list-facet facet="enter.target">
<legend>Enter Target</legend>
<a href="/docs/optel-explorer#facet-enter" class="help" target="_blank"
title="How did the user open the site page? (directly or probably in a new tab)"></a>
<dl>
<dt>visible</dt>
<dd>Visible</dd>
<dt>hidden</dt>
<dd>Opened in background</dd>
</dl>
</list-facet>
<link-facet facet="navigate.source" thumbnail="true" drilldown="list.html">
<legend>Internal Referrer</legend>
<a href="/docs/optel-explorer#facet-navigate" class="help" target="_blank"
title="Internal navigation paths on the site"></a>
</link-facet>
<list-facet facet="consent.source">
<legend>Consent Provider</legend>
<a href="docs/optel-explorer#facet-consent" class="help" target="_blank"
title="Which consent provider is enabled on the site?"></a>
<dl>
<dt>onetrust</dt>
<dd>OneTrust</dd>
<dt>truste</dt>
<dd>TrustArc</dd>
<dt>usercentrics</dt>
<dd>Usercentrics</dd>
<dt>cybot</dt>
<dd>Cybot</dd>
</dl>
</list-facet>
<list-facet facet="consent.target">
<legend>Consent Dialog</legend>
<a href="docs/optel-explorer#facet-consent" class="help" target="_blank"
title="How does the user interact with the consent window/modal on the site?"></a>
<dl>
<dt>show</dt>
<dd>Dialog Shown</dd>
<dt>hidden</dt>
<dd>Dialog Hidden</dd>
<dt>accept</dt>
<dd>Consent provided</dd>
<dt>reject</dt>
<dd>Consent withheld</dd>
</dl>
</list-facet>
<list-facet facet="acquisition.source" drilldown="share.html">
<legend>Inorganic Traffic Source</legend>
<a href="/docs/optel-explorer#facet-acquisition" class="help" target="_blank"
title="Which inorganic traffic sources are driving traffic to the site?"></a>
<dl>
<dt>paid</dt>
<dd>All paid traffic</dd>
<dt>owned</dt>
<dd>All owned traffic</dd>
<dt>earned</dt>
<dd>All earned traffic</dd><!-- this is not being classified yet -->
<dt>paid:search</dt>
<dd>Paid Search</dd>
<dt>paid:search:google</dt>
<dd>Google Ads</dd>
<dt>paid:search:bing</dt>
<dd>Bing Ads</dd>
<dt>paid:search:yahoo</dt>
<dd>Yahoo Ads</dd>
<dt>paid:social</dt>
<dd>Paid Social Media</dd>
<dt>paid:social:facebook</dt>
<dd>Facebook Ads</dd>
<dt>paid:social:twitter</dt>
<dd>X Ads</dd>
<dt>paid:social:linkedin</dt>
<dd>LinkedIn Ads</dd>
<dt>paid:social:instagram</dt>
<dd>Instagram Ads</dd>
<dt>paid:social:pinterest</dt>
<dd>Pinterest Ads</dd>
<dt>paid:display</dt>
<dd>Paid Display</dd>
<dt>paid:display:google</dt>
<dd>Google Display Ads</dd>
<dt>paid:display:microsoft</dt>
<dd>Microsoft Display Ads</dd>
<dt>paid:video</dt>
<dd>Paid Video</dd>
<dt>paid:video:youtube</dt>
<dd>YouTube Ads</dd>
<dt>paid:video:tiktok</dt>
<dd>TikTok Ads</dd>
<dt>:social</dt>
<dd>Paid or owned Social Media</dd>
<dt>:social:facebook</dt>
<dd>Facebook</dd>
<dt>:social:twitter</dt>
<dd>X</dd>
<dt>:social:linkedin</dt>
<dd>LinkedIn</dd>
<dt>:social:instagram</dt>
<dd>Instagram</dd>
<dt>:social:pinterest</dt>
<dd>Pinterest</dd>
<dt>owned:email</dt>
<dd>Email</dd>
<dt>owned:email:organic</dt>
<dd>Marketo Email</dd>
</dl>
</list-facet>
<link-facet facet="error.source">
<legend>Error Source</legend>
<a href="/docs/optel-explorer#facet-error" class="help" target="_blank"
title="Which files/functions in the code of the site have Javascript errors?"></a>
</link-facet>
<literal-facet facet="error.target">
<legend>Error Detail</legend>
<a href="/docs/optel-explorer#facet-error" class="help" target="_blank"
title="Details of the Javascript errors found on the site"></a>
</literal-facet>
<list-facet facet="loadresource.histogram" sort="asc">
<legend>Resource Load Time (ms)</legend>
<a href="/docs/optel-explorer#facet-loadresource" class="help" target="_blank"
title="How long does it take to load the resources (fragments or JSON API endpoints) on the site?"></a>
</list-facet>
<list-facet facet="loadresource.source">
<legend>Resource Loaded</legend>
<a href="/docs/optel-explorer#facet-loadresource" class="help" target="_blank"
title="What fragments and JSON API endpoints are loaded for the site ?"></a>
</list-facet>
<list-facet facet="missingresource.source">
<legend>Missing Resource</legend>
<a href="/docs/optel-explorer#facet-missingresource" class="help" target="_blank"
title="What resources are missing from the site pages ?"></a>
</list-facet>
<literal-facet facet="cwv-lcp.source">
<legend>LCP Element (DOM)</legend>
<a href="/docs/optel-explorer#facet-lcp" class="help" target="_blank"
title="Elements of page that are slowing down page loading"></a>
</literal-facet>
<thumbnail-facet facet="cwv-lcp.target">
<legend>LCP Element (Preview)</legend>
<a href="/docs/optel-explorer#facet-lcp" class="help" target="_blank"
title="Preview of the elements of page that are slowing down page loading"></a>
</thumbnail-facet>
<list-facet facet="language.source">
<legend>Content Language</legend>
<a href="/docs/optel-explorer#facet-language" class="help" target="_blank"
title="What content languages are detected on the site?"></a>
</list-facet>
<list-facet facet="language.target">
<legend>Language Preference</legend>
<a href="/docs/optel-explorer#facet-language" class="help" target="_blank"
title="What language do users select as their preferred language on the site?"></a>
</list-facet>
<link-facet facet="redirect.source">
<legend>Redirect Source</legend>
<a href="/docs/optel-explorer#facet-redirect" class="help" target="_blank"
title="What links of the site are redirecting?"></a>
</link-facet>
<list-facet facet="redirect.target">
<legend>Redirect Count</legend>
<a href="/docs/optel-explorer#facet-redirect" class="help" target="_blank"
title="Number of hops it took to reach the final destination page"></a>
</list-facet>
<list-facet facet="experiment.source">
<legend>Experiment ID</legend>
<a href="/docs/optel-explorer#facet-experiment" class="help" target="_blank"
title="What experiments are running on the site?"></a>
</list-facet>
<list-facet facet="experiment.target">
<legend>Selected Variant</legend>
</list-facet>
<list-facet facet="a11y.source">
<legend>Accessibility Preferences</legend>
<a href="/docs/optel-explorer#facet-accessibility" class="help" target="_blank"
title="What accessibility features are detected on the site?"></a>
<dl>
<dt>off</dt>
<dd>No Accessibility Features Detected</dd>
<dt>on</dt>
<dd>Accessibility Features Detected</dd>
<dt>low</dt>
<dd>Basic Accessibility Features Detected</dd>
<dt>medium</dt>
<dd>Moderate Accessibility Features Detected</dd>
<dt>high</dt>
<dd>Advanced Accessibility Features Detected</dd>
</dl>
</list-facet>
<list-facet facet="utm.source">
<legend>UTM Source</legend>
<a href="/docs/optel-explorer#facet-utm" class="help" target="_blank"
title="Where the user came from before landing on the site?"></a>
</list-facet>
<list-facet facet="utm.target">
<legend>UTM Target</legend>
<a href="/docs/optel-explorer#facet-utm" class="help" target="_blank"
title="categorization of the UTM sources driving traffic to the site"></a>
</list-facet>
<list-facet facet="formsubmit.source"
href="/docs/optel-explorer#facet-formsubmit" class="help" target="_blank"
title="Which forms the user submitted">
<legend>Form Submit Source (CSS Selector)</legend>
</list-facet>
<list-facet facet="formsubmit.target"
href="/docs/optel-explorer#facet-formsubmit" class="help" target="_blank"
title="The endpoints where the user submitted the form">
<legend>Form Submit Target</legend>
</list-facet>
<list-facet facet="fill.source"
href="/docs/optel-explorer#facet-fill" class="help" target="_blank"
title="The fields of the form that the user filled">
<legend>Form Field Source (CSS Selector)</legend>
</list-facet>
</facet-sidebar>
</div>
</div>
</main>
<footer></footer>
<div id="copied-toast" class="toast" aria-hidden="true">
Rows copied to clipboard, ready to paste into spreadsheet
</div>
<div id="shared-toast" class="toast" aria-hidden="true">
Link copied to clipboard, ready to share
</div>
</body>
</html>