Resolve GA issues
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
2026-02-08 00:36:38 -03:00
parent 3130661e65
commit ebc7ebc229
6 changed files with 73 additions and 15 deletions

View File

@@ -0,0 +1,11 @@
(function () {
var script = document.currentScript;
var id = script && script.getAttribute('data-ga-id');
if (!id) return;
window.dataLayer = window.dataLayer || [];
function gtag() {
window.dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', id, { anonymize_ip: true });
})();