twitter:site handle is configured
Why it matters
The twitter:site tag attributes shared content to your site's Twitter/X account. When someone shares a page from your site, Twitter can display the site's account handle below the card, providing viewers a direct path to follow your account from within the share. Without it, the card is anonymous — there is no account context, no follow prompt, and no attribution signal that accrues to your account. Per the Twitter Cards spec, twitter:site is the mechanism by which shares generate account-level visibility. For any project that uses Twitter/X as a distribution channel, omitting this tag means every share generates awareness without routing that awareness back to the account.
Severity rationale
Medium because missing twitter:site forfeits account attribution and follow opportunities on every share, reducing the compounding account-growth effect of social distribution.
Remediation
Add twitter.site with your site's Twitter/X handle to the root layout metadata:
// app/layout.tsx
export const metadata: Metadata = {
twitter: {
card: 'summary_large_image',
site: '@yourhandle',
},
}
The handle must include the @ prefix. This applies globally and does not need per-page overrides unless specific pages should attribute to a different account (e.g., an individual author's handle on their profile page).
DetectionPro
The detection method for this pattern is part of AuditBuffet Pro.
The full method (what to look for, pass and fail conditions, and how results get reported) ships inside the Social Sharing Audit. The pattern definition, severity rationale, and remediation remain openly licensed under CC-BY-4.0.
External references
- external · twitter-cards — Twitter Cards — twitter:site tag
Taxons
History
- 2026-04-18·v1.0.0·Initial import from marketing-social-sharing·automated