analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Add the Privacy Policy note in the google-analytics plugin

Open mletic opened this issue 2 years ago • 0 comments

Google Analytics has a Terms of Service in place that clearly states under Privacy Section that you shouldn't add any PII (“Personally Identifiable Information”) of the user like email, name, etc...

In the example for the Google Analytics plugin there is this snippet:

/* Identify a visitor */
analytics.identify('user-id-xyz', {
  firstName: 'bill',
  lastName: 'murray'
})

which is a breach of this policy. I think it makes sense to update this example and add a small note on what you can add there, as a lot of people starting with this won't know about this condition.

mletic avatar Jun 21 '23 17:06 mletic