Share Count Recovery: How to Recover Your Social Share Counts If They’ve Been Lost


We all know how important it is to display share counts for your content. They can establish social proof and credibility, making a HUGE difference to boost visitor confidence.

But what if you need to move your blog to a new domain name or more likely, move from HTTP to secure HTTPS? (Google is pushing for a shift to SSL, there is no secret in this) If you've already done so, you may notice that all your Share Counts for your content disappear as soon as you make the move…

To explain: Sharing destinations (like Facebook, Pinterest, and Google+) typically track and report share counts separately for each URL pattern. When a site changes its URL pattern, the sharing destinations consider the new URLs as brand new pages, completely unrelated to the old URLs.

… and you’re left asking yourself how do I recover my share counts and all that hard-earned social proof you worked so hard for over months and years?! This can be incredibly frustrating. It is not a pleasant situation at all. So, what is one to do?

Enter Share Count Recovery

Fortunately, thanks to Shareaholic, you can now switch to HTTPS and keep your Social Share Counts. You can even switch your domain (ex. moving from to, or to just the domain or URL structure and keep all your social share counts!

Shareaholic’s Share Count Recovery feature enables you to recover any missing shares that may have been lost in the URL change. Once the Share Count Recovery feature is active, Shareaholic will begin to fetch share counts for both URLs, add them together, and display the combined total. Voilà – all your hard work and social proof will, again, be fully accounted for and only display for all to see!

Note: You do not need to have had Shareaholic installed before your domain, URL structure or SSL switch. Share Count Recovery should work on any site at any time and activates immediately. Switch now and recover your valuable share counts!

Share Count Recovery is an active process. What this means is that we look up share counts for various versions of the URL and add them up when appropriate. So if you deactivate the feature, this process will stop and your share counts will go back to what they would normally be without Share Count Recovery enabled.

Recover Your Shares When...


How to Enable Share Count Recovery

1. Login to your Shareaholic account and select your site from the My Sites dropdown on the top of the page.

Note: Share Count Recovery is currently available to site profiles that are on a premium subscription plan. If you are a premium plan subscriber with multiple site profiles in your account, the Share Count Recovery feature will be available for the site profile for which the premium plan is active.

2. Click on Settings on the left-hand side of the page.


3. Select the Sharing tab, and then click on Share Counts.


4. If you have or are about to move your site from HTTP to HTTPS (SSL), click on the toggle button next to Combine HTTP & HTTPS Protocols.


If you changed your base domain (for example, moved from '' to ''), click the toggle button next to Combine Previous Base Domain and enter your old base domain.


5. Click 'Save Changes' and voilà - all your hard work and social proof will, again, be fully accounted for!


Combining Previous URL Structure

NOTE: This feature will only display recovered shares on the individual posts/pages - combined shares retrieved using this method will not be displayed on the index page or 'previews' of the posts.

1. If you changed or are going to change the URL structure of your website, follow the above steps and click on the toggle button next to Combine Previous URL structure.

2. Next, specify the URL/permalink structure that you are migrating away from.

WordPress users:

If the website is running WordPress, you will see a number of additional preset options in the Shareaholic admin interface that are probably familiar to you. They are a direct reflection of the common permalink options available in the WordPress permalink settings menu. You can pick from Plain, Day and Name, Month and Name, Numeric, Post name or specify a Custom format.


When specifying a Custom Structure, you can use any of the following tokens:

All other platforms:

After you specify the previous URL structure in the Custom Structure settings, you will need to specify the token value on your webpage.recover-share-counts-any-cms-previous-url-format.jpg

For the above example to work, you'll need to insert the following custom code into your site's HTML template, generally in the <head> tag where it will appear on every page. The code you'll need to paste in looks like:

<script type='text/javascript' data-cfasync='false'>
_SHR_SETTINGS_CUSTOM = {"url_components":{"postname":"INSERT_VALUE"}};

NOTE: This code must be inserted in the header above the script tag containing your Setup Code / shareaholic.js.

You'll replace the 'INSERT_VALUE' text with your previous post URL structure. This section is fully customizable, and you can add and specify as many url_component tokens as you'd like!

If you have selected both 'Previous Domain' and 'Previous URL Structure' in your Share Count Recovery settings, we automatically apply the Previous URL Structure to your old/previous domain rather than the current domain. We do this to optimize page performance.

Was this article helpful?