Google Analytics

 

At ShareThis we've built our technology to integrate with Google Analytics, which is designed to help publishers identify and track key metrics. Follow these easy steps:

 

  1. 1. Sign up for Google Analytics at http://www.google.com/analytics and follow Google's instructions to embed their code into your website pages.
  2. 2. Add the ShareThis JavaScript code to enable content sharing, if your haven't already done so. Thats it! ShareThis automatically scans you page to find your Google Analytics ID and logs social events. You will see sharing activity from your site under the event "ShareThis" in your Google Analytics web dashboard.

 

If you wish to change the default Google Analytics ID contained in your web-page you can change the ID to which ShareThis logs sharing events. Modify the ShareThis JavaScript code to pass a different ID parameter as shown below (remember to substitute your ID in example):

		 
<script type="text/javascript">
        stLight.options({
                publisherGA:"UA-1645146-1"
        });
</script>

You can turn off Google Analytics logging as follows:

		 
<script type="text/javascript">
        stLight.options({
                tracking:"false"
        });
</script>

 

In your Google Analytics reports, you can find the ShareThis data under Event Tracking > Categories > ShareThis.