If you use SiteCatalyst to track campaign performance and AddThis for social sharing, you may find this useful.
How to append a CID to a shared URL:
Create a new Creative Element in a Campaign in SiteCatalyst’s Campaign manager then add the code below just after your AddThis button.
Note: replace 1234 with your CID number in the code below.
<script type=”text/javascript”>
if
(window.location.search.substring(1))
var newURL = window.location.href+”#”;
else
var newURL = window.location.href+”?”;
if
(window.location.search.substring(1))
var newURL = window.location.href+”#”;
else
var newURL = window.location.href+”?”;
newURL+=”cid=1234″;
var addthis_share = {
url: newURL
}
</script>
Your url’s will look like this: http://yoursite.com?CID=1234