How do successful organizations streamline their social management? Can one tool really do it all? We'll answer these questions and more on the next #SMTlive webinar. Register now!

Use Tracking Codes with Your Social Media Sharing Buttons

social media sharingGiven the rapid increase in people using social networks to share and discuss content on the internet, it's no surprise that the majority of websites now have social media sharing buttons integrated alongside their content. However, measuring the success of these buttons is by no means straightforward.

Most buttons have metrics alongside them when embedded as widgets; for example when a “Tweet” button is located on a website it is often accompanied by a number, which refers to the total number of times that button has been used. However, this doesn’t reveal how much traffic this button has driven back to that page – this is where the use of tracking code is extremely useful. 

By creating campaign tags for webpages in Google Analytics, it’s possible to customise social media sharing buttons so links shared by users are tagged with tracking code. This means that when a user’s friends or followers click through to a webpage as a result of seeing it shared within social media, that visit can be tracked back to the source, therefore defining the value of the share. An example of such code would be the following: 


In this instance, the code will track the total number of visits to “page x” from the link shared through the Twitter button. As such, the value of that “Tweet” button over time can be defined by what proportion of traffic to webpages is driven by social media buttons and sharing. This could of course be replicated across other social media buttons too, such as Google+ or LinkedIn, providing the widgets provide scope for webmasters to customise them. Whilst some social networks are likely to shorten these URLs automatically when it comes to users actually sharing, the coded URLs could be disguised within a shortened URL (either owned or from a URL shortening tool) to make them more user friendly.

This can be of huge benefit to both in-house marketers and external practitioners providing social media services within an agency – it essentially provides a rationale for integrating such buttons in the first place. In addition, it can define whether more emphasis should be placed on encouraging visitors to share web content – if this is particularly successful for a certain website it could result in significant increases in traffic via social networks. This is also relevant to SEO agencies from a discoverability perspective too.

(image: tracking codes / shutterstock)

Join The Conversation

Upcoming Webinars

  • August 19, 2015
    Hear from Chris Kerns, Author of Trendology, about the latest findings from the Spredfast Research team and their series, The Smart Social Repor...
  • July 14, 2015
    Today's customer is being pulled in many different directions at once, with buying opportunities at every turn. How can you break through the no...


  • May 27, 2015
    Word-of-mouth marketing has always been a powerful driver of consumer behavior. Every experienced marketer knows that customers are mo...
  • May 20, 2015
    In today's marketplace, social media is an integral component for any growing business. But in order for your business to see return on its...