amp-addthis

Edit on Github
Open in Playground

Introduction

AddThis Floating Bar and Inline Share Buttons are available for AMP! Make it simple for website visitors to share your content with our free social sharing buttons. Allow your visitors to connect directly to 200+ social networks, including Facebook, Twitter, WhatsApp, and more.

Setup

Import the amp-addthis component.

<script async custom-element="amp-addthis" src="https://cdn.ampproject.org/v0/amp-addthis-0.1.js"></script>

Floating share buttons

Placed on the side of your page, following your reader as they scroll. A great way to promote sharing without getting too in-your-face.

Example

<amp-addthis width="320"
  height="92"
  layout="responsive"
  data-pub-id="ra-5c191331410932ff"
  data-widget-id="957l"
  data-widget-type="floating">
</amp-addthis>

Inline share buttons

Integrate share buttons into your content for a seamless sharing experience.

Example

<amp-addthis width="320"
  height="92"
  data-pub-id="ra-5c191331410932ff"
  data-widget-id="mv93"
  data-widget-type="inline">
</amp-addthis>

Implementation

Visit our page to learn to how to setup AddThis on AMP: https://www.addthis.com/academy/how-to-install-addthis-inline-share-buttons-on-amp-accelerated-mobile-pages/

Or check out our YouTube video for step-by-step instructions: