{"id":8376,"date":"2019-04-30T05:22:06","date_gmt":"2019-04-30T05:22:06","guid":{"rendered":"https:\/\/ampforwp.com\/tutorials\/?post_type=ht_kb&#038;p=8376"},"modified":"2019-05-03T13:40:52","modified_gmt":"2019-05-03T13:40:52","slug":"addthis-support-integration","status":"publish","type":"ht_kb","link":"https:\/\/ampforwp.com\/tutorials\/article\/addthis-support-integration\/","title":{"rendered":"How to Integration AddThis Social Share in AMP"},"content":{"rendered":"\n<p> <br>AddThis is the world&#8217;s largest content sharing platform. It provides tools that make it easier to share content across the social web including Facebook, Twitter, WhatsApp, and more. We have created compatibility with AddThis in our AMP plugin. <\/p>\n\n\n\n<p><strong>Follow the steps below to add AddThis Share Buttons in your AMP.<\/strong><\/p>\n\n\n\n<p><strong>Step 1: <\/strong> If you haven&#8217;t registered yet then first create the AddThis account <a rel=\"noreferrer noopener\" href=\"https:\/\/www.addthis.com\/register\" target=\"_blank\">https:\/\/www.addthis.com\/register<\/a> <\/p>\n\n\n\n<p><strong>Step 2: <\/strong>In AddThis dashboard click on AMP option like the below screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"496\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-1024x496.png\" alt=\"\" class=\"wp-image-8424\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-1024x496.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-300x145.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-768x372.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-60x29.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5-100x48.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/4-5.png 1348w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Scroll down a little to see this &lt;script&gt; <\/p>\n\n\n\n<p><strong>Step 3<\/strong>: If you are using our plugin then no need to add this &lt;script&gt; in the &lt;head&gt; tag. Once you enable this option No need to add manually this &lt;script&gt; in &lt;head&gt; tag. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"394\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-1024x394.png\" alt=\"\" class=\"wp-image-8428\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-1024x394.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-300x115.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-768x295.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-50x19.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-60x23.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4-100x38.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/5-4.png 1355w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4:<\/strong> Go to AddThis account and copy the &#8220;data-pub-id&#8221; and &#8220;data-widget-id &#8221; like this below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"769\" height=\"230\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9.png\" alt=\"\" class=\"wp-image-8389\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9.png 769w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9-300x90.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9-768x230.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9-60x18.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/1-9-100x30.png 100w\" sizes=\"(max-width: 769px) 100vw, 769px\" \/><\/figure>\n\n\n\n<p><strong>Step 5: <\/strong>Copy this Pub-ID and Tool ID  from AddThis Account.<\/p>\n\n\n\n<p><strong>Step 6: <\/strong>Next go to your <strong>WordPress Admin Area <\/strong>-> <strong>AMP option panel<\/strong> -> <strong>Design <\/strong>-><strong> Social<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"298\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-1024x298.png\" alt=\"\" class=\"wp-image-9051\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-1024x298.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-300x87.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-768x224.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-50x15.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-60x17.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17-100x29.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/05\/Accelerated-Mobile-Pages-Options-\u2039-AMP-\u2014-WordPress-Google-Chrome-2019-05-03-16.48.17.png 1318w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 7: Position: <\/strong>By using this option you can select the position of AddThis where you want to display AddThis in AMP pages single Sidebar (left side), Above content and below content.<\/p>\n\n\n\n<p> <strong>Step 8:<\/strong> <strong>Enter Pub ID: <\/strong>Paste this Pub-ID from AddThis account.<\/p>\n\n\n\n<p> <strong>Step 9:<\/strong> <strong>Enter <\/strong> <strong>Tool ID: <\/strong>Paste this Tool ID  from AddThis account. <\/p>\n\n\n\n<p><strong>Step 10: <\/strong>Click on the Save Change Button.<\/p>\n\n\n\n<h4><strong>The Output of AddThis Share Button.<\/strong><\/h4>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" loading=\"lazy\" width=\"1024\" height=\"488\" src=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-1024x488.png\" alt=\"\" class=\"wp-image-8405\" srcset=\"https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-1024x488.png 1024w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-300x143.png 300w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-768x366.png 768w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-50x24.png 50w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-60x29.png 60w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5-100x48.png 100w, https:\/\/ampforwp.com\/tutorials\/wp-content\/uploads\/2019\/04\/3-5.png 1352w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.<\/p>\n<div id=\"div-1\" class=\"hkb-feedback\">\n\t\t\t<strong class=\"ht-mobile-exit__title\">Ask your Questions Directly!<\/strong><br>\n\t\t\t<div class=\"hkb_widget_exit__content\" style=\"font-size: 14px;\">If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!<\/div>\n\t\t\t<a href=\"https:\/\/ampforwp.com\/support\/#contact\" id=\"button\" target=\"_blank\" rel=\"noopener noreferrer\"><button>Yes, I have a Question<\/button><\/a>\n\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>AddThis is the world&#8217;s largest content sharing platform. It provides tools that make it easier to share content across the social web including Facebook, Twitter, WhatsApp, and more. We have created compatibility with AddThis in our AMP plugin. Follow the steps below to add AddThis Share Buttons in your AMP&#8230;.<\/p>\n","protected":false},"author":18,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[],"ht-kb-tag":[],"_links":{"self":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/8376"}],"collection":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/comments?post=8376"}],"version-history":[{"count":61,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/8376\/revisions"}],"predecessor-version":[{"id":9052,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb\/8376\/revisions\/9052"}],"wp:attachment":[{"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/media?parent=8376"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-category?post=8376"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/ampforwp.com\/tutorials\/wp-json\/wp\/v2\/ht-kb-tag?post=8376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}