Skip to content

feat: strip tracking params from links in note content#602

Open
Letdown2491 wants to merge 1 commit into
barrydeen:mainfrom
Letdown2491:feat/strip-link-trackers
Open

feat: strip tracking params from links in note content#602
Letdown2491 wants to merge 1 commit into
barrydeen:mainfrom
Letdown2491:feat/strip-link-trackers

Conversation

@Letdown2491

Copy link
Copy Markdown
Contributor

Port of Dark Wisp PR #42 which removes share/analytics tracking params from URLs as they're rendered:

  • utm_* and well-known click-ids (fbclid, gclid, msclkid, igshid, and more) on every host
  • YouTube share params (si/feature/pp) scoped to YouTube hosts, covering video, playlist, and channel links

Meaningful params (v, list, t, q, fragments) are preserved, and the URL is returned untouched when nothing is stripped.

Removes share/analytics tracking params from URLs as they're rendered:
- utm_* and well-known click-ids (fbclid, gclid, msclkid, igshid, and more) on every host
- YouTube share params (si/feature/pp) scoped to YouTube hosts, covering video, playlist, and channel links

Meaningful params (v, list, t, q, fragments) are preserved, and the URL is returned untouched when nothing is stripped.
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.

1 participant