AddToAny Social Share for Sitecore
Hello everyone, if you are working in Sitecore SXA, you might have seen that Sitecore SXA module AddThis might have stop working automatically. The reason behind this is Oracle who was supporting AddThis has discontinued its services from 31st May 2023.You can find the details in below Link
So, recently we were trying to look out the easiest way of replacing the AddThis module with bare minimum effort.
After researching, we found three suitable option which can be used instead of AddThis module.
We went ahead with AddToAny module as it was the most simplest way for implementing the Social feeds sharing and it was exactly similar to AddThis module. Let's see how we can implement the same.
AddToAny
Navigate to AddToAny website on link mentioned above and you should get below screen.
Hover on Get The Share Buttons and Select Website. You will be navigating to another Url : https://www.addtoany.com/buttons/for/website
Now you can see on the page where you find an option for Choose Services. You can select services you required for your website.
Once you selected from services, you will see selected services under Arrange section. Now you need to just click the Get Button Code option. It will generate the required HTML and Button code for your website.
Once you have this HTML, just use the html in you website. If you are using Scriban, where your AddThis html is there replace it.Below is the code for reference.
<!-- AddToAny BEGIN -->
<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
<a class="a2a_dd" href="https://www.addtoany.com/share"></a>
<a class="a2a_button_facebook"></a>
<a class="a2a_button_linkedin"></a>
</div>
<script async src="https://static.addtoany.com/menu/page.js"></script>
<!-- AddToAny END -->
And That's it, you will see the icons now. Hope this will help in some or other way.
Thanks for reading. Happy Learning and Happy Sitecoring!!!
If you want to read more blogs on Sitecore you can checkout my other blogs on Blogs
Comments
Post a Comment