An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to gostips@gmail.com.

July 26, 2011

Updated Code for Google +1 Buttons

As reported last month, the code for Google +1 buttons could be improved so that the buttons load faster and stop blocking other resources. Google updated the code and recommends publishers to generate a new code.

"We're introducing a new asynchronous snippet, allowing you to make the +1 experience even faster. The async snippet allows your web page to continue loading while your browser downloads the +1 JavaScript. By loading these elements in parallel, we're ensuring the HTTP request to get the +1 button JavaScript doesn't lead to an increase in your page load time," explains Google.


Google also optimized the existing code so that the button renders up to 3 times faster. Even if you don't update the code, you'll still benefit from these changes.

The code generator is easy to use and I've noticed that a lot of sites added a +1 button next to Facebook's "Like" button. It's unfortunate that Google didn't optimize the code when it was released.
Posted by at
Labels: ,

13 comments:

  1. I like Google + the most. If +1 works, it will not only improve search quality, but also make ads more engaging. This may potentially improve Google’s ads, and eventually may turn into a core social product that can expand in new directions




    "

    Reply Delete
  2. I tried to add the script many times in the blog's sidebar but it doesn't show up.

    Reply Delete
  3. I don't think we again need to update Google Plus button code we are using in our blog, don't we?

    Reply Delete
  4. I get it some new information through this blog. Its really helpful to improve my knowledge.

    Register Domain In India

    Reply Delete
  5. Here's a site explaining how to create HTML valid code:
    http://www.gabsoftware.com/tips/how-to-produce-valid-google-1-buttons/

    Reply Delete
  6. I don't know how to apply it and why do it ?

    Reply Delete
  7. Good information.. i'll try it, Google +1 new code :D

    Reply Delete
  8. it's, at least, funny that you cannot use it in google sites.

    Reply Delete
  9. Way to go. Thanks for the google plus button

    Reply Delete
  10. I used the Google+1 button on one of my blog, but on my other blogspot blog it doesn't work. Sometimes it shows up, sometimes not. What do you think is the problem? is it because of my theme? here's my other blog: http://www.exoticphilippines.info/

    Reply Delete
  11. Got the same problem as above, Google+1 button shows up at random, sometimes it shows and sometimes it doesn't. Do you have a fix for this?

    Reply Delete

Note: Only a member of this blog may post a comment.

[フレーム]

Subscribe to: Post Comments (Atom)
 

AltStyle によって変換されたページ (->オリジナル) /