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

Remove Yandex trackers from the query string #33216

Closed
fmarier opened this issue Sep 22, 2023 · 6 comments · Fixed by brave/brave-core#21254
Closed

Remove Yandex trackers from the query string #33216

fmarier opened this issue Sep 22, 2023 · 6 comments · Fixed by brave/brave-core#21254
Assignees
Labels

Comments

@fmarier
Copy link
Member

fmarier commented Sep 22, 2023

Yandex uses these query parameters in their analytics and ads products:

  • yadclid
  • yadordid
  • yclid
  • ymclid
  • ysclid

yclid and ymclid

Both yclid and ymclid are unique click identifiers according to this post (translation) and their documentation:
https://yandex.com/support/metrica/data/offline-params.html#offline-params__yclid
https://yandex.com/support/metrica/general/source-tags.html#sources-tags

It turns out we already strip yclid because it's used by Yahoo! Japan, but we should strip ymclid too.

ysclid

According to this announcement (translation) and the official documentation, it's for tracking search terms when going from Yandex Search to a third-party website and so in theory it's not a user tracker per se.

I used Firefox to search for "brave browser" on yandex.com and found this site with a ysclid:

Then I repeated the same search in Private Browsing and got a different link
each time I moused over the link:

Even the original window has a different ID now:

So it does not appear to be a stable identifier 😕

That said, we wouldn't otherwise leak out the search terms directly since we cap cross-origin referrers to the origin and so we should remove this too.

yadclid and yadordid

While looking for examples of yadclid (which I found here), I also found a yadordid parameter:

I've not been able to find any documentation about these online. Maybe they are unique identifiers? Maybe they are identifiers for a given creative, campaign or advertiser?

@fmarier fmarier added priority/P4 Planned work. We expect to get to it "soon". OS/Android Fixes related to Android browser functionality OS/Desktop privacy/query-filter labels Sep 22, 2023
@fmarier fmarier self-assigned this Sep 22, 2023
@fmarier
Copy link
Member Author

fmarier commented Oct 27, 2023

All of these are removed by the "copy clean link" feature: brave/adblock-lists#1320

@stephendonner
Copy link

Verified PASSED using

Brave | 1.62.29 Chromium: 119.0.6045.105 (Official Build) nightly (x86_64)
-- | --
Revision | 722db0323f23c1aaee8a62326083bced61909279
OS | macOS Version 14.2 (Build 23C5030f)

Steps:

  1. installed 1.62.29
  2. launched Brave
  3. loaded https://brave.com/?foo=bar&irclickid=1234&ymclid=abcd&ysclid=efgh&fb_action_ids=5678&fb_comment_id=123456&clean=yes with the Developer Tools' console open

Confirmed entering and trying to load https://brave.com/?foo=bar&irclickid=1234&ymclid=abcd&ysclid=efgh&fb_action_ids=5678&fb_comment_id=123456&clean=yes resulted in only https://brave.com/?foo=bar&clean=yes being loaded

Screenshot 2023-11-06 at 3 22 59 PM

@kjozwiak

This comment was marked as outdated.

@fmarier
Copy link
Member Author

fmarier commented Dec 5, 2023

@stephendonner This will need a re-check once brave/brave-core#21254 lands.

@kjozwiak
Copy link
Member

kjozwiak commented Dec 5, 2023

Re-adding the QA Pass label as the above was already verified via 1.62.x, We'll need to create a new issue that's associated with brave/brave-core#21254 which will be in 1.63.x so it can be re-verified on 1.63.x. Technically nothing was reverted/changed via 1.62.x so the above verification is still valid.

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Dec 27, 2023

Verification PASSED on Vivo X70 Pro version 12 running Bravemonoarm64.apk_1.62.121

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

Successfully merging a pull request may close this issue.

4 participants