top | item 31764784

(no title)

trapexit | 3 years ago

Does anyone know how to tell the FB "pixel" to stop sending the query string to Facebook?

Facebook now alerts you if you're sending what looks like PII to them in the query string, e.g. parameters named "first_name", but after extensive Googling I couldn't find any way to tell the FB code to strip off the query string before sending conversion events back to the mothership.

It's not exactly easy, but with Google Analytics it's at least possible to redact the URL before it gets attached to the transmitted event.

The only thing I could think of was to do for Facebook was to use a redirect (or the History API) to strip the query off the URL before loading the FB pixel, but this will break any other embeds that are relying on query params for e.g. form-filling.

discuss

order

Nextgrid|3 years ago

> Does anyone know how to tell the FB "pixel" to stop sending the query string to Facebook?

It's like letting a burglar in your home after asking them not to rob you.

Maybe just not let the burglar enter in the first place?