0

How can I make the google analytics code IP anonymous?

like this

ga('send', 'pageview', {
  'anonymizeIp': true
});

In the code?

1 Answer 1

0

I suggest you to use the free extension Magento 2 Google Analytics Ecommerce which works like a charm.Enable IP Anonymization feature is available in this extension which may work for you.

2
  • i think its not free
    – chris
    Commented Jul 10, 2018 at 6:13
  • Sorry. You may try this extension Fooman Google Analytics . Another Extension by Welt. There is a free version of it which has the IP anonymization feature. You may try your luck with these extensions.
    – nikin
    Commented Jul 10, 2018 at 7:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.