Repository navigation
Commit a3102ce
committed
Keep traffic quality on consent-loaded Google Analytics
main (#1399) added traffic-quality tagging to the inline GA bootstrap, which
this branch replaces with c15t's gtag helper. Install the same wrapper in the
helper's onBeforeLoad, after gtag and config are queued and before held page
views flush, so every event still carries traffic_quality.1 parent f2bedd5 commit a3102ce
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
0 commit comments