Google Plus One Button Integration

Google Plus
Google Plus

The idea behind the Google Plus one is that you can quickly spot search engine results which have been promoted to people you trust. Each set of search results is then catered to individuals according to who they interact with in the real and virtual world. The +1 service will allow anyone with a Google Profile to “plus 1″ a page and add it to their profile page’s +1′s tab.

The Plus One Button Code

The google plus button integration is very simple. It has only two lines of code. One line code will goes to the head or body. Another line of code will come in the place of where the button want to shown.

1
2
3
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>

<g:plusone></g:plusone>

Google Plus One button Size

The google plus one button will get in different sizes. You can choose between small(height: 15px), medium(height: 20px), tall(height: 60px), Standard(24px) and leaving it blank. If you leave it blank it will appear to look the same as the medium option but it will be 24px rather than the 20px that medium is.

1
<g:plusone size="small"></g:plusone>

Google provided a page for webmasters for the Google plus 1 button and its customization. http://www.google.com/webmasters/+1/button/