Redacting Personally Identifiable Information from URLs for Google Analytics

#1

Hi there,

as we want to pre-fill mailchimp merge tags into an unbounce form ([How-to] Pre-Fill MailChimp Merge Tags Into Unbounce Forms), we’re dealing with the problem of how to avoid PII being sent to our GA.

I found the following article including a code for a custom JavaScript variable: https://brianclifton.com/blog/2017/09/07/remove-pii-from-google-analytics/

Did someone face the same issue before and can help with his/her experience? We’re not sure if the code we just found is trustworthy, so it would be great if someone could help.

Thanks in advance!
Alice

1 Like