docs[patch]: Update how GA4 is collected (#18821)

There's some issue/setting with the current python GA4 app. I created a
new one just for feedback.
This commit is contained in:
Brace Sproul
2024-03-08 14:32:40 -08:00
committed by GitHub
parent a8de6d1533
commit 9c218d0154
4 changed files with 22 additions and 17 deletions

View File

@@ -1,7 +1,11 @@
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag("config", "G-9B66JQQH2F");
gtag('config', 'G-9B66JQQH2F');
// Only for feedback
function gtagFeedback(){dataLayer.push(arguments);}
gtagFeedback('js', new Date());
gtagFeedback('config', 'G-WFT0J048RF');