Early Access

Meta Tags

twitter:label1

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

Used within Twitter card metadata to define the label for data displayed in tweet cards generated from shared URLs. It's typically used in conjunction with `twitter:data1` to showcase specific types of information, enhancing social sharing.

Code Examples

<meta name="twitter:label1" content="Author" />
Specifies that the accompanying `twitter:data1` tag will display the article’s author name, providing clear context for the data.
<meta name="twitter:label1" content="Location" />
Indicates that the `twitter:data1` will contain location information, which is especially useful for local news or event pages.
<meta name="twitter:label1" content="This article was written by" />
Too verbose and likely to be truncated, reducing clarity of the information on the card.
<meta name="twitter:label1" content="" />
An empty `twitter:label1` tag defeats the purpose of providing clear categorization for the accompanying data.

Recommendations

  • Coordinate Labels with Data
    Ensure that the `twitter:label1` content is directly related to the `twitter:data1` content for clear and coherent data presentation on the Twitter card.
  • Keep It Concise
    Labels are often displayed in a limited space on Twitter cards. Aim for succinct labels that convey the essence of the information without truncation.

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.