Skip to content

AMP Analytics: Make the "aip" parameter changeable to false #7983

@ryota-yamada-jp

Description

@ryota-yamada-jp

In /extensions/amp/analytics/0.1/vendors.js, "aip" parameter of Google Analytics is constantly true.

This parameter indicates whether to anonymize the IP address. When set to true, the end of the IP address is recorded as 0.
The default value in analytics.js is false. But the default value in AMP Analytics is true.

Since the IP address is anonymized, it seems that IP address exclusion is not work properly at amp-by-example: #665.

Analytics Help: Exclude internal traffic.
https://support.google.com/analytics/answer/1034840?hl=en

I think that default should be set to false even in AMP. or you should be able to change it.

Thanks,

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions