google-gtag-module icon indicating copy to clipboard operation
google-gtag-module copied to clipboard

Anonymize IP and Duplicated request.

Open brunopbarbosa opened this issue 4 years ago • 1 comments

Hello,

I've been using this module for nuxt and i have hit a strange issue. We are required to enable the IP anonymization as per our privacy policy, but i'm having trouble as the module is sending duplicate requests to the /collect endpoing, only one of them including the aip parameter. If i set send_page_view to false, the duplicates stop, but the only request sent does not have the api parameter.

Annotation 2020-06-15 154120

Has anyone ever dealt with some similar issue for this?

Thanks Bruno

brunopbarbosa avatar Jun 15 '20 13:06 brunopbarbosa

I can confirm that I'm having this issue, too. Here's my config:

['@nuxtjs/google-gtag', {
  id: 'UA-111111111-1',
  config: {
    anonymize_ip: true,
  },
}],

johnfraney avatar Jul 15 '20 15:07 johnfraney