Share Buttons - Specifying the TITLE to be Shared

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

Was this article helpful?
1 out of 3 found this helpful