Add option to anonymize analytics ip address (#1636)
* Add option to anonymize analytics ip address * Add option to anonymize analytics ip address in google tag
This commit is contained in:

committed by
Michael Rose

parent
ac2b8db6b3
commit
13b2969bb8
@ -1,6 +1,9 @@
|
||||
<script type="text/javascript">
|
||||
var _gaq = _gaq || [];
|
||||
_gaq.push(['_setAccount', '{{ site.analytics.google.tracking_id }}']);
|
||||
{% if site.analytics.google.anonymize_ip == true %}
|
||||
_gaq.push(['_gat._anonymizeIp']);
|
||||
{% endif %}
|
||||
_gaq.push(['_trackPageview']);
|
||||
|
||||
(function() {
|
||||
|
Reference in New Issue
Block a user