Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
Adjust analytics to anonymize IPs
Browse files Browse the repository at this point in the history
  • Loading branch information
meg-codes authored and rlskoeser committed Jun 22, 2018
1 parent 17392a6 commit e3bec0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/snippets/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'UA-87887700-3');
// anonymize IPs during configuration
gtag('config', 'UA-87887700-3', { 'anonymize_ip': true});
</script>
{% endif %}

0 comments on commit e3bec0b

Please sign in to comment.