AddThis Academy

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

How to Install the AddThis Code to Shopify

Installing AddThis tools on your website is simple! In this article, we will walk you through each step. You can also check out the tutorial below for our video walkthrough:


You can install AddThis either through the Shopify app or by installing the AddThis JavaScript directly onto your site. We will go over both methods so you can choose which one is best for you.

Installing AddThis Using the AddThis Shopify App

  1. Login to your Shopify account and find the “Apps” store option in the left-hand side toolbar. Open this and search for AddThis.
  2. Select the AddThis Sharing Tool and finish installing.
  3. Next, you will see configuration options for your tools – you can make selections here on how you want your tools to show. Select the style of sharing buttons you prefer and copy and paste your AddThis Profile ID below into the AddThis Analytics Profile ID input field so that your shares can be captured and reflected in the AddThis dashboard. Then press Save Settings.
  4. After you’ve saved, you need to add a snippet of “liquid code” to ensure that the codes show up on the page you want. To do that, In your Shopify administration panel, click Online Store > Themes in the left navigation.
  5. Click the Actions dropdown menu in the current theme section, then select Edit Code.
  6. Find the template that you’d like to add the sharing buttons to, like the product.liquid template to add sharing buttons to your product pages.
  7. Decide where the sharing tool should appear, and add this line: {% include ‘addthis’ %}. Then click Save.
  8. Refresh your page and the buttons should be there!

Installing AddThis Using the AddThis JavaScript

  1. Signup for an AddThis account here.
  2. Activate and customize the tools that you would like to use on your site.
  3. Go to the Get the Code page in your AddThis dashboard and copy your unique snippet of JavaScript under the HTML tab.

    Copy AddThis Code
  4. Login to your Shopify account.
  5. In your Shopify administration panel, click Online Store > Themes in the left navigation.
  6. Edit Shopify Theme
  7. Click the Actions dropdown menu in the current theme section, then select Edit Code.
  8. Edit Shopify HTML
  9. Paste the snippet of JavaScript at the bottom of your theme.liquid template, just above the </body> tag then click Save.
  10. Add AddThis code to product template
  11. If you’ve activated an inline tool, there is a second snippet of code that you will need to add to your site. Copy the inline snippet from the Get the Code page in your AddThis dashboard and paste it into your Shopify theme where you would like your inline tool to appear.
  12. Refresh your page and the buttons should be there!

If you need any assistance, please feel free to contact our dedicated support team. We are always glad to help!