Getting Started with ShareThis (HTML Websites)
We make it easy for your visitors to share, follow, and interact with your content—helping you grow your audience and reach. This quick-start guide walks you through adding ShareThis to your HTML site, placing tools exactly where you want them, and ensuring everything works smoothly.
Quick start (2 ways)
- Use the ShareThis Platform (recommended)
Best for full control and customization. Create or log into your ShareThis account, enable the tool you want, copy your unique head code, and paste it into your site’s <head>. Then customize and publish.
👉 Start here (register) - Use a Plugin or Integration
If you’re on WordPress, Shopify, React or Angular, install our plugin/integration for a smoother setup.
Before you begin: Make sure you (or your developer) have access to your site’s HTML <head> section, or the ability to add site-wide scripts through your CMS or website builder.1
Install the ShareThis head code
- Log in or sign up to the ShareThis Platform.
- Add your domain.
- Copy your unique ShareThis code (i.e. “<head> code”) and paste it into your website’s <head> and save/deploy. You can find your unique installation <script> code (i.e. <head> code) by navigating into Settings > Setup (in the ShareThis Platform).
- Go to Apps. Enable the App you want to display in your website.
Tip: You can also find your head code under Profile → Settings → Setup in the Platform.
Add Inline tools (placement code)
Log in to the ShareThis Platform, enable the Inline tool you want (Inline Share Buttons, Follow Buttons, or Reaction Buttons), and customize its appearance and settings.
Then, copy the placement <div> code from the Platform and paste it into your page’s HTML wherever you want the tool to appear (e.g., blog post, product page).
Inline Share Buttons:
<!-- ShareThis BEGIN -->
<div class="sharethis-inline-share-buttons"></div>
<!-- ShareThis END -->
Follow Buttons:
<!-- ShareThis BEGIN -->
<div class="sharethis-inline-follow-buttons"></div>
<!-- ShareThis END -->
Reaction Buttons:
<!-- ShareThis BEGIN -->
<div class="sharethis-inline-reaction-buttons"></div>
<!-- ShareThis END -->
Note: If your buttons don’t appear, check the container or section where you placed them. Some CSS layout settings (like very narrow or fixed-size containers, or strict flexbox rules) can prevent the buttons from showing. Make sure there’s enough space for them to display.
Verify your installation
Once your ShareThis code is installed correctly and the app is enabled in the Platform, your buttons should appear and work on your site immediately.
The verification banner in your dashboard will disappear after the script fires at least one page view or share event. Please allow up to 24 hours for your Sharing Intelligence (Analytics) graphs to begin populating.