Tuesday, 15 May 2012

How To Add Google +1 Button To Your Website



Google Launched +1 Button to its webmaster tools list. This was a experimental fight back on the Facebook’s “like” Button. As Facebook already use like/recommend buttons Google was forced to rely on something else, unique! That’s what the +1 Button is. This +1 Button helps users to recommend a webpage for their Friends, who can see their recommendation when they search the page on Google or when the page is displayed in the search results page.

Google plus one buttonHow to add +1 Button to sites?

Adding the Google +1 Button is so simple.

Paste this code below the </head> or </body> tag of your website.
<script type=”text/javascript” src=”https://apis.google.com/js/plusone.js”></script>

Add any of these codes where you want to render the Google +1 Button.
Style 1 : (Small 15px)

<g:plusone size=”small”></g:plusone>
Style 2 : (Medium 20px)
<g:plusone size=”medium”></g:plusone>
Style 3 : (Standard 24px)
<g:plusone></g:plusone>
Style 4 : (Tall 60px)
<g:plusone size=”tall”></g:plusone>

0 comments:

Post a Comment