AddToSite

← Customize

Customize

Count recovery

Counting already folds http and https, a missing www, a trailing slash and campaign parameters into one number. A changed path is the one thing it cannot guess. Name the old address and its counts are added to the new one.

Live demo

Running on this page

The badge on each button is the sum of this address and the old one named in data-also.

The code

This is the demo above, verbatim. Nothing is shortened for the page.

<script>window.ats_config = { counters: true };</script>

<div class="ats_kit ats_kit_size_32"
     data-also="https://addtosite.com/2024/old-slug">
  <a class="ats_button_facebook"></a>
  <a class="ats_button_x"></a>
  <a class="ats_button_linkedin"></a>
  <a class="ats_dd"></a>
</div>

<script async src="//static.addtosite.com/widget.js"></script>

It adds, it does not move

The old URL keeps its own counts. Nothing is rewritten on our side, so naming the wrong address costs you nothing but a wrong number until you fix it.

Next