Early Access

Meta Tags

twitter:data2

Learn how to use the twitter:data2 meta tag to improve your site.

Used in Twitter Cards to provide additional data points or context relevant to the content shared on Twitter, enhancing the information displayed in the card.

Code Examples

<meta name="twitter:data2" content="30 mins" />
Provides an additional data point for "twitter:data1" which might contain an article title, indicating the estimated reading time for the content.
<meta name="twitter:data2" content="July 20, 2023" />
Offers contextual information related to "twitter:data1" content, such as a project or article release date, enhancing content understanding.
<meta name="twitter:data2" content="Published on: July 20, 2023" />
Offers contextual information related to "twitter:data1" content, such as a project or article release date, enhancing content understanding.
<meta name="twitter:data2" content="Click here for more!" />
"twitter:data2" should not be used for call-to-actions as its purpose is to present factual or descriptive data related to the shared content.

Recommendations

  • Complementary Data
    Utilize "twitter:data2" to complement "twitter:data1" by adding extra information that gives context or expands on the primary data point.
  • Consistency with Content
    Ensure that the information provided in "twitter:data2" is consistent with the page content and the associated Twitter Card type to avoid confusion or misleading information.

Related Documentation

Related Meta Tags

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 App Store ID for an iPad application, directly guiding Twitter users to the app when shared.

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">
A valid example of an App Store ID used for the Twitter iPhone app, facilitating direct app opens or installations from tweets.

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">
Correctly specifies the Google Play Store ID, ensuring Twitter can direct users to the appropriate app page.

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">
Clearly specifies the name of the application as "My Amazing App", which is direct and memorable.

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">
Directly matching the app name on the Google Play Store, ensuring accurate and effective promotion.