Skip to main content
All CollectionsShare
Custom Share Objects - Data Attributes
Custom Share Objects - Data Attributes
Collin Brewer avatar
Written by Collin Brewer
Updated over 6 months ago

This is an advanced feature and is recommended for use by Share users who feel comfortable modifying their HTML files directly.

Not only can you use Inline Sharing to customize how Share displays on your site, but you can choose to share content through Custom Share Objects. Through a custom Share data attribute, you can embed whatever Share data you choose in a link, button, or image!

Object Options

  • Assign the share network: data-sumome-share="twitter" ( See below for complete lists of services you can share to.

  • Assign pre-populated URL that's shared: data-sumome-share-url="https://bdow.com/"

  • Assign text for share: data-bdow-share-text="BDOW! is the Best"

  • If you want to include the number of shares for that network: data-bdow-share-count="twitter"

  • TOTAL count you want to use: data-bdow-share-count="share"

Share Object Examples

Used as a link on a page:

<a href="" data-bdow-share="facebook" data-bdow-share-url="https://bdow.com/" data-bdow-share-text="BDOW! is the Best" >Share on Facebook</a>

Used as an image:

<img data-bdow-share="facebook" data-bdow-share-url="https://sumome.com/" data-bdow-share-text="BDOW! is the Best" src="images/facebook.jpg" alt="">

Displayed number of shares:

<strong data-bdow-share="Facebook" data-bdow-share-url="https://bdow.com/" data-sumome-share-text="BDOW! is the Best">Facebook Shares: <span data-bdow-share-count="share"></span></strong>

As Text:

<strong data-bdow-share="Twitter" data-bdow-share-url="https://bdow.com/" data-bdow-share-text="BDOW! is the Best">Facebook Shares: <span data-bdow-share-count="share"></span></strong>

As a Button:

<button data-bdow-share="Twitter" data-bdow-share-url="https://bdow.com/" data-bdow-share-text="Sumo is the Best">Facebook Shares: <span data-bdow-share-count="share"></span></button>

Available Share Services

  • "amazonuniversalregistry"

  • "amazonuswishlist"

  • "aollifestream"

  • "aolmail"

  • "arto"

  • "bdow"

  • "bitly"

  • "bloggerpost"

  • "boxnet"

  • "buffer"

  • "delicious"

  • "digg"

  • "diigo"

  • "diigolet"

  • "email"

  • "evernote"

  • "facebook"

  • "facebooklike"

  • "facebooksend"

  • "fancy"

  • "flipboard"

  • "friendfeed"

  • "googlebookmarks"

  • "googlemail"

  • "googleplus"

  • "hootsuite"

  • "houzz"

  • "instapaper"

  • "kaboodle"

  • "kik"

  • "lineapp"

  • "linkedin"

  • "meneame"

  • "microsoftonenote"

  • "misterwong"

  • "misterwongcn"

  • "misterwonges"

  • "misterwongfr"

  • "misterwongru"

  • "newsvine"

  • "odnoklassniki"

  • "outlook"

  • "pinboardin"

  • "pinterest"

  • "plurk"

  • "pocket"

  • "printerfriendly"

  • "reddit"

  • "slashdot"

  • "sms"

  • "soupio"

  • "stumbleupon"

  • "tapiture"

  • "techmeme"

  • "tinyurl"

  • "tumblr"

  • "twitter"

  • "typepadpost"

  • "viadeo"

  • "vk"

  • "wanelo"

  • "weheartit"

  • "whatsapp"

  • "wordpressblog"

  • "wykop"

  • "xing"

  • "yahoomail"

  • "yammer"

  • "ychackernews"

  • "yummly"

Did this answer your question?