Tracking your websites social media interactions is becoming a necessary statistic in addition to your other visitor behavior demographics. For some websites, this may even be one of the more important statistics to track: A blog owner may want to see how often a post gets shared after its been published; An e-commerce website may want to know the most popular product among thousands of pages; Or even knowing how many times your page URL’s have been shared in other ways.
If you useGoogle Analytics and implemented this manually, adding social media actions tracking can be done in several ways, including Google’s Guide, which is flexible, yet not as quickly implemented as other methods. If you just need the tracking of basic actions, I suggest to use AddThis’ API.
Note: Keep in mind that after implementing Google Analytics, the tracking of Google Plusinteractions will already be integrated. By implementing the below snippets, tracking the actions for Facebook Likes, Twitter and other AddThis plugins you may add will track-able as well.
Although AddThis has a WordPress, Magento and other plugins depending on your CMS, you may want to implement the AddThis codes manually anyway. For example, this snippet of code will include the standard Facebook Like, Tweet and Pin on Pinterest button: