Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omit keywords #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Omit keywords #15

wants to merge 3 commits into from

Conversation

ak--47
Copy link
Member

@ak--47 ak--47 commented Sep 29, 2023

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.

use old name
use consistent name
@nlassaux
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants