# AddThis buttons not reflecting changes to page

**URL:** https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987
**Category:** Support
**Created:** [June 18, 2016, 4:17am UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987 "2016-06-18T04:17:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tomwrench](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomwrench/32/54576_2.png) [@tomwrench](https://meta.discourse.org/u/tomwrench)
#### Post date: [June 18, 2016, 4:17am UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987/1 "2016-06-18T04:17:53Z")

</div>

I appreciate there is already a sharing option within Discourse posts, however I thought I’d play around a bit with the AddThis sharing buttons ([https://www.addthis.com](https://www.addthis.com)) on my site (see screen shot below) to see if they can promote sharing a little more. Having had a play around I’ve found the buttons fail to recognise changes in URL when the different pages are dynamically loaded.

E.g. I load the home page, then click through to a post, but when clicking on one of the AddThis buttons to share the post they are stuck with the URL of the original page it loaded on (the home page).

Currently I have the javascript code in the section in the customize admin option. Does anyone know a way to make this code to force reload so it shares the correct page when sharing?

 ![](https://global.discourse-cdn.com/meta/original/3X/4/8/48e5d14be0f61cf1694e836651dd62361f62e1af.png)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [June 18, 2016, 4:20am UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987/2 "2016-06-18T04:20:29Z")

</div>

These are not compatible with JavaScript apps like Discourse, they are intended for websites.

---

<div class="post-metadata">

### Author: ![tomwrench](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tomwrench/32/54576_2.png) [@tomwrench](https://meta.discourse.org/u/tomwrench)
#### Post date: [June 18, 2016, 4:21am UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987/3 "2016-06-18T04:21:54Z")

</div>

Yeah, that was the conclusion I was coming to. Thought I’d ask anyway to see if anyone had a trick to make it work! Cheers Jeff.

---

<div class="post-metadata">

### Author: ![AshishS](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashishs/32/120759_2.png) [@AshishS](https://meta.discourse.org/u/AshishS)
#### Post date: [August 28, 2017, 5:21am UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987/4 "2017-08-28T05:21:18Z")

</div>

Is there a work around to this?

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:44pm UTC](https://meta.discourse.org/t/addthis-buttons-not-reflecting-changes-to-page/45987/5 "2024-06-08T12:44:20Z")

</div>

This topic was automatically closed after 2912 days. New replies are no longer allowed.
