Share Buttons automatically evaluate the webpage they are placed on for signals for the best page title to share.
For non-index pages (ie. pages that contain a single piece of content for sharing), the following signals are evaluated in this specific order:
- "data-title" attribute
<div class='shareaholic-canvas' data-app='share_buttons' data-app-id="xxx" data-title='7 Hard Truths for Marketing in the Modern Age' data-link='http://www.yourwebsite.com/'></div>Note: if you're using either the Shareaholic WordPress or Drupal plugin, data-title is set automatically.
- Open Graph Title Meta Tag
<meta property="og:title" content="7 Hard Truths for Marketing in the Modern Age" />
- Twitter Title Meta Tag
<meta name="twitter:title" content="7 Hard Truths for Marketing in the Modern Age" />
- HTML Title Tag
<title>7 Hard Truths for Marketing in the Modern Age</title>
For index pages, it is best to use the data-link attribute when placing Share Buttons on a webpage. If the data-link attribute is not utilized, Share Buttons automatically determines the Title to be shared based on a number of factors, including page structure. Note: if you're using either our WordPress or Drupal plugin, this is taken care of automatically for you.