fix: anonymize IP on Google Analytics config

This commit is contained in:
Matthias Rohmer 2024-05-28 11:46:53 +02:00
parent 29035eec1a
commit 791710be3a

View File

@ -18,7 +18,7 @@ function enableGoogleAnalytics() {
dataLayer.push(arguments); dataLayer.push(arguments);
} }
gtag('js', new Date()); gtag('js', new Date());
gtag('config', 'G-J15CTWBVHX'); gtag('config', 'G-J15CTWBVHX', {anonymize_ip: true});
} }
export default function Root({children}) { export default function Root({children}) {