How To Add The Google Plus One Button For Magento [+1]

June 23rd, 2011 by Leave a reply »

Introduction: What is the Google +1 Button?

Until someone creates a Magento extension for the Google +1 button, like there is for the Facebook Like button, here is a quick and easy way to add it to your Magento store in two steps:

Step #1

Add the JavaScript code to your Magento config: System –> Configuration –> Design –> HTML Head –> Miscellaneous Scripts.

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

Step #2

Place this tag in your template phtml files where you want the +1 button to render (example location: /app/design/frontend/XXXXXX/XXXXXX/template/page/html/header.phtml)

<g:plusone></g:plusone>

Please Note: Google has several styles of this button, you can select the proper code when you get the code here.

Liked this article? Read another similar article.
Advertisement

4 comments

  1. Joyce Brister says:

    I wonder where the plus one symbol will be most effective? We added it at the top of the header on our ecommerce store(s)..wonder how it would convert on the product pages? Has anyone tested it there yet? Would love to hear your experiences.

  2. eclectix says:

    placed it in Miscellaneous Scripts but so far not visible…

  3. I wonder if it also has a dislike feature which is frequently abused for example on YouTube. I understand that any rating counts for more than no rating but rating with the intention to do harm rather than good to someone is pathetic.

    We will try to get as much as +1 we can because we know the benefit of it with seo prespective (and soon we will see many people started to sell +1 as well) but a normal user do not know about it and where facebook like button is one step ahead from it.

Leave a Reply