Early Access
twitter:site
Defines the Twitter username of the website or the content creator. This username is displayed in Twitter cards associated with the website or content to indicate the source. It begins with an @ symbol.
Code Examples
<meta name="twitter:site" content="@exampleUser" />
Recommendations
- Consistency is KeyEnsure the Twitter username provided matches exactly with the one used on Twitter, including the use of the @ symbol at the beginning. Inconsistencies can lead to improper attribution or no attribution.
- Only One Correct UseUse only one "twitter:site" tag per page. When multiple tags are used, Twitter may ignore the extra tags, which can lead to confusion or incorrect information being displayed.
Related Documentation
Related Meta Tags
Specifies the name of your Android app on the Google Play Store. This is utilized in Twitter Cards when you want to promote a mobile application directly from a tweet.
<meta name="twitter:app:name:googleplay" content="MyApp">
Specifies the name of your application tailored for iPad users when sharing content on Twitter.
<meta name="twitter:app:name:ipad" content="My Amazing App">
Specifies the unique application ID for a Google Play app, used within Twitter Cards to direct users to a specific Android app.
<meta name="twitter:app:id:googleplay" content="com.example.app">
Defines the iPhone app ID in the Apple App Store for deep linking from tweets. This is part of Twitter Cards used to enhance tweets with rich media to direct users to web content directly or through an app.
<meta name="twitter:app:id:iphone" content="307234931">
Defines the numeric ID of your iPad application in the Apple App Store, enabling Twitter to link to it when your content is shared.
<meta name="twitter:app:id:ipad" content="307234931">
Community