Specifying the TITLE to be Shared

Follow

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:

  1. "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.

  2. Open Graph Title Meta Tag
    <meta property="og:title" content="7 Hard Truths for Marketing in the Modern Age" />
  3. Twitter Title Meta Tag
    <meta name="twitter:title" content="7 Hard Truths for Marketing in the Modern Age" />
  4. 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.

Have more questions? Submit a request
Powered by Zendesk