How to Install ShareThis’ Tools on BigCommerce
In order for ShareThis tools to work on your BigCommerce website, follow the steps below to add your unique ShareThis code to the <head> section of your website:
- Log in or Sign up to the ShareThis Platform.
- Select the ShareThis tool you would like to use and activate it by clicking the Enable tool button.
- Then, customize the buttons by selecting your social channels, size, shape, as well as extras such as the minimum number of shares you wish to have before showing counts.
- Select the Activate code button in the top right corner. In the pop-up, click the Copy code button.
- Log in to your BigCommerce website.
- In the left navigation bar, select Storefront followed by Script Manager.
- Within Script Manager, select Create a Script.
- Apply the following updates:
- Name of script: ShareThis
- Script type: Change selection to Script
- Script contents: Paste the unique ShareThis code that you copied from step 4.
- Click Save.
Adding Inline ShareThis Tools
Inline tools require an extra snippet of code to work on your site. If you would like to install our Inline Share Buttons, Follow Buttons, Reaction Buttons, or Social Feed tools on your website, you will need to add placement code wherever you want the tool to appear.
- In your ShareThis Platform, select the ShareThis tool you want to use and copy the placement code. Depending on the tool you are installing, the code should look similar to this:
<div class="sharethis-inline-share-buttons"></div>
- In the left navigation bar of your BigCommerce website, select Storefront followed by Web Pages.
- Navigate to a page on your website (e.g., blog, product, etc) and click the HTML icon in the Web Page Details section.
- Paste the unique ShareThis code that you copied from Step 1, wherever you want the ShareThis tool to appear.
- Click Update.
Adding Inline ShareThis Tools using a code block (Alternate method)
- Go to the Page Builder editor of your page.
- On the left sidebar, select Widgets, then drag and drop the HTML one wherever you want your buttons to appear.
- Paste the placement code that you copied from the ShareThis Platform on the HTML editor.
- Click Save.
Note: The ShareThis tools may not appear on the backend of your website so you may need to visit your published website in order to view them.