From 791710be3a0218ab808937aa118357f2d8a2368e Mon Sep 17 00:00:00 2001 From: Matthias Rohmer Date: Tue, 28 May 2024 11:46:53 +0200 Subject: [PATCH] fix: anonymize IP on Google Analytics config --- website/src/theme/Root.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/theme/Root.js b/website/src/theme/Root.js index e5cebc95433..c54d3906b91 100644 --- a/website/src/theme/Root.js +++ b/website/src/theme/Root.js @@ -18,7 +18,7 @@ function enableGoogleAnalytics() { dataLayer.push(arguments); } gtag('js', new Date()); - gtag('config', 'G-J15CTWBVHX'); + gtag('config', 'G-J15CTWBVHX', {anonymize_ip: true}); } export default function Root({children}) {