mixpanel / tracking-proxy

One-click configuration to proxy tracking requests to Mixpanel's API
63 stars 117 forks source link

Omit keywords #15

Open ak--47 opened 11 months ago

ak--47 commented 11 months ago

TIL: certain adblockers (like ublock origin) are fuzzy matching on keywords like mixpanel in the URL, in addition to maintaining filter lists like api.mixpanel.com, cdn.mxpnl.com, etc...

the "one click deploy" scripts (for example on google cloud run) will grab the name of the service from the metadata (app.json) in this repo which ends up as a subdomain for the public URL that gets created... so:

{ "name": "mixpanel-tracking-proxy"}

spits out a URL like:

https://mixpanel-tracking-proxy-lmozz6xkha-uc.a.run.app/

out of the box, this gets blocked (by the more sophisticated adblockers).

while it's not hard to change the name of your service, i think the one-click deploys should aim to work without too much fuss... so this PR just gets rid of the mixpanel keywords in the service name for the various one click providers... so we don't end up with an endpoint that gets flagged by some adblockers.

nlassaux commented 5 months ago

Note: I've seen some adblockers or company policies look for tracking too in the URL. Renamed it differently to avoid the issue