Topic on Extension talk:GTag

Leaderboard (talkcontribs)

Title. We can't see any JS tracking code when opening developer tools, but we do see hits when looking at Google Analytics.

Skizzerz (talkcontribs)

$wgGTagHonorDNT defaults to true, and a lot of browsers either default to or can be easily configured to sending the DNT: 1 header. If that config is true and the DNT header is present, no tracking js is generated. Additionally, if you're in a group with the gtag-exempt right, no tracking js is generated.

Reply to "How does this work?"