Social Networks

How do I add the Google +1 button to my site?

Just grab a snippet of code.

google+1-button-add-tutorial

Q: Where should I put the +1 button on my pages?

You know your page and your users best, so we recommend putting the button wherever you think it will be the most effective. Above the fold, near the title of the page, and close to sharing links is often a good location. It can also be effective to place the +1 button at both the end and the beginning of an article or story.

+1 is a public action, so you should add the button only to public, crawlable pages on your site. Once you add the button, Google may crawl or recrawl the page, and store the page title and other content, in response to a +1 button impression or click.

Q: Can I place multiple buttons on a single page that all +1 different URLs?

Yes, but you’ll need to edit the button code. Use the href attribute to specify the target URL. For example, if your home page has a module linking to your blog, and you want to add a +1 button to that module, edit the value of the href attribute to point to your blog’s URL, like this:

<g:plusone href="http://www.example.com/blog"></g:plusone>

Q: What languages is the +1 button available in?

The +1 button and annotations are available in 40 languages.

Q: How often will Google crawl my +1’d pages?

+1 is a public action, so you should add the button only to public, crawlable pages on your site. Once you add the button, Google may crawl or recrawl the page, and store the page title and other content, in response to a +1 button impression or click.

Q: How does +1 work with Buzz? Do we still need the Google Buzz button?

Buzz buttons are used for starting conversations about interesting web content (“Hey guys, what do you think about this news story?”). +1 buttons recommend web content to people in the context of search results (“Peng +1’d this page”), and +1’s from social connections can help improve the relevance of the results you see in Google Search. You can use the +1 button, or the Buzz button, or both—pick what’s right for your content.

Q: Some of my users get a security warning when they view pages with the +1 button. How do I get rid of this?

The +1 button code requires a script from Google’s servers. You can include this script using either http:// or https://, like this:

<script src="https://apis.google.com/js/plusone.js"></script>

If your web page uses https://, some browsers and verification tools will show an error when any assets on the page are called via http://. If your site serves pages via https://, make sure that the +1 button code on those pages also uses https://. (In fact, it’s fine to use https:// in the button code for all pages, even if they are only served via http://.)

Configuring the +1 button

Q: What button sizes are available?

+1 button icons can render at four heights: small (15px), medium (20px), standard (24px), and tall (60px). The small, medium, and standard icons can render with or without a total count of +1’s. The tall icon always includes a total count of +1’s. For more information, see Button sizes.

Q: What does the “Language” drop-down control?

The Language dropdown controls the language of the button itself.

Who sees +1?

Q: Who can see the +1 button in Google Search?

The +1 button shows up for signed-in users of Google.com using a modern browser.

Q: Who can see annotations from +1 buttons?

Everybody can see aggregate annotations. Signed-in users also see personalized annotations from:

  • People in their Gmail (or Google Talk) chat list.
  • People in their My Contacts group in Google Contacts.
  • People they’re following in Google Reader and Google Buzz.
  • People with that user in one of their circles in Google+.

Learn more about social connections and +1.

Q: Will users on mobile browsers see the +1 button?

We are not including the +1 button on mobile search results at this time. However, users may be able to see any +1 buttons you have added to your web pages.

Q: Are +1’s public?

Yes, Google may show personalized annotations to any signed-in user who has a social connection to a +1. However, any Google user can choose whether or not to display their +1’s on their Google profile.

None found.

Leave a Reply

Your email address will not be published. Required fields are marked *

Allowed Tags:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>