# AddThis Share Functionality

![Example of AddThis share](https://3028197268-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LYM6a76uZePOTen0dIw%2F-LpiWTwMso3YP7D4II3D%2F-LpiXmN8g4vuHwGoWl7d%2FCapture%20d%E2%80%99e%CC%81cran%202019-09-26%20a%CC%80%2019.07.15.png?alt=media\&token=123934d3-c874-4e88-b87e-024b44a85105)

## Backoffice

Inside the Website BO, go to **SEO > Marketing Tags** and copy the Profile ID to "**ADDTHIS PROFILE ID**"

## Code

Create a partial for this, this way if you need to insert it at several places, it will be easy to include it on many other files.

{% code title="partial/social\_share.html" %}

```markup
{if="'{{website.website_marketing.add_this}}' != ''"}
    <div class="socials-share--addThis">
        <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{website.website_marketing.add_this}}"></script>
        <div class="addthis_inline_share_toolbox"></div>
    </div><!-- /.socials-share--addThis -->
{/if}
```

{% endcode %}

Then, inside your file, just include your partial:

```
#$include|partial/social_share$#
```
