matt
matt

Reputation: 44293

Google +1 Count for my homepage not for all subpages?

I implemented the fairly new Google +1 Button to a site I've developed. It sits in my footer and I want people to just +1 this page if the think it's a cool page. Since I implemented it already a few people clicked it on the homepage.

However when clicking a link to a subsite of my page or the URL has an e.g., a #hash in it the +1 Button in my footer looses his count and start again with zero. Of course that's the purpose of the +1 Button to "like" or "+1" each article and each page on a website.

I wonder if it's possible to have the same global count of the button on my entire website?

Upvotes: 4

Views: 675

Answers (1)

Rob
Rob

Reputation: 6871

What you could try to do is use the href attribute in the plusone tag. Like this;

<g:plusone size="medium" href="http://www.mydomain.com"></g:plusone>

This way you can force an url into the plusone. Just a long shot, not sure if it will work. More about the href attribute is explained here.

Upvotes: 4

Related Questions