QR Architecture
6 min read
Updated: 2026-11-22

What is the ?a= Parameter on X (Twitter) Links: Privacy Risks, Meaning & How to Remove It

Learn why X (Twitter) added the new ?a= tracking parameter when copying links. Discover how it attributes links to your account, what ?s=20 means, and how to remove it.

Free Browser Tool · No Account Required

Twitter / X Link Sanitizer

Instantly strip newly added ?a= account tokens, ?s=20 device tags, and ?t= session parameters with 100% private in-browser processing.

Twitter / X Link Sanitizer

Free · Runs locally

Clean X (Twitter) Links in Browser
Quick Answer / Executive Summary

The '?a=' parameter on X (formerly Twitter) links is an account-level user attribution token appended when logged-in users tap 'Copy Link' on a post. It functions as an encrypted identifier that ties the shared tweet URL directly to the user who copied it, allowing X to monitor off-platform viral propagation across messaging apps (WhatsApp, Telegram, Discord, iMessage). Deleting '?a=' along with accompanying device tags (?s=20) does not break the post; the tweet loads identically using just the base status URL.

Historically, X relied on '?s=' (device context codes like s=20 for desktop/iOS or s=19 for Android) and '?t=' (session token). However, the rollout of the '?a=' parameter introduces a persistent account-tied fingerprint. When recipients click the link, X correlates the visitor's device and browsing session with the account that copied the link, giving the platform visibility into private peer-to-peer distribution networks.

Deciphering X's URL Tracking Parameters: The Complete Breakdown

X appends multiple query tags depending on which client application, operating system, and UI feature you use to copy a link. The table below outlines each parameter, its purpose, and its privacy implications.

ParameterTypical ValuesTechnical PurposeSafe to Strip?
?a=8-16 char alphanumeric hash (e.g. 7xK9mP2L)Account attribution token linking the shared tweet to your logged-in profile100% Safe to Strip
?s=20 (Web/iOS), 19 (Android), 46 (iOS app)Client device context indicator recording where the link was copied100% Safe to Strip
?t=Long base64-like token with hyphensDynamic session token that monitors referral cascades100% Safe to Strip
?cxt=notification, drawer, timelineUI trigger element where the user initiated the share action100% Safe to Strip
?rc=Alphanumeric codeReferral campaign tracking token for promotional posts100% Safe to Strip
ref_src=twsrc%5Etfw, twcamp%5EtweetembedWidget referrer tag appended when links are copied from embedded tweets100% Safe to Strip

Why Did X Add the ?a= Parameter?

Social platforms face a fundamental measurement challenge known as 'Dark Social'—traffic shared across private messaging apps like WhatsApp, Signal, and email that does not carry traditional HTTP referrers.

By appending a unique cryptographic identifier (?a=) to copied URLs, X turns every shared link into an addressable referral beacon. When a recipient opens the link, X reads the a= token, matches it to the user who copied it, and constructs a detailed social distribution graph without needing the user to share publicly.

Privacy Alert for Public Figures & Journalists

If you share X post links in public forums, research papers, or group chats while logged into an anonymous or personal account, the ?a= parameter creates a persistent digital fingerprint that can be cross-referenced by data brokers or platform telemetry. Always strip tracking parameters before publishing links.

Does Removing ?a= Affect Tweet Previews or Video Playback?

No. Rich unfurl cards on Slack, Discord, iMessage, and WhatsApp rely exclusively on Open Graph meta tags (og:title, og:image, og:description) hosted at the canonical URL path (/status/[ID]).

Query parameters like ?a= or ?s=20 do not alter the HTML response or media assets. Removing them produces a shorter, cleaner link that unfurls identically in messaging apps.

Frequently Asked Questions

What is the new ?a= parameter on X (Twitter)?
The '?a=' parameter is a newly rolled-out tracking token on X (formerly Twitter) that attaches when logged-in users copy links to posts. It serves as an account-level attribution token to identify who shared the post outside the platform.
What does ?s=20 mean on Twitter links?
's=20' is an internal client code used by X to denote that the link was copied via the official desktop web browser or iOS share sheet. Android users often see 's=19', and other values indicate third-party client integrations.
Will a tweet still open if I delete ?a=, ?s=, and ?t=?
Yes. A tweet only requires the base URL (https://x.com/username/status/[STATUS_ID]). All characters following the question mark are tracking telemetry and can be safely deleted.
Why did Twitter switch from twitter.com to x.com?
Following Elon Musk's acquisition of Twitter, the service was rebranded to X Corp. Links copied today default to x.com, though twitter.com links still permanently redirect (301) to the identical x.com status destination.
Does Modifyle store or log the links I clean?
No. Modifyle processes 100% of URLs client-side in your browser's local JavaScript memory. No URLs are ever transmitted to a server or stored in a database.

Related Technical Guides

View all guides

Related Modifyle Workshop Utilities