How to Add Google Plus Authorship to a Shopify Site
Adding Google authorship to content is now an important step for many sites and content creators. Enabling your content to display its author gives your listings in the search engine results a potential increased CTR of over 20%.
Including it on your site is relatively straight forward and platforms such as WordPress make the process even easier with the brilliant SEO Yoast plugin. However, we found that adding G+ authorship to a Shopify site was slightly more difficult.
We searched high and low on the Shopify forums for an answer and although its incredibly useful resource we couldn’t find a straight forward way of achieving our goal.
Our aim was to add an author to every page of the site – all except product pages. So to do that we created a tiny bit of code that would allow us to do that. Here’s how.
To include Google Plus Authorship on your content pages of your Shopify site:
- Navigate to your Shopify dashboard
- Click themes > template editor
- Select ‘theme.liquid ‘ – This is the main template file and applies to all pages, including product pages, on your site.
- Include the code below:You can copy and paste the code from here:
{% if template != ‘product’ %} <a href=”[profile_url]?rel=author”>Google</a> {% endif %}
Here it is in action:
A product page without G+ authorship:
A normal page with G+ authorship:
But you’re not done yet! The final step is to link your Google plus account with your website. For a comprehensive guide on how to do this check out Googles authorship guide.
Related reading…
Unlocking SEO Secrets: Leveraging the Yandex Hack for Improved Google Search Rankings
Unlocking SEO Secrets: Leveraging the Yandex Hack for Improved Google Search Rankings The Yandex Hack refers to the incident on January 25, 2023, when the source code of Russia's search engine, Yandex, was leaked online. As Yandex and Google...
read moreArtificial Intelligence is changing Web analytics forever.
As the world of business becomes increasingly complex, finding solutions to problems in the office is becoming more crucial. Artificial intelligence (AI) technologies have stepped in to give us a helping hand, and are quickly transforming almost...
read moreThe Orchid Box Adwords Raspberry Pi Display Bot
The most important thing to bear in mind when conducting local keyword research is that one should never translate keywords, but ideas. It is best to do keyword research for local markets and then use the keywords in the translated content....
read more