Sharing Customization

Share Counters

Individual share counts of the same style can be placed alongside supported AddToAny share buttons.

Note: Twitter no longer provides public share counts.

Large share counters

Share counters

AddToAny offers share counts alongside scalable vector icons (32 x 32 pixels and greater SVG format).

Add the following HTML code, for example, to the "Service Buttons HTML code" box in Drupal Configuration > System > AddToAny > Buttons > Service Buttons.

In WordPress, go to Settings > AddToAny, then click the down-arrow below the icon of an enabled service to toggle the "Show count" checkbox.

<a class="a2a_button_facebook a2a_counter"></a>
<a class="a2a_button_pinterest a2a_counter"></a>
<a class="a2a_button_linkedin a2a_counter"></a>
<a class="a2a_button_tumblr a2a_counter"></a>
<a class="a2a_button_reddit a2a_counter"></a>
<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
    <a class="a2a_button_facebook a2a_counter"></a>
    <a class="a2a_button_pinterest a2a_counter"></a>
    <a class="a2a_button_linkedin a2a_counter"></a>
    <a class="a2a_button_tumblr a2a_counter"></a>
    <a class="a2a_button_reddit a2a_counter"></a>
    <a class="a2a_dd a2a_counter" href="https://www.addtoany.com/share"></a>
</div>

<script src="//static.addtoany.com/menu/page.js"></script>

Small share counters

AddToAny offers small share counts alongside share icons in the traditional 16 x 16 pixels PNG format.

<div class="a2a_kit a2a_default_style">
    <a class="a2a_button_facebook a2a_counter"></a>
    <a class="a2a_button_pinterest a2a_counter"></a>
    <a class="a2a_button_linkedin a2a_counter"></a>
    <a class="a2a_button_reddit a2a_counter"></a>
    <a class="a2a_button_tumblr a2a_counter"></a>
    <a class="a2a_dd a2a_counter" href="https://www.addtoany.com/share"></a>
</div>

<script src="//static.addtoany.com/menu/page.js"></script>

Infinitely scalable share counters

Large retina-ready icons and counters are scalable to any size while remaining perfectly crisp on high pixel density displays.

<div class="a2a_kit a2a_kit_size_64 a2a_default_style">
    <a class="a2a_button_facebook a2a_counter"></a>
    <a class="a2a_button_pinterest a2a_counter"></a>
    <a class="a2a_button_linkedin a2a_counter"></a>
    <a class="a2a_button_reddit a2a_counter"></a>
    <a class="a2a_dd a2a_counter" href="https://www.addtoany.com/share"></a>
</div>

<script src="//static.addtoany.com/menu/page.js"></script>

Details

<div class="a2a_kit a2a_kit_size_32 a2a_default_style">
    <a class="a2a_button_facebook a2a_counter"></a>
    <a class="a2a_button_pinterest a2a_counter"></a>
    <a class="a2a_button_linkedin a2a_counter"></a>
    <a class="a2a_button_reddit a2a_counter"></a>
    <a class="a2a_button_tumblr a2a_counter"></a>
    <a class="a2a_dd a2a_counter"" href="https://www.addtoany.com/share"></a>
</div>

<script src="//static.addtoany.com/menu/page.js"></script>

To place a share counter alongside a standalone service that supports counters, add a class name of a2a_counter to the service.


Supported services

AddToAny gets share counts directly from major services that provide share count APIs. Service counters are continually supported based on usage and API availability.

  • Facebook
  • LinkedIn
  • Pinterest
  • Reddit
  • Tumblr

The AddToAny universal share counter aggregates counts from Facebook by default. When additional service counters (LinkedIn, Pinterest, etc.) are active, those counts are included in the universal count as well.


Other services

Twitter no longer provides public share counts.

Google+ does not provide a public share counts API, but AddToAny supports using a +1 button or a Google+ share button among supported share counters, as in the following customization with icons set to 24 pixels.

<a class="a2a_button_facebook a2a_counter"></a>
<a class="a2a_button_google_plusone" data-size="standard" style="width:85px"></a>
<div class="a2a_kit a2a_kit_size_24 a2a_default_style">
    <a class="a2a_button_facebook a2a_counter"></a>
    <a class="a2a_button_google_plusone" data-size="standard" style="width:85px"></a>
    <a class="a2a_dd a2a_counter" href="https://www.addtoany.com/share"></a>
</div>

<script src="//static.addtoany.com/menu/page.js"></script>