Skip to content

Social shares and setting consistent URLs

It’s important to keep your share URLs consistent with your canonical URL. looks at the og:url tag and the rel canonical tag when determining the possible aliases for a post. If these URLs are different, it can cause incorrect reporting of not just shares, but pageviews, visitors, etc. in the dashboard as well.

How could different share URLs affect my pageview counts? They’re not related.

The reason for this is how considers the idea of a post. A “post” is one canonical URL, with multiple link aliases. So “” could be the canonical URL, but “” redirects to the above canonical. In’s system, those two links are grouped under one “post”: that is, hits and shares to either of those are counted to the same post. The second URL is considered an “alias” in our system to the canonical URL.

The reason that your share URLs could affect share counts is that we rely on third-party services to get our share counts, and in order to maximize the share count accuracy we receive from these third-party services like Twitter and Facebook, we make every share link an alias of the canonical URL, so that each of those URLs will be polled for shares data from Twitter and Facebook. Normally, this is not a problem, since the canonicals and share URLs match. When the share URLs are different, however, you must ensure that they resolve or redirect to the same URL as the canonical URL or pageviews can be misattributed.

Here are some examples of the right and wrong way to do this:

Correct Share URL tags

 <link rel="canonical" href=""/>
 <meta property="og:url" content=""/>
 <meta name="twitter:url" value=""/>

Incorrect Share URL tags

<link rel="canonical" href=""/>
<meta property="og:url" content=""/>
<meta name="twitter:url" value=""/>

But I use an SEO-friendly link for my share canonicals, but a different link for my canonical URL. Will this be a problem?

No- as long as the SEO-friendly link resolves or redirects to the canonical URL (for example- in the above example, as long as redirects to, then there will be no problem. The SEO-friendly link will be aliased to the canonical URL and everything will be correctly categorized. Please note, however, that it is best practice to have one single canonical URL and we strongly recommend publishers to have one single canonical URL for all their social networks as well as for

I’m still not sure about this. Can I get more information?

Sure! Shoot an email, or ask your account manager for help, and we’ll be happy to get back to you and help in your specific case!

Last updated: August 16, 2023