Strange code added to the URL

ianhsieh2008 Jun 05, 2012 01:21PM EDT

I add the AddThis code to a few of my sites. And I find out that AddThis is adding some random characters to the URL after the page is loaded. This doesn't happen before, and I've seen these code appear in parts of this site at times. Not sure if these code can be removed without having to remove the AddThis code.

1 Community Answers

Paul Jun 05, 2012 03:19PM EDT

Looks like you've enabled address bar tracking which appends those parameters to your URL. They're there so that we can collect analytics when someone copies the URL out of the address bar instead of going through our sharing tool. It shouldn't affect people linking to your site and can provide insight into what content is the most popular on your site.

If they're not wanted or are causing issues, you're free to disable address bark sharing tracking. Just adjust your addthis_config variable like this:

<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.data_track_addressbar = false;
</script>

More information about address bar sharing analytics is available here: http://www.addthis.com/help/address-bar-sharing-analytics


This question is closed to new answers.

Still need help?


General Topics

 

Developers