AddThis Academy

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

URL Shortening

Our share-time URL shortening makes it easy to integrate AddThis with your click analytics. Twitter shares are automatically shortened with so you only need to use this feature if you want integration. Best of all, it works with vanity domains as well as the usual domains.

At this time, only shares to Twitter are supported with our shortening service.

Optional: To configure our URL shortener to use your account, you need to provide us with your login and API Key which you can retrieve from Once you have that, sign in to AddThis, go to the profile settings page and select the profile you’d like to link to your bitly account. In your profile settings you’ll find a form that lets you enter your bitly login and API key. Your key will be stored safe on our servers and won’t be exposed in your site’s html. Lastly you’ll need to update your sharing config.

Make sure your AddThis profile ID (pubid) is correctly configured, else we won’t be able to look up your key. Shortening with Sharing Buttons

If you’re using our sharing buttons, add the code below to your addthis_share configuration object and specify the services that you want to use shortening.  For example “twitter”, as shown here:

<script type="text/javascript">
var addthis_share = {
     // ... other options
     url_transforms : {
          shorten: {
               twitter: 'bitly'
     shorteners : {
          bitly : {} 

You’ll also need to make sure that your page has a valid canonical tag in order for the URL shortening to work properly. Shortening with Sharing Endpoints

If you’re using our sharing endpoints, add “shortener=bitly” on your requests. As an example, your URL might look like this:

Last modified:  October 24th, 2018