What you are seeing: Your cards render correctly on X but carry no account attribution, and the analytics for them do not appear in your account.
What the tag does
twitter:site names the X account that publishes the content — the brand or publication, not the individual. X uses it to attribute the card and to associate card impressions with your account.
It has no effect on the layout of the card. Its value is attribution: when your content is shared by other people, the tag is what connects those cards back to you.
site versus creator
twitter:site is the publisher. twitter:creator is the individual author, and it is worth setting separately on posts with a byline. On a company blog the site tag is the company account and the creator tag is whoever wrote the post; on a personal site they are usually the same handle.
Both take an @handle including the @ symbol. A bare handle without it is invalid and will be ignored.
One tag, applied site-wide
twitter:site rarely varies across a site, so set it once in whatever layout or template renders your head rather than per page. twitter:creator is the one worth setting per post.
Publisher and author
<meta name="twitter:site" content="@acmehq" />
<meta name="twitter:creator" content="@janedoe" />Frequently asked
Does twitter:site use property or name?
name. Twitter Card tags use name=, Open Graph tags use property=. Writing property="twitter:site" means the tag is ignored, and it is a common enough slip to be worth checking if the tag appears set but is not being picked up.
Do these tags still matter now the platform is called X?
Yes. The tag names never changed and the cards system still reads them. There is no og:x or x:site equivalent to migrate to.
Fix it with AI
Paste this into Claude Code, Cursor, Copilot or another coding agent, from your project's folder.
Fix this social preview problem in this project. Problem: Missing twitter:site Tag: twitter:site What people see: Your cards render correctly on X but carry no account attribution, and the analytics for them do not appear in your account. Background: Your page has no `twitter:site` tag, so X cards carrying your content are not attributed to your account. Here is the difference between `twitter:site` and `twitter:creator`. How to work: 1. Find where this project sets each page's `<head>` metadata — the framework's metadata API, a layout or head component, a page template, or an SEO plugin — and fix it there so every page type gets it, not just one page. 2. Use the page's real content for titles, descriptions and alt text. Don't invent claims, prices or names. 3. Every URL in a meta tag (`og:image`, `og:url`, `twitter:image`) must be absolute and start with `https://`. 4. If an image needs to be made, resized or compressed, tell me exactly what's needed instead of pointing a tag at a file that doesn't exist. 5. Don't change tags or code unrelated to these problems. 6. When you're done, list each change and the problem it fixes, and anything I still need to do by hand. Full guide (read it first if you can open web pages): https://ogimage.info/learn/missing-twitter-site?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide When you're done, tell me I can check the result either way: - On my local dev server, with the Open Graph Debugger Chrome extension: https://chromewebstore.google.com/detail/open-graph-debugger/bepabeobdmmefhhhkonppcppgodhjdno?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide - On the live page, once deployed: https://ogimage.info/twitter-card-validator?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide
Check your page
Run your URL through the checker to confirm the fix is live and see how the card renders on every platform.
Validate your X card