Early Access
twitter:site:id
A meta tag specific to Twitter Cards that associates your site with a Twitter account using a unique Twitter user ID. This is used to attribute the content to a Twitter account and is particularly useful for analytics and tracking content distribution.
Code Examples
<meta name="twitter:site:id" content="123456789" />
<meta name="twitter:site:id" content="@YourTwitterHandle" />
<meta name="twitter:site:id" content="" />
Recommendations
- Finding Your Twitter User IDYour Twitter user ID is a string of numbers, not your username. Use Twitter's settings or third-party tools to find your user ID.
- Consistent AttributionAlways use the same Twitter user ID for content from your site to ensure consistent attribution and improve your site's social metrics tracking on Twitter.
Related Documentation
Related Meta Tags
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">
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">
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">
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">
Community