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

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.

[code lang=”html”]<script src="https://apis.google.com/js/plusone.js" type="text/javascript"></script>[/code]

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)

[code lang=”html”]<g:plusone></g:plusone>[/code]

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

Menachem Ani ()

Online Advertising and eCommerce Expert with over a decade of success developing high-impact marketing strategies for online retailers and lead-generation clients.

Comments (6)

  1. Joyce Brister:

    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. kamera sistemleri:

    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.

  3. Adeel Jadoon:

    To put the google plus button on product page just add the script and source on view.phtml page. Hope it works.

  4. Tennisracket:

    Thanks for this artice, its better to do so then with a extention, because now you can positionate it better.

Comments are closed.