How to Install the Asynchronous +1 Button for Houston SEO

  July 27, 2011   Category :     Social Media Marketing | Social Networking,   Social Networking,   Webmaster Tools   Philip O'Hara
Houston SEO

Cute As An Asynchronous +1 Button

New Asynchronous +1 Button for Houston SEO

At this Houston SEO Company, we believe in staying on top of new developments in the industry. Google recently announced a few changes to the new +1 button. Now the button renders 3x faster on web sites! If you are a Houston web developer, you don’t even have to do anything to implement this change. The change is active on all sites that have the Google +1 button installed on them.

The other +1 button announcement Google made today is the introduction of a new asynchronous snippet for the button! If you are a Houston web designer who uses Google Analytics to measure site metrics you probably remember when Google introduced the asynchronous Analytics code, which replaced the slower Urchin code. In asynchronous codes the browser downloads the button at the same time as the site loads. This is great for site speed. Unfortunately, if you already have the +1 button installed on your site this means you will need to change the code on every page of your site.

To Install the +1 Button for Houston SEO:

If you don’t have the +1 button installed on your site, read on to find out how to install Google +1 with the asynchronous code. Installing the code is a two-part process. One snip of code goes where you want the +1 button to render, and the other snip goes after the last plusone tag. Copy and paste the following code into your site (minus the exclamation marks, so the HTML works):

1. This tag goes where you want the +1 button to render:
< !g:plusone>
You can actually install one of four versions of the previous code, depending on the size of the +1 button that you would like to see on your site. The other three versions look like this:
< !g:plusone size=”small”>
< !g:plusone size=”medium”>
< !g:plusone size=”tall”>

2. This tag goes after the last plusone tag:
< !script type=”text/javascript”>
(function() {
var po = document.createElement(‘script’); po.type = ‘text/javascript’; po.async = true;
po.src = ‘https://apis.google.com/js/plusone.js’;
var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(po, s);
})();

If you don’t know about the relevance of the Google +1 button, read our Houston Search Engine Marketing blog entry about it! In short, this button helps Google determine your SERPs by reinforcing site authority. The +1 button’s metrics appear in Webmaster Tools and Google Analytics, which is a fairly clear indicator that Google is serious about developing this button and integrating it in depth into SEO and SEM.

Since the +1 button has not been in use for very long, we can probably expect additional changes in the near future as Google works out additional hiccups in the beta phase. Contact our Houston SEO Company Directory One at (713) 465-0051 for more information.

About The Author

Comments are closed.