Question

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 a 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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top