Question

Remove query strings from referrer and initial referrer

  • 31 March 2021
  • 0 replies
  • 33 views

Hi There,

I am hoping someone can help, in my application when people sign up we send them an email to confirm their email address.

In the email we include a URL that sends the user back to our site, this url contains some sensitive information that we must not record within Mixpanel, here is an example:

https://www.domain.com/auth/welcome?code=1234&email=email@email.com

I need to make sure that the code and the email in query string never comes to Mixpanel.

I am able to do that for my own “Page View” events as I have control over the value, but for the “referrer” and “initial referrer” data items these are sent automatically by Mixpanel and I don’t know how to control them.

Ideally I would solve this problem with JavaScript rather than in project settings as we create new projects on a regular basis.

If anyone has any advice on what to do that would be great.

Cheers,

Luke.


0 replies

Be the first to reply!

Reply


Mixpanel