[plus1]Today Google introduced the new +1 button, which I of course immediately implemented (see below and, on this specific post, on the right). It comes with an option for a callback function that you can use to track interaction with that button in Google Analytics. The implementation is pretty easy so let’s go ahead and explain it. First of all, you place the required script tag somewhere, preferably in the footer before the </body>:
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
Then you create your +1 button using Google’s creation tool. On this creation tool you click on “Advanced options” and then add plusone_vote as callback. You’ll get something like this:

And the code is like this:
<g:plusone size="tall" callback="plusone_vote"></g:plusone>
Last but not least, below the script tag for Google +1 we added above, you add this tiny bit of script. This function records the vote as an event in Google Analytics, and stores the state (“on” for a +1 vote, “off” for the removal off a vote):
<script type="text/javascript">
function plusone_vote( obj ) {
_gaq.push(['_trackEvent','plusone',obj.state]);
}
</script>
Of course I haven’t been able to do anything with the results from this yet, but it would be cool to see which kind of traffic uses +1 buttons, and whether a lot of +1′s correlate with a lot of search traffic afterwards.
Update: might be fun to show you that this post was ranking quite fast with a nice +1 underlining:




Where does the clicks go ?
Twitter clicks to my account.
Facebook to my account.
+1 where ? who can see that ? my google buzz followers ?
Don’t know, as far as I know, nowhere else but search.
In your google profile there is a new tab with your +1s
Only you can see your +1 list in your google account profile https://profiles.google.com/yourname
Everyone can see your +1s.
Actually, you have to enable it before it’s publicly visible.
Additional analytics for “+1″ action within your domain will be probably visible in google webmaster tools.
see in your google profile
exp like: https://profiles.google.com/bownsmith/plusones
Thanks,
wondered how i’d be able to track this.
Are you able to see in Analytics any new data which is useful that you were not able to see before? I think people are hitting button-overload.
It’ll be curious to see how many people will actually use it, of course, but I have to think that it’s relevant especially for my readership.
I just implemented it in the sidebar with a text widget, to see what happens. Still waiting to see if i want to include it inside every single post, since it has to be done manually.
Oh Yeah!
You are the first site to publish this and everyone is creaming over it. Twitter trend of the month so far!
Love your wordpress tips (I’m a joomla man) and you also helped me out alot with a massive magento project.
Keep up the good work. You are not unknown in many comunities!
Rob
Good reading, though i agree that its relevant to the readers at this site, i cant help wondering how many of the ordinary google users that will use it, i think one should be very passionated about the site if they are going to give +1′s.
Could you be any faster? :)) Great and useful reaction to the +1 release…
I just added the +1 button to my blog and am happy to know we’re able to track a bit of it’s use like this. My thought is that the +1 use might help dictate search rankings a bit more than Google is letting on, seeing as how they’re pushing for “quality content” results now, this should give them an inside view as to what people find valuable.
A bit unlikely as if it can affect the search results of the blog, then what about those blogs which havnt installed the feature yet?? but if you are talking about the +1 feature in the search results itself, it could be possible.
Nice, implemented it right away.
Added some tweaks though: change the URL of the plusone.js to https because the http version redirects to it. And I loaded it asynchronous at the end of the body.
I’m finding it’s pretty hit or miss if it works. It worked for me here, but on other sites, I get a nice red ! to tell me it failed. No explanations, and a java void(0) error. Still, it should be interesting to see how this pans out.
Same here, just added it to some sites and when testing I get a red icon with warning sign. Just +1 this site and all works well, any clue Joost?
Thanks for sharing! This must be a new speed record :) I implemented it immediately. I’m curious to see how many people will use the new button. We’re all so used to tweets and likes…
Will this be added to your WordPress SEO plugin soon? =)
I dont know why I said your SEO plugin. A better place for it would be in the settings for your GA plugin. Or maybe a new plugin.
Great post! I just added the +1 button and then realized I’d love to track it w/ Analytics. Did the search you mentioned above and got it added. Thanks.
I’m curious to see how SERPs are affected. The FAQ states increased crawling and “a useful signal to Google when determining the relevance of your page to a user’s query”. One can hope :)
We also added the new vote button of google. Let’s see what kind of results this in give in the SERPs. Btw i don’t see the results like your screenshot in google. Used the google.com search.
Just added it too but mine is still too tiny. Might have to tweak around to make it bigger and more noticeable. I still like the Facebook Like on my posts. Still skeptical how long will this +1 last
How or what plugin are you using to add your share links ?Or you just added it to the theme it self
i added mine too in my blog. :)
Great post!! Thank you so much :)
I also added it today and waiting for the response it going to send. But where these responses could be seen, any idea? want to track visitors on my bog as GA. Is it have any such option. Regarding the size and place yes Google need to think again about it. It could miss by most of the visitor. Best place could be “top right of the heading” and just end of the post.
Do I mis somethink? I don’t see the +1 button on this page. On Google I read hoe have to be logged in on a Google account. So I am logged in but stil no button. May be because I workshop on the iPad. So how Does the button works?
Hey just notice end of the posts of your blogs. It will present with all social bookmarking sites(twitter, facebook,+1) symbol.
Thanks for your information about the code for analytics Joost, really curious to see if people use it in the future.
I think it’a nice move for google to reach the interactivity of facebook like buttons.
Could this simple script be used on other buttons aswell then? as for fb, linkedin and other share-buttons
Thanks for some good advise as always ;)
I’m about to added this to my blog as well.
Where in Analytics do you see the +1 stats? Thanks!
You’ll see the +1 stats collect under Content -> Event Tracking in the Google Analytics interface.
Thx, I cannot wait to see how this takes effect. As Marketers we have known about this update coming from way back but most of the world has no clue on what this is and what to do with it.. So I am interested in how Google will get people to use this addition.
Hello
Am I the only one when I click to create the button I get a redirect loop and can’t access the page. I’ve been having this problem since yesterday and tried in 3 different browsers.
Warren, that was (and still is) happening to me, too, but I found this link from another blog that worked for me: http://www.google.com/webmasters/+1/button/index.html.
Hi,
It’s going nicely as far as I can see. Button seems to be clicked on a lot.
I’m hoping you get some useful information on GA from this. Thanks for testing this for us. And of course, would love to see this implemented in the GA plugin, lol. By the way, isn’t that integrated right into your WordPress SEO plugin?
Anyway, thanks again and will be looking for more info here…
Interesting that one needs to have a Google Profile to use the button. And even more interesting is that we use Google Apps (free) and one cannot create a Google Profile with it. So that means I have to log out of my business G-mail and log into my personal G-Mail account (where I do have a Google Profile) to “Plus 1″ you Yoast. You’re a good guy…. and I love your Plugins & Blog posts…. but….
Seems like Google didn’t think this one through completely….
So the +1 feature is really about telling Bloggers etc about how many people who use a certain subset of Google products like what has been published. And to heck with anyone else?
Or maybe I am thinking too much?
Sidenote: The +1 feature does not seem to be “live” on Google.ca
As usual, you do a thorough job Yoast – great post as usual (despite my negative comments towards Google.
Thanks for the tutorial Joost. We’re going to implement this on a couple of client sites in a non-competitive vertical where we’re pretty sure no one else is using +1 and run some tests to see its effect on the SERPs.
Thanks to you helpful tips I have added +1 with no problem! Will it be showing up under events in Google Analytics?
Great Post! Tx – Any input as to when other language versions might be available (I am looking for Dutch) – Thanks – Erik
Nice explanation. I think between the +1 / analytics link and tracking with URL for QR codes/within URL shorteners, GA users will be better able to see how far their online exposure goes. If anything it will put pressure on SEO and social media managers to track more thoroughly. Thanks for sharing this.
Hi Joost, I’ve implemented your code in the +1 plugin for WordPress released yesterday, with all due credits of course :)
http://ilovecolors.com.ar/wordpress-plugin-add-google-1/
Thanks for this update, Joost. May I ask how you create the social media buttons bar at the end of your posts?
@Joost great script hack. I think Google analytics and webmastertools will at this tracker soon by default?
Anyway maybe also interesting for your readers: http://www.seoeffect.com/blog/Effects-of-the-Google-%2B1-button-researched-download-the-whitepaper/ A free research paper about the +1 button and its effect on visbility and CTR.
@Joost. Can the same thing be done for the Facebook like button, by adding callback=”like_vote” etc to the fb:like code?
Oh! That’s pretty nice. Thanks!
Cool! I just added it in my blog, they’ve made it look simple. It already started bringing traffic to this this page, making it to 1st in SERP. Is that cos of the number of +1s this page have received?
Here is a WP plugin to ad the +1 button: add +1 to wordpress
Thank you for the plugin.
Must say soon we’ll have full pages of like,+1,retweet etc. buttons… :)
Nice button.. I’ll try on my blog.
Always timely. We’ve seen dramatic SERP visibility increase but only for those Google deems in our “Social Circle” and only when the searcher is signed in. This Is Google’s play to make everyone log in to gather demographic info and search behavior I’m sure.
Hello from Turkey,
This is awesome. And i have mentioned about your post in my website: http://www.e-siber.com/google/google-1-butonu-tiklamalarini-google-analytics-ile-takip-edin/ with your refer url.
Thanks
Did implement the plugin, but does anyone know how much relevance it has to the serps?
It seems that the +1 button is not visible in IE7.
Is it possible to use jQuery or just plain ol javascript to append the callback=”function” into the gplusone html?
Thanks to yoast I added the button but also added some additional info as to where to place it in wordpress and blogger, thought you might be interested:
http://www.mwd.com/2011/06/google-1-button-wordpress-blogger-embed/
I had been using your Analytics plugin for a while, but about three weeks ago my URLs began showing up as doubled in Analytics [http://allisondduncan.com/http://allisondduncan.com OR http://whatever/http://allisondduncan.com.
I just recently installed the +1 button so am excited about using your plugin to track this, but with my URLs getting all screwed up I’ve been disabling all plugins to try and find out what’s going on.
Any chance you’ve encountered this before and can make a suggestion? So far the WP.org site hasn’t responded.
Thanks,
Allison
The Nerd Connection
Doesn’t Google say we can’t do this?
http://www.google.com/webmasters/+1/button/policy.html
Not that I can see. Which line are you referring to?
Needless to say someone will be out with a plugin that will add the plusone to your site and ensure it gets clicked from 15,000 randomly distributed ips. In the end it will be the ‘real’ people who loose.
I won’t bother I’m not fond of Google tracking what I do, …. or my government, tax department, credit card company, bank, …. I’m paranoid !! :)
Great. I have installed Google +1, but not for the analytic. I think i must add it now.
I have followed the instructions but cannot see the button on my site. Does this work in the UK ? I cant understand why I can’t see the button.
Wow Joost, this is incredible, I know I am late but you released this only few hours after official Google post.
I’ll implement this on my blog asap and will see results soon.
Hi, Thanks for this information.
I think this +1 mark will help the users of google search engine to now get the right content they are looking for. Otherwise it is very difficult to find the right content on google.
Regards
Google turns into a social network ((
IMHO, the +1 button will fade into obscurity long before it ever gets a chance to be useful. I would like to think otherwise but Google’s trying to hard to elbow into Facebook territory and it’s just not the same.
Really Informative, Thumbs Up!!
im starting a new blog. is it ok if i added +1 in my new blog? thank you
http://blogs-life.blogspot.com