Skip to content

Commit cf26ebe

Browse files
authored
Remove UA as no longer collecting (#3522)
1 parent 3376cb4 commit cf26ebe

5 files changed

Lines changed: 56 additions & 64 deletions

File tree

src/static/js/send-web-vitals.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,6 @@ function sendWebVitals() {
8686
event_label: id,
8787
non_interaction: true,
8888

89-
// See: https://web.dev/debug-web-vitals-in-the-field/
90-
dimension1: overrides.debug_target,
91-
dimension2: effectiveType,
92-
dimension3: dataSaver,
93-
dimension4: deviceMemory,
94-
dimension5: prefersReducedMotion,
95-
dimension6: prefersColorScheme,
96-
dimension7: navigationType,
9789
//GA4
9890
effective_type: effectiveType,
9991
data_saver: dataSaver,

src/templates/en/2020/stories/content_distribution.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,9 +1652,9 @@
16521652
<script type="application/json">
16531653
{
16541654
"vars": {
1655-
"gtag_id": "UA-22381566-3",
1655+
"gtag_id": "G-PQ5N2MZG5M",
16561656
"config": {
1657-
"UA-22381566-3": {
1657+
"G-PQ5N2MZG5M": {
16581658
"groups": "default"
16591659
}
16601660
}
@@ -1669,7 +1669,7 @@
16691669
"event_category": "${title}",
16701670
"event_label": "${storyPageIndex}",
16711671
"event_value": "${storyProgress}",
1672-
"send_to": "UA-22381566-3"
1672+
"send_to": "G-PQ5N2MZG5M"
16731673
}
16741674
},
16751675
"storyEnd": {
@@ -1680,7 +1680,7 @@
16801680
"event_action": "story_complete",
16811681
"event_category": "${title}",
16821682
"event_label": "${storyPageCount}",
1683-
"send_to": "UA-22381566-3"
1683+
"send_to": "G-PQ5N2MZG5M"
16841684
}
16851685
},
16861686
"trackFocusState": {
@@ -1691,7 +1691,7 @@
16911691
"event_name": "custom",
16921692
"event_action": "story_focus",
16931693
"event_category": "${title}",
1694-
"send_to": "UA-22381566-3"
1694+
"send_to": "G-PQ5N2MZG5M"
16951695
}
16961696
},
16971697
"trackClickThrough": {
@@ -1702,7 +1702,7 @@
17021702
"event_name": "custom",
17031703
"event_action": "story_click_through",
17041704
"event_category": "${title}",
1705-
"send_to": "UA-22381566-3"
1705+
"send_to": "G-PQ5N2MZG5M"
17061706
}
17071707
},
17081708
"storyOpen": {
@@ -1712,7 +1712,7 @@
17121712
"event_name": "custom",
17131713
"event_action": "story_open",
17141714
"event_category": "${title}",
1715-
"send_to": "UA-22381566-3"
1715+
"send_to": "G-PQ5N2MZG5M"
17161716
}
17171717
},
17181718
"storyClose": {
@@ -1722,7 +1722,7 @@
17221722
"event_name": "custom",
17231723
"event_action": "story_close",
17241724
"event_category": "${title}",
1725-
"send_to": "UA-22381566-3"
1725+
"send_to": "G-PQ5N2MZG5M"
17261726
}
17271727
},
17281728
"audioMuted": {
@@ -1732,7 +1732,7 @@
17321732
"event_name": "custom",
17331733
"event_action": "story_audio_muted",
17341734
"event_category": "${title}",
1735-
"send_to": "UA-22381566-3"
1735+
"send_to": "G-PQ5N2MZG5M"
17361736
}
17371737
},
17381738
"audioUnmuted": {
@@ -1742,7 +1742,7 @@
17421742
"event_name": "custom",
17431743
"event_action": "story_audio_unmuted",
17441744
"event_category": "${title}",
1745-
"send_to": "UA-22381566-3"
1745+
"send_to": "G-PQ5N2MZG5M"
17461746
}
17471747
},
17481748
"pageAttachmentEnter": {
@@ -1752,7 +1752,7 @@
17521752
"event_name": "custom",
17531753
"event_action": "story_page_attachment_enter",
17541754
"event_category": "${title}",
1755-
"send_to": "UA-22381566-3"
1755+
"send_to": "G-PQ5N2MZG5M"
17561756
}
17571757
},
17581758
"pageAttachmentExit": {
@@ -1762,7 +1762,7 @@
17621762
"event_name": "custom",
17631763
"event_action": "story_page_attachment_exit",
17641764
"event_category": "${title}",
1765-
"send_to": "UA-22381566-3"
1765+
"send_to": "G-PQ5N2MZG5M"
17661766
}
17671767
},
17681768
"storyBookendEnter": {
@@ -1772,7 +1772,7 @@
17721772
"event_name": "custom",
17731773
"event_action": "story_bookend_enter",
17741774
"event_category": "${title}",
1775-
"send_to": "UA-22381566-3"
1775+
"send_to": "G-PQ5N2MZG5M"
17761776
}
17771777
},
17781778
"storyBookendExit": {
@@ -1782,7 +1782,7 @@
17821782
"event_name": "custom",
17831783
"event_action": "story_bookend_exit",
17841784
"event_category": "${title}",
1785-
"send_to": "UA-22381566-3"
1785+
"send_to": "G-PQ5N2MZG5M"
17861786
}
17871787
}
17881788
}

src/templates/en/2020/stories/content_publishing.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,9 +1330,9 @@
13301330
<script type="application/json">
13311331
{
13321332
"vars": {
1333-
"gtag_id": "UA-22381566-3",
1333+
"gtag_id": "G-PQ5N2MZG5M",
13341334
"config": {
1335-
"UA-22381566-3": {
1335+
"G-PQ5N2MZG5M": {
13361336
"groups": "default"
13371337
}
13381338
}
@@ -1347,7 +1347,7 @@
13471347
"event_category": "${title}",
13481348
"event_label": "${storyPageIndex}",
13491349
"event_value": "${storyProgress}",
1350-
"send_to": "UA-22381566-3"
1350+
"send_to": "G-PQ5N2MZG5M"
13511351
}
13521352
},
13531353
"storyEnd": {
@@ -1358,7 +1358,7 @@
13581358
"event_action": "story_complete",
13591359
"event_category": "${title}",
13601360
"event_label": "${storyPageCount}",
1361-
"send_to": "UA-22381566-3"
1361+
"send_to": "G-PQ5N2MZG5M"
13621362
}
13631363
},
13641364
"trackFocusState": {
@@ -1369,7 +1369,7 @@
13691369
"event_name": "custom",
13701370
"event_action": "story_focus",
13711371
"event_category": "${title}",
1372-
"send_to": "UA-22381566-3"
1372+
"send_to": "G-PQ5N2MZG5M"
13731373
}
13741374
},
13751375
"trackClickThrough": {
@@ -1380,7 +1380,7 @@
13801380
"event_name": "custom",
13811381
"event_action": "story_click_through",
13821382
"event_category": "${title}",
1383-
"send_to": "UA-22381566-3"
1383+
"send_to": "G-PQ5N2MZG5M"
13841384
}
13851385
},
13861386
"storyOpen": {
@@ -1390,7 +1390,7 @@
13901390
"event_name": "custom",
13911391
"event_action": "story_open",
13921392
"event_category": "${title}",
1393-
"send_to": "UA-22381566-3"
1393+
"send_to": "G-PQ5N2MZG5M"
13941394
}
13951395
},
13961396
"storyClose": {
@@ -1400,7 +1400,7 @@
14001400
"event_name": "custom",
14011401
"event_action": "story_close",
14021402
"event_category": "${title}",
1403-
"send_to": "UA-22381566-3"
1403+
"send_to": "G-PQ5N2MZG5M"
14041404
}
14051405
},
14061406
"audioMuted": {
@@ -1410,7 +1410,7 @@
14101410
"event_name": "custom",
14111411
"event_action": "story_audio_muted",
14121412
"event_category": "${title}",
1413-
"send_to": "UA-22381566-3"
1413+
"send_to": "G-PQ5N2MZG5M"
14141414
}
14151415
},
14161416
"audioUnmuted": {
@@ -1420,7 +1420,7 @@
14201420
"event_name": "custom",
14211421
"event_action": "story_audio_unmuted",
14221422
"event_category": "${title}",
1423-
"send_to": "UA-22381566-3"
1423+
"send_to": "G-PQ5N2MZG5M"
14241424
}
14251425
},
14261426
"pageAttachmentEnter": {
@@ -1430,7 +1430,7 @@
14301430
"event_name": "custom",
14311431
"event_action": "story_page_attachment_enter",
14321432
"event_category": "${title}",
1433-
"send_to": "UA-22381566-3"
1433+
"send_to": "G-PQ5N2MZG5M"
14341434
}
14351435
},
14361436
"pageAttachmentExit": {
@@ -1440,7 +1440,7 @@
14401440
"event_name": "custom",
14411441
"event_action": "story_page_attachment_exit",
14421442
"event_category": "${title}",
1443-
"send_to": "UA-22381566-3"
1443+
"send_to": "G-PQ5N2MZG5M"
14441444
}
14451445
},
14461446
"storyBookendEnter": {
@@ -1450,7 +1450,7 @@
14501450
"event_name": "custom",
14511451
"event_action": "story_bookend_enter",
14521452
"event_category": "${title}",
1453-
"send_to": "UA-22381566-3"
1453+
"send_to": "G-PQ5N2MZG5M"
14541454
}
14551455
},
14561456
"storyBookendExit": {
@@ -1460,7 +1460,7 @@
14601460
"event_name": "custom",
14611461
"event_action": "story_bookend_exit",
14621462
"event_category": "${title}",
1463-
"send_to": "UA-22381566-3"
1463+
"send_to": "G-PQ5N2MZG5M"
14641464
}
14651465
}
14661466
}

src/templates/en/2020/stories/page_content.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2386,9 +2386,9 @@
23862386
<script type="application/json">
23872387
{
23882388
"vars": {
2389-
"gtag_id": "UA-22381566-3",
2389+
"gtag_id": "G-PQ5N2MZG5M",
23902390
"config": {
2391-
"UA-22381566-3": {
2391+
"G-PQ5N2MZG5M": {
23922392
"groups": "default"
23932393
}
23942394
}
@@ -2403,7 +2403,7 @@
24032403
"event_category": "${title}",
24042404
"event_label": "${storyPageIndex}",
24052405
"event_value": "${storyProgress}",
2406-
"send_to": "UA-22381566-3"
2406+
"send_to": "G-PQ5N2MZG5M"
24072407
}
24082408
},
24092409
"storyEnd": {
@@ -2414,7 +2414,7 @@
24142414
"event_action": "story_complete",
24152415
"event_category": "${title}",
24162416
"event_label": "${storyPageCount}",
2417-
"send_to": "UA-22381566-3"
2417+
"send_to": "G-PQ5N2MZG5M"
24182418
}
24192419
},
24202420
"trackFocusState": {
@@ -2425,7 +2425,7 @@
24252425
"event_name": "custom",
24262426
"event_action": "story_focus",
24272427
"event_category": "${title}",
2428-
"send_to": "UA-22381566-3"
2428+
"send_to": "G-PQ5N2MZG5M"
24292429
}
24302430
},
24312431
"trackClickThrough": {
@@ -2436,7 +2436,7 @@
24362436
"event_name": "custom",
24372437
"event_action": "story_click_through",
24382438
"event_category": "${title}",
2439-
"send_to": "UA-22381566-3"
2439+
"send_to": "G-PQ5N2MZG5M"
24402440
}
24412441
},
24422442
"storyOpen": {
@@ -2446,7 +2446,7 @@
24462446
"event_name": "custom",
24472447
"event_action": "story_open",
24482448
"event_category": "${title}",
2449-
"send_to": "UA-22381566-3"
2449+
"send_to": "G-PQ5N2MZG5M"
24502450
}
24512451
},
24522452
"storyClose": {
@@ -2456,7 +2456,7 @@
24562456
"event_name": "custom",
24572457
"event_action": "story_close",
24582458
"event_category": "${title}",
2459-
"send_to": "UA-22381566-3"
2459+
"send_to": "G-PQ5N2MZG5M"
24602460
}
24612461
},
24622462
"audioMuted": {
@@ -2466,7 +2466,7 @@
24662466
"event_name": "custom",
24672467
"event_action": "story_audio_muted",
24682468
"event_category": "${title}",
2469-
"send_to": "UA-22381566-3"
2469+
"send_to": "G-PQ5N2MZG5M"
24702470
}
24712471
},
24722472
"audioUnmuted": {
@@ -2476,7 +2476,7 @@
24762476
"event_name": "custom",
24772477
"event_action": "story_audio_unmuted",
24782478
"event_category": "${title}",
2479-
"send_to": "UA-22381566-3"
2479+
"send_to": "G-PQ5N2MZG5M"
24802480
}
24812481
},
24822482
"pageAttachmentEnter": {
@@ -2486,7 +2486,7 @@
24862486
"event_name": "custom",
24872487
"event_action": "story_page_attachment_enter",
24882488
"event_category": "${title}",
2489-
"send_to": "UA-22381566-3"
2489+
"send_to": "G-PQ5N2MZG5M"
24902490
}
24912491
},
24922492
"pageAttachmentExit": {
@@ -2496,7 +2496,7 @@
24962496
"event_name": "custom",
24972497
"event_action": "story_page_attachment_exit",
24982498
"event_category": "${title}",
2499-
"send_to": "UA-22381566-3"
2499+
"send_to": "G-PQ5N2MZG5M"
25002500
}
25012501
},
25022502
"storyBookendEnter": {
@@ -2506,7 +2506,7 @@
25062506
"event_name": "custom",
25072507
"event_action": "story_bookend_enter",
25082508
"event_category": "${title}",
2509-
"send_to": "UA-22381566-3"
2509+
"send_to": "G-PQ5N2MZG5M"
25102510
}
25112511
},
25122512
"storyBookendExit": {
@@ -2516,7 +2516,7 @@
25162516
"event_name": "custom",
25172517
"event_action": "story_bookend_exit",
25182518
"event_category": "${title}",
2519-
"send_to": "UA-22381566-3"
2519+
"send_to": "G-PQ5N2MZG5M"
25202520
}
25212521
}
25222522
}

0 commit comments

Comments
 (0)