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
Note: if you're using either the Shareaholic WordPress or Drupal plugin, data-title is set automatically.
<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>
- 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 with more than one article listed, it is best to specify the data-link attribute for each article. If the data-link attribute is not specified, 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, data-link attribute is automatically inserted for you.