AddThis Academy

An ever-growing library of resources to help you become a better online marketer.

How to Make Sure Your Site is Ready for AddThis

AddThis tools require that the profile ID on your page match the one associated with the profile you’re modifying in order for the changes to work. Without this, we can’t know which settings to use. This document will present possible problems with your profile ID, instructions on how to determine what profile ID is, and how to correct the profile ID if it’s wrong

Possible Problems

  • An anonymous profile ID – If you have a profile ID that starts with xa- then the AddThis tools may not work.
  • An invalid profile ID – If you have a profile ID that isn’t correct
  • A profile ID that belongs to a different account – If your profile ID looks correct, go to your publisher settings and verify that you see that profile ID in your account. Often developers will copy AddThis code from other websites and not use the correct profile ID.
  • No profile ID set – If you have no profile ID set then you’ll need to add it to your page in order for AddThis to work.

How to Check the Profile ID

There are two ways you can do this. You can use the bookmarklet below to check it. First, drag this bookmarklet to your browser’s bookmarks/favorites bar. Then, go to the page you want to check and click it.

Check AddThis Profile ID

Another way to do this is to use your browser’s JavaScript console. Here are instructions for the top four modern browsers


Firefox Web Console

To get to the Firefox web console on a Mac, click on the “Tools” menu, then go to “Web Developer” and then “Web Console.” Or you could press Command+Option+K

Firefox Web Console Windows

In Windows, click on the Firefox menu, then select Web Developer and then Web Console. Or you can press Control+Shift+K


Chrome JavaScript Console

To open the JavaScript Console in Chrome go to View > Developer > JavaScript Console. Or press Command+Option+J (on a Mac) or Control+Shift+J (on Windows.)


For Safari, getting to the JavaScript console can be a two-step process. If you don’t see the “Develop” menu in your menu bar, go to the Safari menu and select Preferences. Then on the preferences window, go ot the Advanced tab and check the box that says “Show Develop menu in menu bar.”

Safari Preferences

Then go to the new Develop menu and select “Show Error Console.” Or press Command+Option+C

Safari Error Console

Internet Explorer 9+

Internet Explorer 10 Tools

Internet Explorer 9 and above have their F12 Developer tools under the gear menu. Or, as the name suggests, you can get to it by pressing F12.

How to check the profile ID

To check the profile ID, enter this at the console command line:;

This is an internal function that will give you the exact profile ID that is being used by the AddThis code on the page. You should see a profile ID that looks like your AddThis username, “atblog” in this example, or one that starts with ra- and then has sixteen random characters afterwards. (In developer speak: A sixteen character hexadecimal string.) Something like this: ra-42fed1e187bae420

How to set the Correct Profile ID

The easiest and way to set the profile ID is to set it in the addthis_widget.js call, like this:

<script src=" PROFILE ID" type="text/javascript"></script>

Second, you can set it using the addthis_config variable. This snippet will set your profile ID in the addthis_config variable. To prevent other code overriding this you should put it at the end of your page, just before the tag:

<script type="text/javascript">
var addthis_config = addthis_config||{};
addthis_config.pubid = ‘YOUR PROFILE ID';

In both these examples remember to replace YOUR PROFILE ID with your profile ID.

Last modified:  May 25th, 2016