Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 07:07:41 PM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155550 Posts in 21714 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Google+ "+1" Button Question  (Read 600 times)
schadowhunter

Offline Offline

Posts: 16


« on: July 18, 2011, 03:20:50 PM »

Hey guys,

I just added the new Google+ "+1" button to my webpage. It is supposed to show up right below the searchbox in the navbar on the right.

Template: generic

index.php

<head>
Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js" href="http://www.mydomain.bplaced.net/WebsiteBaker/">
  {lang: 'de'}
</script>

<body>
Code:
<g:plusone size="medium"></g:plusone>

(Without using droplet or anything)
This works fine.

My problem is:
The button is in the searchbar/rightnavbar, which means it shows up no matter on what subpage you are ("Home", "News", "Pictures" -> the button is always on the right).
On giving "+1" while being on my "Home" page, the +1 is only counted for this subpage. On all the other pages (News, Pictures) the button still shows "0" +1s.
I would like this stupid button to counts all the +1s clicked in the navbar "together", not seperating them in +1 (Pictures), +1 (Home) and so on.
In other words: Visitors should only be able to give +1 for the whole website, no matter where they click+1, it shall only be counted for www.mydomain.de not for domian.de/x or domain.de/y.

I hope you guys understand my problem. Looking forward to any help! =)

Logged
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #1 on: July 18, 2011, 03:59:43 PM »

This is not how +1 works.

You will see the +1 at all individual google seach results too.. It is meant for individual pages, not for sites.
Logged

Professional WebsiteBaker Solutions
schadowhunter

Offline Offline

Posts: 16


« Reply #2 on: July 18, 2011, 11:00:56 PM »

It is very annoying tho... im using an url redirection... paying for www.mydomain.de and redirecting it to mydomain.bplaced.ne t. But now half of my visitors gives "+1" to mydomain.de and the other half to mydomain.bplaced.ne t. Thus, i only get half of the actual amount of +1s. for my webpage. =/

Any idea what I can do about it apart from changing my hoster?
Logged
maverik

Offline Offline

Posts: 1568



WWW
« Reply #3 on: July 18, 2011, 11:21:53 PM »

It is possible to give a specific url with the button

Quote
href   URL to +1   URL of current page   We recommend using this tag when you have a +1 button next to an item description for another page and want the button to +1 that other page.

have a look
Logged

Signatur wird geladen...
schadowhunter

Offline Offline

Posts: 16


« Reply #4 on: July 19, 2011, 04:21:47 PM »

I already tried working with href attribute:

<body>
Code:
<g:plusone size="medium" href="http://www.mydomain.de"></g:plusone>

Yet it seems not to work properly at all. It already makes a difference if I "+1" www.mydomain.de or just mydomain.de or mydomain.bplaced.ne t or www.mydomain.bplace d.net not even speaking about additional pages /x. Now I don't know if this +1 system is "good" for bigger websites, but at the moment I am thinking about not using this button at all since the results shown are not the "actual" results and more bothering than helpful.

I guess i'll have to stick with the good old facebook "like"...



 
« Last Edit: July 19, 2011, 04:23:27 PM by schadowhunter » Logged
Harry P.

Offline Offline

Posts: 90


« Reply #5 on: August 16, 2011, 01:31:23 PM »

Quote
It is possible to give a specific url with the button

This brings up another interesting question:

Should I add "href="http://www.myhomepage.com" in the Google+1 button for all sub pages, or leave it off so each sub page like www.myhomepage.com/pages/whatever.php will receive individual clicks?

Advantage of counting all contributing +1 clicks to the home page: a higher +1 count in shorter time  smiley

Disadvantage: If the same user clicks again on another sub page, his +1 click will be subtracted vom the count  sad

Any suggestions which one's the better approach?

--Harry
« Last Edit: August 16, 2011, 01:41:58 PM by Harry P. » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!