How to remove ShareThis from WordPress

Andrei Iordache

Andrei Iordache

WordPress Developer

🚀 I Help People Get Found Online | WordPress Development, Core Web Vitals, Security&Maintenance

Today, while I was working to improve the speed performance of a WordPress site of one of my clients, I found that it’s a bit difficult to get rid of ShareThis. In this article I will show you some tricks about how to remove ShareThis from WordPress and increase the GTmetrix score.

How I discovered the problem:

My client had a Google Analytics plugin (developed by ShareThis) installed on her website. That plugin offered the opportunity to get a nice GDPR button (called Privacy) on each page. The hidden part was that her website were tracked by a countless number of vendors. After I explained her what happened and if she knows that her website is tracked (and her website visitors spied, without the website owner’s consent) , she asked me to get rid of ShareThis quickly.

After I discovered the source of that “Privacy consent” button (it was a quick search, because I knew she installed a free plugin developed by this company) , I deactivated that feature from inside the plugin’s dashboard.

Few minutes later, I checked the website again with GTmetrix & PageSpeed Insights and surprise: Some parts of the script were still there. Of course, I disabled right away that GA plugin and I exhaled noisily as a sign of relief. In the following minutes I rechecked the website from mobile, and suddenly appeared another problem: The GA still report my visits. I rechecked if the GA plugin was deactivated&deleted, and yes: It was deleted.

I went to GTmetrix again, to see if it still there: https://l.sharethis.com !!! (Damn! ). Beside it, another one: https://buttons-config.sharethis.com/js/(a-bunch-of-numbers).js . Hmm! Strange. What could be the connection between buttons, ShareThis and…Done! The share buttons. But where are they, usually (on the homepage, nothing). OFC! Let’s check on the blog: The share buttons from inside each blog page were the problem( the buttons were inside the theme, as a feature ). Not only they appeared to GTmetrix, but the strange thing was that, even without a GA tracking code or plugin installed on the website, the Analytics still reported the visits. Another person reported this kind of problem on the plugin page of WordPress.org: Can’t remove code. Another one here: Plugin does not go away

So, after I deactivated the sharing buttons from the theme, the GA tracking stopped and the https://l.sharethis.com dissapeared from GTmetrix and the website speed performance has been increased to A score.

The point is: A lot of “free plugins” may raise huge profits from your website, through your audience, without your consent. I don’t know if it’s legal or not (they may specify this in the ToS of the plugin) , but I am 100% sure that it’s not ethical. Better, ask for a review/donation, instead of tracking people without an initial consent. Below is just a part of the calls through this plugin ( no wonder the website performance was affected ):

Calls:

  1. http://w.sharethis.com (JavaScript, Image)
  2. http://wd-edge.sharethis.com (JavaScript)
  3. http://wd.sharethis.com (JavaScript)
  4. http://w.sharethis.com (CSS)
  5. http://l.sharethis.com (Image)
  6. http://adadvisor.net (Image)
  7. http://bcp.crwdcntrl.net (Image)
  8. http://rc.rlcdn.com (JavaScript)
  9. http://d.agkn.com (JavaScript)
  10. http://secure-us.imrworldwide.com (JavaScript)
  11. http://log.dmtry.com (JavaScript)
  12. http://match.adsrvr.org (JavaScript)
  13. http://www.wtp101.com (JavaScript)
  14. http://www.adadvisor.net (Image)
  15. http://p.brilig.com (Image)
  16. http://e.nexac.com (Image)
  17. http://su.addthis.com (Image)
  18. http://rtd.tubemogul.com (Image)
  19. http://d.p-td.com (Image)
  20. http://ds.reson8.com (Image)
  21. http://loadus.exelator.com (Image)
  22. http://dp2.33across.com (Image)
  23. http://p.nexac.com (Image)
  24. http://p.raasnet.com (Image)
  25. http://p.rfihub.com (Image)
  26. http://i.w55c.net (Image)
  27. http://loadm.exelator.com (Image)
  28. http://a.triggit.com (Image)
  29. http://sync.mathtag.com (Image)
  30. http://r.casalemedia.com (Image)
  31. http://dpm.demdex.net (Image)
  32. http://idsync.rlcdn.com (Image)
  33. http://load.s3.amazonaws.com (Image)
  34. http://d.xp1.ru4.com (Image)
  35. http://segments.adap.tv (Image)
  36. http://dm.de.mookie1.com (Image)
  37. http://ib.adnxs.com (Image)
  38. http://tags.bluekai.com (Image)
  39. http://sync.tidaltv.com (Image)
You can read more about the list above, and more contextual information on this article:
ShareThis slowing down your site? Here’s why.
Previous Post
[SOLVED] We’re validating your FAQ issue fixes for site
Next Post
Law Firm Blog: Why to include a Blog section
Lusi StudiosLusi Studios
15:32 22 Jun 22
Andrei did an amazing job! He helped in a very rushed time and he excelled at everything. Thanks again!
I am grateful and I would to thank Websites Seller for their support in site recovery and site transfer. Websites Seller just saved my business. Thank you!
Wouter GhysensWouter Ghysens
11:52 10 Sep 21
Looking for a Wordpress transfer from site A to site B, I found back Andrei from Wesites Seller on Google.He was very proactive in his approach, came with hundreds of ideas and lifetime experiences from other migrations. He knows the wordpress, the hosting and php database as the back of his pocket.And we worked out this migration very smooth. Together we solved it, and myself and my business are very pleased with his approach.100% recommendation & kudo's from out of Belgium!
Ioachim CiobanuIoachim Ciobanu
18:39 14 Jul 21
Websites Seller built my resume site. Deliverables were quickly completed, and I was asked for my feedback at each stage of development. All feedback I gave was implemented in a short time.Another great thing is that he comes with smart solutions, regarding stuff which I didn't initially think of (site security, Google site speed optimization and so on). Basically, he was great, staying in touch, keeping me updated and paid attention to what was most important for my site.Overall, I am very happy with the work done. I highly recommend this developer!
K CollinsK Collins
09:11 19 May 21
I needed help with website speed - to improve my core web vitals - without compromising the usability of my site. Andrei was extremely responsive, proactive and fast. And more importantly, he increased by website speed. Highly recommend him, and I will be using him going forward on all my projects.
â€č
â€ș

Services

WordPress Website Maintenance Services

WordPress Maintenance Services

WordPress website maintenance service that provides cloud backups, emergency support, weekly website updates, speed and many more.

sally

WordPress Migration Service

Safely transfer your WordPress website to a new location for $75. … Migrate your website to its new host.

lawyer-office

Lawyer Web Design

We specializes in website design, Internet marketing and SEO for lawyers and attorneys throughout the Europe and US.