StingeyB
StingeyB

Reputation: 545

Why Is My Google +1 Button Counts the Same Over Multiple Pages

I'm not sure why, but the +1 buttons on my site are all showing the same number of +1's. They render fine and the tag is working. Here's the code I've put on different pages:

<g:plusone size="medium" href="http://example.com/" callback="GooglePlusOne"></g:plusone>

<g:plusone size="medium" href="http://example.com/episode2" callback="GooglePlusOne"></g:plusone>

<g:plusone size="medium" href="http://example.com/episode3" callback="GooglePlusOne"></g:plusone>

What am I missing?

Upvotes: 1

Views: 197

Answers (1)

g7876413
g7876413

Reputation: 279

The button has a href attribute that I believe specifies the URL that you are "+1"ing, you could try removing it so it defaults to the canonical.

If that is not specified it should default to the pages Canonical link,you should then check that they aren't the same for the pages you are looking at.

Also check that the URL you are trying to +1 is publicly accessible (daft to ask but worth mentioning).

Upvotes: 2

Related Questions