Share Buttons - Customize @Twitter handle, URL Shortener, #Hashtag




With Shareaholic, you can customize what gets shared when people share to Twitter. To optimize your Twitter shares, you can customize your Twitter Template and setup Twitter Cards.

You can customize your Twitter Template to include your @Twitter handle, URL shortener, hashtags, etc.

Including your Twitter handle in your site's social shares can help you gain followers and brand recognition whenever users Tweet links to your content – a passive and easy way to build your audience!

You can also add Suggested Twitter accounts to appear in the "Who to Follow" list after a user shares your content! You can read more about this feature here.

How to customize your Twitter Template

Code-less method - in the Admin UI, head over to Site Profile -> Settings -> Sharing -> Sharing Settings

  1. Login to your Shareaholic account and select a Site Profile.
  2. Click the Settings link on the left side of the page.
  3. Select the Sharing tab.
  4. Edit the text in the Tweet Template section to customize the default message that appears when someone tweets a page from your site.
  5. Select your preferred URL Shortener from the dropdown menu.
  6. Click Save Changes.


Code method - 

   <div class="shareaholic-canvas"
                 "text":"${title} - ${short_link}",

If both code and codeless methods are set, code method will take priority.

Twitter template variables available

  • ${title}this template variable will insert the title of the page
  • ${link}this template variable will insert the URL of the page
  • ${short_link} - this template variable will insert a shortened version of the URL
  • @username - if you'd like to call out a specific Twitter handle (ex. @yoursite)
  • #hashtag - if you'd like to tag all outgoing Tweets with specific keywords/topics