Repository navigation
Add missing tracking parameters without breaking working links - #23
heyandromeda wants to merge 2 commits into
Conversation
…eed their parameters. Recognize newer ad, email, and affiliate click ids, and remove share tokens only on the platforms that use them. YouTube playback, shopping variants, and signed URLs stay intact. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 9b017a02-1a5a-4b4a-978d-7bdd44312f46) |
…29) * feat(engine): add 18 documented tracking parameters Expand global TRACKING_PARAMETERS with Adobe, TikTok, Iterable, Braze, Partnerize, Adjust, X intent, HubSpot, and Zanox ids. Complements open PR #23 without duplicating its parameter set or HOST_RULES work. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com> * fix(engine): correct tracking param names per vendor docs (PR #29 review) Drop adj_t (Adjust link token on *.adj.st). Replace HubSpot _hsq with __hstc/__hssc/__hsfp/__hssrc. Use X ref_src/ref_url. Fix Iterable names per Shopify integration docs; drop unverified braze_c_id. Move clickref and zanpid to aggressive-only. Expand tests with realistic URLs. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com> * chore(#29): defer ref_src/ref_url and HubSpot cookies to PR #23 Remove ref_src, ref_url, __hstc, __hssc, and __hsfp from this PR so #23 can own host-scoped X tags and HubSpot cross-domain params. Keep __hssrc. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
Main added Adobe, Adjust, Iterable, and TikTok campaign tags plus the security and MCP work. This branch's site-specific rules stay, including X share parameters and HubSpot cookie ids that main's complement test had left for this change. Co-authored-by: Andromeda <heyandromeda@users.noreply.github.com>
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 6e1a44d3-eee3-496a-ab68-2d0fcc7d2f19) |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: e6bedec9-829c-49b0-b31b-ab1f1933cce6) |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
URL Cleaner already removed the big click ids (
utm_*,fbclid,gclid,msclkid,ttclid,igsh, and friends). This adds the gaps that showed up against current platform docs and cleaner lists (Brave, Firefox, ClearURLs), and keeps anything a page still needs.ScCid, Redditrdt_cid, Klaviyo_kx, Beehiiv_bhlid, HubSpot__hstc, ShareASalesscid, Awinawc, and similar ad, email, and affiliate ids).pd_rd_*andpf_rd_*.sandtare stripped on x.com and twitter.com only.https://x.com/spacexsi?s=11becomeshttps://x.com/spacexsi. The same names are left alone everywhere else, including YouTube timestamps and Amazon sort.cvidused to be removed everywhere. It is now limited to Bing and MSN, because Microsoft’s real click id is stillmsclkid.What stays on purpose
YouTube
v,t,list,index,start, andend. Amazonth,psc,s,keywords, andsmid. Redditcontext. Facebookcomment_id,story_fbid, andfb_comment_id. TikToklanguage. Google searchqandhl. X redirect links (/i/redirect). Signed query params such asX-Amz-Signature.Tests
npm test— 151 tests, 0 failures. That run also buildsdist/. There is no separate linter in this repo.node --checkis clean on the edited scripts.Uncertain, left alone
YouTube
kw, a bare Googlegad, Bingform/sk/sp, Amazonrnid, Walmart affiliate params, Reddit Branch deep-link params, Instagramstkn, and the existing globalscid(Snap’s documented name isScCid, which is now covered assccid).Note
Medium Risk
Host-scoped rules reduce false positives but wrong host/path matching could still strip params a page needs or leave trackers on share links; regression surface is large though heavily tested.
Reviewed by Cursor Bugbot for commit 929c4af. Bugbot is set up for automated code reviews on this repo. Configure here.