forked from alpha-canada-ca/performance
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·1244 lines (1160 loc) · 75.5 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
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
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<!--[if lt IE 9]>
<html class="no-js lt-ie9" lang="en" dir="ltr">
<![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW) wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html -->
<title data-i18n="app-title">Page analytics tool</title>
<!-- Meta data -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- Meta data -->
<meta name="dcterms.title" content="Page Analytics Tool"/>
<meta name="dcterms.language" content="eng"/>
<meta name="dcterms.creator" content="Canada Revenue Agency"/>
<meta name="dcterms.accessRights" content="2"/>
<meta property="dcterms.service" content="CRA-ARC_Page-Analytics-Tool"/>
<!-- Load closure template scripts -->
<script src="https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/soyutils.js"></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>
<script src="https://unpkg.com/tippy.js@6"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.3/jspdf.min.js"></script>
<script src="//assets.adobedtm.com/be5dfd287373/0127575cd23a/launch-f7c3e6060667.min.js"></script>
<script src="https://html2canvas.hertzen.com/dist/html2canvas.js"></script>
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.2.61/jspdf.min.js"></script> -->
<script>
var altLang = "fr"
var altLangC = "eng";
var altLangText = "Français";
if (location.search.indexOf("lang=fr") > -1) {
document.documentElement.lang = "fr";
altLang = "en";
altLangC = "fra";
altLangText = "English";
}
const inlineScript = document.createElement('script');
inlineScript.src = "https://www.canada.ca/etc/designs/canada/cdts/gcweb/rn/cdts/compiled/wet-" + document.documentElement.lang + ".js";
//document.appendChild(inlineScript.outerHTML);
document.write(inlineScript.outerHTML);
</script>
<link rel="stylesheet" type="text/css" href="assets/style.css" /> <!-- load local stylesheet -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!-- load font awesome stylesheet -->
<noscript>
<link rel="stylesheet" href="gcweb/wet-boew/css/noscript.min.css" /> <!-- load web experience toolkit stylesheet -->
</noscript>
<!-- Write closure template -->
<script>
//script.onreadystatechange = script.onload = null;
document.write(wet.builder.refTop({
}));
</script>
</head>
<body vocab="http://schema.org/" typeof="WebPage">
<section class="experimental alpha-top">
<h2 class="wb-inv" data-i18n="Alpha"></h2>
<div class="container">
<small><label class="alpha-label" data-i18n="Alpha"></label> <span data-i18n="alphaMsg"></span> </small>
</div>
</section>
<div id="def-top">
<!-- Write closure fall-back static file -->
<!-- /ROOT/app/cls/WET/gcweb/v4_0_28/cdts/static/appTop-en.html -->
</div>
<!-- Write closure template -->
<script>
var defTop = document.getElementById("def-top");
defTop.outerHTML = wet.builder.top({
"lngLinks": [{
"lang": altLang,
"href": "?lang=" + altLang,
"text": altLangText
}]
/*,
"breadcrumbs": [{
"title": "Home",
"href": "https://www.canada.ca/en/index.html"
}, {
"title": "CDTS",
"acronym": "Centrally Deployed Templates Solution",
"href": "https://www.canada.ca/en/index.html"
}]*/
});
</script>
<main property="mainContentOfPage" class="container" typeof="WebPageElement">
<h1 id="wb-cont" property="name" data-i18n="app-title"></h1>
<div class="clearfix"></div>
<div class="wb-frmvld">
<form id="urlform" action="#" method="post" data-gc-analytics-formname="CRA-ESDC-TBS|ARC-EDSC-SCT:Page analytics tool" >
<p data-i18n="[html]BlurbP1"></p>
<!-- <p data-i18n="BlurbP2"></p> -->
<input type='hidden' name='dd-value'>
<!--<label for="btngrp-search2" class="wb-inv" data-i18n="Search"></label>
<p data-i18n="EnterthepageURL"></p> -->
<!--
<label for="urlval" class="required"><span class="field-name" data-i18n="SearchCanada"></span> <strong class="required" data-i18n="Required"></strong></label>
<div class="input-group">
<input type="search" id="urlval" name="urlval" class="form-control" required="required" size="6" />
<span class="input-group-btn">
<button class="btn btn-default" id="searchBttn" type="submit"><span class="glyphicon-search glyphicon"></span> <span data-i18n="Getdata"></span></button>
<div class="clearfix" style="margin-bottom: 10px;"></div>
</span>
</div>
-->
<div class="form-group">
<label for="urlval" class="required"><span class="field-name" data-i18n="SearchCanada"></span> <strong class="required" data-i18n="Required"></strong></label>
<input data-gc-analytics-collect="notPrivate" type="search" id="urlval" name="urlval" class="form-control" required="required" style="width: 100%" />
</div>
<div class="form-group">
<select id="date-range" class="form-control" name="date-range">
<option data-value="2" data-index="2" value="2" data-i18n="Yesterday" selected="selected">Yesterday</option> <!-- data-index must equal 2 so that process.php can use $yesterday -->
</select>
<!-- calendar date picker for startdate -->
<div class="form-group">
<label for="startdate" class="required">
<span class="field-name" data-i18n="select-startdate"></span>
<strong class="required" data-i18n="Required"></strong>
<sup>
<button class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="startdate-info-label"
aria-describedby="startdate-info-description"
onclick="openOverlay('date_start_content_modal')" type="button">
</button>
<!-- <span class="wb-inv" data-i18n="hlp-three"></span> -->
</sup>
</label>
<input class="form-control" type="date" id="startdate" name="startdate" min="" required="required" aria-labelledby="startdate-description" />
<span id="startdate-info-label" class="wb-inv" data-i18n="startdate-hlp-label"></span>
<span id="startdate-info-description" class="wb-inv" data-i18n="startdate-hlp-description"></span>
<span id="startdate-description" class="wb-inv" data-i18n="select-startdate-description"></span>
<!-- <span id="startDateHelp" class="wb-inv" data-i18n="hlp-three"></span> -->
</div>
<!-- calendar date picker for enddate -->
<div class="form-group">
<!-- <label for="enddate" class="required">
<span class="field-name" data-i18n="select-enddate"></span>
<strong class="required" data-i18n="Required" data-i18n-aria-label="hlp-three"></strong>
<sup>
<a href="javascript:void(0);" class="glyphicon glyphicon-info-sign" data-i18n-aria-label="hlp-modal-enddate" onclick="openOverlay('date_end_content_modal')"></a> -->
<!-- <span class="wb-inv" data-i18n="hlp-three"></span> -->
<!-- </sup>
</label>
<input class="form-control" type="date" id="enddate" name="enddate" min="" required="required" aria-label="Select end date, required field. Enter the date in the format: year (four digits), month (two digits), day (two digits)" />-->
<!-- <span id="endDateHelp" class="wb-inv" data-i18n="hlp-three"></span> -->
<label class="required" for="enddate">
<span class="field-name" id="enddate-field-name" data-i18n="select-enddate"></span>
<strong class="required" data-i18n="Required"></strong>
<sup>
<button class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="enddate-info-label"
aria-describedby="enddate-info-description"
onclick="openOverlay('date_end_content_modal')" type="button">
</button>
</sup>
</label>
<input class="form-control" type="date" id="enddate" name="enddate" min="" required="required" aria-labelledby="enddate-description" />
<span id="enddate-info-label" class="wb-inv" data-i18n="enddate-hlp-label"></span>
<span id="enddate-info-description" class="wb-inv" data-i18n="enddate-hlp-description"></span>
<span id="enddate-description" class="wb-inv" data-i18n="select-enddate-description"></span>
</div>
</div>
<button data-gc-analytics-formsubmit="submit" class="btn btn-primary" id="searchBttn" type="submit"><span class="glyphicon-search glyphicon"></span> <span data-i18n="Getdata"></span></button>
</form>
</div>
<!-- LOADING WHILE SEARCHING -->
<!--
<section id="loading-popup-modal" class="hidden">
<div id="popup-modal-overlay" class="modal"></div>
<div id="popup-modal" class="modal-dialog modal-content overlay-def">
<header class="modal-header">
<i class="fa-solid fa-circle-notch fa-spin"></i>
<h2 class="modal-title">
<i class="fa fa-spinner fa-spin fa-fw" style="font-size:24px"></i>
<span id="loadGSC" aria-live="assertive" aria-atomic="true" aria-relevant="all"></span>
<span id="loadAA" aria-live="polite" aria-atomic="true" aria-relevant="all"></span>
<span id="loadFD" aria-live="polite" aria-atomic="true" aria-relevant="all"></span>
<span id="loadComp" aria-live="assertive" aria-atomic="true" aria-relevant="all"></span>
</h2>
</header>
<div class="modal-body">
<p>We are working to get the data you requested. If it takes longer than a few minutes to load, please refresh the page and try again.</p>
<hr>
<p><b>While you are waiting, here’s a quick joke to pass the time...</b></p>
<p><span id="quote"></span></p>
-->
<!-- QUOTE RANDOMIZER -->
<!--
<script>
/*
var quoteArray = new Array(5);
var n = setTimeout(function(){
var randomNumber = Math.round(Math.random()*(quoteArray.length-1));
var quoteNumber = "quote" + randomNumber;
console.log("quote number " + quoteNumber);
$('#quote').attr("data-i18n", quoteNumber);
$(document).i18n();
}, 1000);
*/
var quote = [
"Why did Hans Solo not enjoy his steak dinner? It was Chewie!",
"What do dentists call their x-rays? Tooth pics!",
"Why should you take a data scientist with you into the jungle? They can take care of Python problems.",
"How much data can be stored in a glacier? A frostbyte.",
"Did you hear about the first restaurant to open on the moon? It had great food, but no atmosphere.",
"When does a joke become a 'dad joke'? When it becomes apparent.",
"What did one ocean say to the other ocean? Nothing, it just waved.",
"What did the janitor say when he jumped out of the closet? Supplies!"
];
var t = setTimeout(function(){
var randomNumber = Math.round(Math.random()*(quote.length-1));
$('#quote').html(quote[randomNumber]);
}, 1000);
</script>
</div>
</div>
</section>
-->
<p id="loading" role="region" class="hidden" style="margin-top: 10px;">
<i class="fa fa-spinner fa-spin fa-fw" style="font-size:24px"></i>
<span id="loadGSC" aria-live="assertive" aria-atomic="true" aria-relevant="all"></span>
<span id="loadAA" aria-live="polite" aria-atomic="true" aria-relevant="all"></span>
<span id="loadFD" aria-live="polite" aria-atomic="true" aria-relevant="all"></span>
<span id="loadComp" aria-live="assertive" aria-atomic="true" aria-relevant="all"></span>
</p>
<!-- CHANGES CHECKLIST #3E -->
<!-- possible solution to re-enable search if loading takes longer than 5 minutes, commented out for now -->
<!--
<script>
function hideLoading() {
// hide the loading element
const loadingElement = document.getElementById("loading");
if (loadingElement) {
loadingElement.classList.add("hidden");
}
// enable the search button
const searchButton = document.getElementById("searchBttn");
if (searchButton) {
searchButton.disabled = false;
}
// unhide the notfoundGC element
const notfoundGCElement = document.getElementById("notfoundGC");
if (notfoundGCElement) {
notfoundGCElement.classList.remove("hidden");
}
}
// Set a timer to hide the loading element after 10 minutes (600000 milliseconds)
const timer = setTimeout(hideLoading, 600000);
</script>
-->
<!-- return error message invalid url if 'notfound' triggered in api.js after 'Get data' button clicked-->
<div id="notfound" class="hidden" role="alert" aria-live="assertive" aria-atomic="true" aria-relevant="additions" style="padding-top:15px">
<p><span class="glyphicon glyphicon-exclamation-sign" style="padding-right:10px"></span><span data-i18n="Opps"></span></p>
</div>
<!-- return error message invalid url if 'notfoundGC' triggered in api.js after 'Get data' button clicked-->
<div id="notfoundGC" class="hidden" role="alert" aria-live="assertive" aria-atomic="true" aria-relevant="additions" style="padding-top:15px">
<p><span class="glyphicon glyphicon-exclamation-sign" style="padding-right:10px"></span><span data-i18n="[html]OppsGC"></span></p>
</div>
<div id="error" class="hidden" role="alert" aria-live="assertive" aria-atomic="true" aria-relevant="additions" style="padding-top:15px">
<p><span class="glyphicon glyphicon-exclamation-sign" style="padding-right:10px"></span><span class="error_display" data-i18n="errorOccured" data-i18n-aria-label=""></span></p>
<details id="error-canvas">
<summary data-i18n="moreDetails"></summary>
<p><strong data-i18n="title" data-i18n-aria-label="title"></strong>: <span id="errorHeader"></span></p>
<p><strong data-i18n="message" data-i18n-aria-label="message"></strong>: <span id="errorDetails"></span></p>
</details>
</div>
<!--
<div id="ajax-status-alert" aria-live="polite" data-toggle-class="alert alert-warning">
<span class="ajax-status-alert__text"></span>
<i class="ajax-status-alert__icon glyphicon glyphicon-refresh glyphicon-spin" role="presentation" aria-hidden="true"></i>
</div>
-->
<div id="whole-canvas" class="hidden" aria-live="polite" aria-atomic="true" aria-relevant="additions">
<!-- <button type="button" id="download-pdf">Download PDF</button> -->
<span id="numWeeks" class="hidden"></span>
<span id="numDays" class="hidden"></span>
<div class="row">
<div class="col-md-12">
<h2><span class="wb-inv" data-i18n="Datafor"></span><span id="h2title" data-i18n="Page-levelstatistics"></span></h2>
<span id="urlStatic" class="small"></span>
<p class="small"><a id="h2href" href="#" data-i18n="LanguageToggle"></a></p> <!-- link to view analytics for equivalent FR/EN page, if it is a canada.ca url -->
<p id="urlLang" class="hidden"></p>
</div>
<div class="col-md-3" style="margin-bottom: 15px;">
<!--
<form id="ddRange" action="#" method="post">
<label class="control-label" id="dt-rng" for="date-range" data-i18n="select-date"></label>
<div class="input-group">
<select id="date-range" class="form-control" name="date-range" style="width:100%">
<option data-value="31" data-index="0" value="0" data-i18n="Last30days"></option>
<option data-value="8" data-index="1" value="1" data-i18n="Last7days" selected="selected"></option>
<option data-value="2" data-index="2" value="2" data-i18n="Yesterday"></option>
</select>
<span class="input-group-btn">
<button class="btn btn-default" id="searchBttn" type="submit"><span data-i18n="Go"></span></button>
<div class="clearfix" style="margin-bottom: 10px;"></div>
</span>
</div>
</form>
<div id="langCheckID" class="hidden">
<label id ="langCheck" for="dt-rng" data-i18n="LanguageCheck"></label>
<select id="langCheck" class="form-control" name="dt-rng" >
<option label="Select a language"></option>
<option data-index="0" value="0" data-i18n="LanguageCheckEnglish" selected="selected"></option>
<option data-index="1" value="1" data-i18n="LanguageCheckFrench"></option>
</select>
</div>
-->
</div>
</div>
<div class="clearfix"></div>
<!-- <button class="btn btn-default" onClick="getPDF();">Print to PDF</button> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<!-- WEB ANALYTICS -->
<details id="details-panel1" open="open">
<summary><span data-i18n="Webanalytics"></span></summary>
<!-- AA DATA -->
<div id="canvas-container" class="hidden">
<!-- DATE RANGE -->
<p>
<span id="fromGSC" class="hidden"></span>
<span id="toGSC" class="hidden"></span>
<strong data-i18n="Period:"></strong> <span id="fromdaterange"></span> <span id="to" data-i18n="to"></span> <span id="todaterange"></span>
<!--<sup id="fn1-rf"><a class="fn-lnk" href="#fn1"><span class="wb-inv">Footnote </span>1</a></sup>-->
</p>
<!-- On this page -->
<h2><strong data-i18n="Onthispage"></strong></h2>
<!-- English table of contents anchor links -->
<ul id="table-of-contents-english">
<li><a href="#key-metrics"><span data-i18n="Keymetrics"></span></a>
<ul>
<li><a href="#chart-trnds"><span data-i18n="Visitstrendbycurrentyearandpreviousyear"></span></a></li>
</ul>
</li>
<li><a href="#traffic-sources"><span data-i18n="Trafficsources"></span></a>
<ul>
<li><a href="#reft-container"><span data-i18n="Referringtypes"></span></a></li>
<li><a href="#ppt-container"><span data-i18n="Whereuserscamefrom"></span></a></li>
</ul>
</li>
<li><a href="#visitor-profile"><span data-i18n="Visitorprofile"></span></a>
<ul>
<li><a href="#geo-container"><span data-i18n="Whereaccess"></span></a></li>
<li><a href="#chart-pltfrms"><span data-i18n="Numberofvisits(%)bydevicesused"></span></a></li>
</ul>
</li>
<li><a href="#visitor-activity"><span data-i18n="Visitoractivity"></span></a>
<ul>
<li><a href="#np-container"><span data-i18n="Whatusersclickedon"></span></a></li>
</ul>
</li>
</ul>
<!-- French table of contents anchor links -->
<ul id="table-of-contents-french">
<li><a href="#mesures-clés"><span data-i18n="Keymetrics"></span></a>
<ul>
<li><a href="#chart-trnds"><span data-i18n="Visitstrendbycurrentyearandpreviousyear"></span></a></li>
</ul>
</li>
<li><a href="#sources-de-trafic"><span data-i18n="Trafficsources"></span></a>
<ul>
<li><a href="#reft-container"><span data-i18n="Referringtypes"></span></a></li>
<li><a href="#ppt-container"><span data-i18n="Whereuserscamefrom"></span></a></li>
</ul>
</li>
<li><a href="#profil-du-visiteur"><span data-i18n="Visitorprofile"></span></a>
<ul>
<li><a href="#geo-container"><span data-i18n="Whereaccess"></span></a></li>
<li><a href="#chart-pltfrms"><span data-i18n="Numberofvisits(%)bydevicesused"></span></a></li>
</ul>
</li>
<li><a href="#activité-de-visiteur"><span data-i18n="Visitoractivity"></span></a>
<ul>
<li><a href="#np-container"><span data-i18n="Whatusersclickedon"></span></a></li>
</ul>
</li>
</ul>
<!-- KEY METRICS -->
<div class="row">
<!-- English anchor link -->
<h2 id="key-metrics" style="margin-left: 15px;"><strong data-i18n="Keymetrics"></strong> </h2>
<!-- French anchor link -->
<h2 id="mesures-clés" style="margin-left: 15px;"><strong data-i18n="Keymetrics"></strong> </h2>
<!-- UNIQUE VISITORS -->
<div class="col-md-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Averageuniquevisitors"></strong>
<sup>
<!-- <span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('uniquev_content_modal')"></span> -->
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-unique-visitors-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('uniquev_content_modal')" type="button">
</button>
</sup>
<span id="hlp-unique-visitors-title" class="wb-inv" data-i18n="hlp-unique-visitors-title"></span>
<span id="opens-modal-window" class="wb-inv" data-i18n="opens-modal-window"></span>
</p>
<div id="uv"></div>
<p></p>
</section>
</div>
<!-- VISITS -->
<div class="col-md-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Averagevisits"></strong>
<sup>
<!-- <span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('visits_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-average-visits-title"></span>-->
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-average-visits-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('visits_content_modal')" type="button">
</button>
</sup>
<span id="hlp-average-visits-title" class="wb-inv" data-i18n="hlp-average-visits-title"></span>
</p>
<div id="visit"></div>
<p></p>
</section>
</div>
<!-- PAGE VIEWS -->
<div class="col-md-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Averagepageviews"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('pv_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-average-pgv-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-average-pgv-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('pv_content_modal')" type="button">
</button>
</sup>
<span id="hlp-average-pgv-title" class="wb-inv" data-i18n="hlp-average-pgv-title"></span>
</p>
<div id="pagev"></div>
<p></p>
</section>
</div>
<!-- AVG TIME ON PAGE -->
<div class="col-md-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Averagetimespent"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('tmspnt_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-average-tmspnt-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-average-tmspnt-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('tmspnt_content_modal')" type="button">
</button>
</sup>
<span id="hlp-average-tmspnt-title" class="wb-inv" data-i18n="hlp-average-tmspnt-title"></span>
</p>
<div id="avgtime"></div>
<p></p>
</section>
</div>
<!-- DAILY VISITS -->
<div class="col-md-12">
<div id="chrtt" data-i18n="Nodata"></div>
<div id="chart-trnds">
<h3><span data-i18n="Visitstrendbycurrentyearandpreviousyear"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('chrtt_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-trends-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-trends-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('chrtt_content_modal')" type="button">
</button>
</sup>
<span id="hlp-trends-title" class="wb-inv" data-i18n="hlp-trends-title"></span>
</h3>
<div id="trends-canvas" style="width: 100%; height: 50vh;" aria-hidden="true">
<canvas id="trends" data-i18n="Textalternativeforthiscanvasgraphicisinthedatatablebelow." aria-hidden="true"></canvas>
</div>
<details>
<summary data-i18n="Visitstrendbycurrentandpreviousyear-Table"></summary>
<div id="tbl-trnds-container" class="table-responsive">
<table id="tbl-trnds" class="table table-border">
</table>
</div>
</details>
</div>
</div>
</div>
<!-- TRAFFIC SOURCES -->
<div class="row">
<!-- English anchor link -->
<h2 id="traffic-sources" style="margin-left: 15px;"><strong data-i18n="Trafficsources"></strong> </h2>
<!-- French anchor link -->
<h2 id="sources-de-trafic" style="margin-left: 15px;"><strong data-i18n="Trafficsources"></strong> </h2>
<!-- REFERRER TYPE -->
<div class="col-md-12" id="reft-container">
<h3><span data-i18n="Referringtypes"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('reft_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-refferrer-type-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-refferrer-type-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('reft_content_modal')" type="button">
</button>
</sup>
<span id="hlp-refferrer-type-title" class="wb-inv" data-i18n="hlp-refferrer-type-title"></span>
</h3>
<div id="reft" class="table-responsive"></div>
</div>
<!-- WHERE VISITORS CAME FROM -->
<div class="col-md-12" id="ppt-container">
<h3><span data-i18n="Whereuserscamefrom"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('ppt_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-users-came-from-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-users-came-from-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('ppt_content_modal')" type="button">
</button>
</sup>
<span id="hlp-users-came-from-title" class="wb-inv" data-i18n="hlp-users-came-from-title"></span>
</h3>
<div id="ppt" class="table-responsive"></div>
<!--<p id="pp" data-i18n="Nodata"></p>-->
</div>
<!-- CANADA.CA SEARCH TERMS -->
<div class="col-md-12" id="srchA-container">
<h3><span data-i18n="Searchtermsleadingtothispage"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('srchA_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-search-terms-lead-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-search-terms-lead-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('srchA_content_modal')" type="button">
</button>
</sup>
<span id="hlp-search-terms-lead-title" class="wb-inv" data-i18n="hlp-search-terms-lead-title"></span>
</h3>
<div id="srchA" class="table-responsive"></div>
</div>
</div>
<!-- VISITOR PROFILE -->
<div class="row">
<!-- English anchor link -->
<h2 id="visitor-profile" style="margin-left: 15px;"><strong data-i18n="Visitorprofile"></strong> </h2>
<!-- French anchor link -->
<h2 id="profil-du-visiteur" style="margin-left: 15px;"><strong data-i18n="Visitorprofile"></strong> </h2>
<!-- VISITOR LOCATION -->
<div class="col-md-12" id="geo-container">
<h3><span data-i18n="Whereaccess"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('provChart_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-whereaccess-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-whereaccess-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('provChart_content_modal')" type="button">
</button>
</sup>
<span id="hlp-whereaccess-title" class="wb-inv" data-i18n="hlp-whereaccess-title"></span>
</h3>
<div id="provChart" class="table-responsive"></div>
</div>
<!-- DEVICES USED -->
<div class="col-md-12">
<div id="chrtp" data-i18n="Nodata"></div>
<div id="chart-pltfrms">
<h3><span data-i18n="Numberofvisits(%)bydevicesused"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('chrtp_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-device-used-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-device-used-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('chrtp_content_modal')" type="button">
</button>
</sup>
<span id="hlp-device-used-title" class="wb-inv" data-i18n="hlp-device-used-title"></span>
</h3>
<div id="chart-canvas" style="width: 100%; height: 50vh;" aria-hidden="true">
<canvas id="chart" data-i18n="Textalternativeforthiscanvasgraphicisinthedatatablebelow." aria-hidden="true"></canvas>
</div>
<details>
<summary id="tbl-pltfrm-sumary" data-i18n="Numberofvisits(%)bydevicesused-Table"></summary>
<div class="table-responsive">
<table id="tbl-pltfrm" class="table table-border">
</table>
</div>
</details>
</div>
</div>
</div>
<!-- VISITOR ACTIVITY -->
<div class="row">
<!-- English anchor link -->
<h2 id="visitor-activity" style="margin-left: 15px;"><strong data-i18n="Visitoractivity"></strong> </h2>
<!-- French anchor link -->
<h2 id="activité-de-visiteur" style="margin-left: 15px;"><strong data-i18n="Visitoractivity"></strong> </h2>
<!-- WHAT VISITORS CLICKED ON -->
<div class="col-md-12" id="np-container">
<h3><span data-i18n="Whatusersclickedon"></span>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('np_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-users-click-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-users-click-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('np_content_modal')" type="button">
</button>
</sup>
<span id="hlp-users-click-title" class="wb-inv" data-i18n="hlp-users-click-title"></span>
</h3>
<section class="alert alert-info">
<h4 data-i18n="alert-am-removed-title"></h4>
<p data-i18n="alert-am-removed-text"></p>
</section>
<div id="np" class="table-responsive"></div>
</div>
<!-- CANADA.CA SITE SEARCHES -->
<div class="col-md-12" id="snum-container">
<h3><strong data-i18n="Searchesstartedfromthispage"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('snum_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-srch-started-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-srch-started-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('snum_content_modal')" type="button">
</button>
</sup>
<span id="hlp-srch-started-title" class="wb-inv" data-i18n="hlp-srch-started-title"></span>
</h3>
<p id="snum"></p>
<!-- PHRASES SEARCHED -->
<div id="srchP" class="table-responsive"></div>
</div>
</div>
<!-- REPORT A PROBLEM (HIDDEN) -->
<div class="col-md-6" id="fwlf-container" style="display: none;">
<div id="rap-container">
<h2><strong data-i18n="Reportaproblem"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('rap_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-rap-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-rap-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('rap_content_modal')" type="button">
</button>
</sup>
<span id="hlp-rap-title" class="wb-inv" data-i18n="hlp-rap-title"></span>
</h2>
<div id="rapCont" class="table-responsive"></div>
<div id="rapReason" class="table-responsive"></div>
</div>
<div id="fwylf-container">
<h2><strong data-i18n="FindWhatYoureLookingFor"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('fwylf_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-fwylf-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-fwylf-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('fwylf_content_modal')" type="button">
</button>
</sup>
<span id="hlp-fwylf-title" class="wb-inv" data-i18n="hlp-fwylf-title"></span>
</h2>
<div id="fwylfCont">
<div id="fwylfTable" class="table-responsive"></div>
<div id="fwylfReason" class="table-responsive"></div>
</div>
</div>
</div>
</div>
</details>
<!-- GOOGLE CONSOLE -->
<span id="numDaysgsc" class="hidden"></span>
<details id="details-panel2">
<summary><span data-i18n="Googlesearchanalytics"></span></summary>
<div id="gsc-content">
<p>
<strong data-i18n="Period:"></strong> <span id="fromdaterangegsc"></span> <span id="gscto" data-i18n="to"></span> <span id="todaterangegsc"></span> <sup id="fn1b-rf"><a class="fn-lnk" href="#fn1b"><span class="wb-inv">Footnote </span>1</a></sup> <!-- display the date range for the 'Google search analytics' data retreived in words -->
</p>
<div class="col-md-3 col-md-offset-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Totalclicks"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('gscc_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-total-clicks-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-total-clicks-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('gscc_content_modal')" type="button">
</button>
</sup>
<span id="hlp-total-clicks-title" class="wb-inv" data-i18n="hlp-total-clicks-title"></span>
</p>
<p class="mrgn-tp-md" id="gsc-clicks"></p>
</section>
</div>
<div class="col-md-3" style="vertical-align: top;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p class="blue-box"><strong data-i18n="Totalimpressions"></strong>
<!-- <sup>
<span class="glyphicon glyphicon-info-sign" aria-hidden="true" onclick="openOverlay('gsci_content_modal')"></span>
<span class="wb-inv" data-i18n="hlp-total-impressions-title"></span>
</sup> -->
<sup>
<button
class="glyphicon glyphicon-info-sign button-nostyle"
aria-labelledby="hlp-total-impressions-title"
aria-describedby="opens-modal-window"
onclick="openOverlay('gsci_content_modal')" type="button">
</button>
</sup>
<span id="hlp-total-impressions-title" class="wb-inv" data-i18n="hlp-total-impressions-title"></span>
</p>
<p class="mrgn-tp-md" id="gsc-imp"></p>
</section>
</div>
<!--
<div class="col-md-3" style="vertical-align: top; min-height: 102px;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p><strong data-i18n="Averagectr"></strong> <sup><i data-template="hlp-average-ctr" class="fas fa-question-circle" tabindex="0"></i></sup></p>
<p class="mrgn-tp-md" id="gsc-ctr"></p>
</section>
</div>
<div class="col-md-3" style="vertical-align: top; min-height: 102px;">
<section class="bg bg-success text-center brdr-lft brdr-lft brdr-rght brdr-tp brdr-bttm">
<p><strong data-i18n="Averageposition"></strong> <sup><i data-template="hlp-average-position" class="fas fa-question-circle" tabindex="0"></i></sup></p>
<p class="mrgn-tp-md" id="gsc-pos"></p>
</section>
</div>
-->
<div class="row">
<div class="col-md-12">
<h2 class="hidden"><strong data-i18n="Tableclicksimp"></strong></h2>
<div id="chrtgsc" data-i18n="Nodata"></div>
<div id="chartgsc">
<h3 class="hidden" data-i18n="Visitstrendbycurrentyearandpreviousyear"></h3>
<div id="gsc-canvas" style="width: 100%; height: 60vh;" aria-hidden="true">
<canvas id="gsc" data-i18n="Textalternativeforthiscanvasgraphicisinthedatatablebelow." aria-hidden="true"></canvas>
</div>
<details>
<summary><strong data-i18n="Tableclicksimp-Table"></strong></summary>
<div class="table-responsive">
<table id="tbl-gsc" class="table table-border">
</table>
</div>
</details>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h2><span data-i18n="AllQuery"></span>
<sup id="fn2-1b-rf"><a class="fn-lnk fas-1" href="#fn2b"><span class="wb-inv" data-i18n="Footnote"> </span>2</a></sup>
</h2>
<div id="gscQryAll" class="table-responsive"></div>
</div>
<div class="col-md-12">
<h2>
<span data-i18n="MobileQuery"></span>
<sup id="fn2-2b-rf"><a class="fn-lnk fas-1" href="#fn2b"><span class="wb-inv" data-i18n="Footnote"> </span>2</a></sup>
</h2>
<div id="gscQryMob" class="table-responsive"></div>
</div>
<div class="col-md-12">
<h2>
<span data-i18n="DesktopQuery"></span>
<sup id="fn2-3b-rf"><a class="fn-lnk fas-1" href="#fn2b"><span class="wb-inv" data-i18n="Footnote"> </span>2</a></sup>
</h2>
<div id="gscQryDesk" class="table-responsive"></div>
</div>
<div class="col-md-12">
<h2>
<span data-i18n="TabletQuery"></span>
<sup id="fn2-4b-rf"><a class="fn-lnk fas-1" href="#fn2b"><span class="wb-inv" data-i18n="Footnote"> </span>2</a></sup>
</h2>
<div id="gscQryTab" class="table-responsive"></div>
</div>
<div class="col-md-12">
<h2>
<span data-i18n="Countrieswhereuserscamefrom"></span>
<sup id="fn2-5b-rf"><a class="fn-lnk fas-1" href="#fn2b"><span class="wb-inv" data-i18n="Footnote"> </span>2</a></sup>
<!--
<sup>
<a class="fas fa-question-circle fas-1 wb-lbx lbx-modal" title="Help for term 'Region'" href="#gscr_content_modal"></a>
</sup>
-->
</h2>
<div id="gscCountry" class="table-responsive"></div>
</div>
</div>
<aside class="wb-fnote" role="note">
<h2 id="fnb" data-i18n="Footnotes"></h2>
<dl>
<dt data-i18n="Footnote1"></dt>
<dd id="fn1b">
<p data-i18n="ThedatesshownFootnote"></p>
<p class="fn-rtn"><a href="#fn1b-rf"><span class="wb-inv" data-i18n="Returntofootnote"> </span>1<span class="wb-inv" data-i18n="referrer"> </span></a></p>
</dd>
<dt data-i18n="Footnote2"></dt>
<dd id="fn2b">
<p data-i18n="hlp-ctr-title"></p>
<ul><li><span data-i18n="hlp-ctr"></span></li></ul>
<p data-i18n="hlp-position-title"></p>
<ul><li><span data-i18n="hlp-position"></span></li></ul>
<p class="fn-rtn"><a href="#fn2b-rf"><span class="wb-inv" data-i18n="Returntofootnote"> </span>2<span class="wb-inv" data-i18n="referrer"> </span></a></p>
</dd>
</dl>
</aside>
</div>
</details>
<!--
<details id="details-panel3">
<summary id="bp-summary">Feedback by page</summary>
<div id="bp-content"></div>
</details>
<details id="details-panel4">
<summary id="read-summary">Web readability score</summary>
<div id="read-content"></div>
</details>
-->
</div>
</div>
<p id="moreDetailedAnalysis"><i class="fa fa-address-book-o" style="font-size:24px; padding-right:15px"></i><span data-i18n="[html]moreDetailedAnalysis"></span></p>
</div>
<section id="uniquev_content_modal" class="mfp-hide modal-dialog modal-content overlay-def">
<header class="modal-header">
<h2 class="modal-title" data-i18n="hlp-unique-visitors-title"></h2>
</header>
<div tabindex="0" class="modal-body" data-i18n="hlp-unique-visitors"></div>
<div class="modal-footer">
<button class="btn btn-sm btn-primary pull-left popup-modal-dismiss" type="button" data-i18n="Close"><span class="wb-inv"></span></button>
</div>
</section>
<section id="visits_content_modal" class="mfp-hide modal-dialog modal-content overlay-def">
<header class="modal-header">
<h2 class="modal-title" data-i18n="hlp-average-visits-title"></h2>
</header>
<div tabindex="0" class="modal-body" data-i18n="hlp-average-visits"></div>
<div class="modal-footer">
<button class="btn btn-sm btn-primary pull-left popup-modal-dismiss" type="button" data-i18n="Close"><span class="wb-inv"></span></button>
</div>
</section>
<section id="pv_content_modal" class="mfp-hide modal-dialog modal-content overlay-def">
<header class="modal-header">
<h2 class="modal-title" data-i18n="hlp-average-pgv-title"></h2>
</header>
<div tabindex="0" class="modal-body" data-i18n="hlp-average-pgv"></div>
<div class="modal-footer">
<button class="btn btn-sm btn-primary pull-left popup-modal-dismiss" type="button" data-i18n="Close"><span class="wb-inv"></span></button>
</div>
</section>
<section id="tmspnt_content_modal" class="mfp-hide modal-dialog modal-content overlay-def">
<header class="modal-header">
<h2 class="modal-title" data-i18n="hlp-average-tmspnt-title"></h2>
</header>
<div tabindex="0" class="modal-body" data-i18n="hlp-average-tmspnt"></div>
<div class="modal-footer">
<button class="btn btn-sm btn-primary pull-left popup-modal-dismiss" type="button" data-i18n="Close"><span class="wb-inv"></span></button>
</div>
</section>
<section id="rap_content_modal" class="mfp-hide modal-dialog modal-content overlay-def">
<header class="modal-header">
<h2 class="modal-title" data-i18n="hlp-rap-title"></h2>
</header>
<div tabindex="0" class="modal-body">
<p data-i18n="hlp-rap"></p>
<p data-i18n="hlp-rap2"></p>
</div>
<div class="modal-footer">
<button class="btn btn-sm btn-primary pull-left popup-modal-dismiss" type="button" data-i18n="Close"><span class="wb-inv"></span></button>
</div>