Are meta keywords still relevant for SEO optimization?

Hi Dear Sir/Madam

Previously to improve SEO, each website page will include a tag “keywords” apart of “description” “h1,h2,h3…” and “alt” for example…

But I have checked.. shopify doesn’t have any way to insert this information for pages/products/collections

So I did some research on web and seems “keywords” tag is not useful anymore for SEO?

https://www.semrush.com/blog/meta-keywords/

  1. Please can someone provide some information ?
  2. And would like to confirm: is is because “keyword” tags are irrelevant.. is this the reason that’s why shopify will not provide this functionality?

Many thanks!
J

Hi,

Shopify doesn’t have the option for meta keywords. But you can use metafield and liquid to add meta keywords.

Thank,

2 Likes

Thank you !

Hi,

Could you please give me an example in liquid code how to add for each different product a different meta keyword please?

For example for the Product A:

For example for the Product B:

And need to be in between the head tag, that is located at theme.liquid?

Many Thanks !

J

Hi,

Could you please give me an example in liquid code how to add for each different product a different meta keyword please?

And need to be in between the head tag, that is located at theme.liquid?

Many Thanks !

J

Hi,

For example:

{%- assign og_meta_keywords_prd = product.metafields.og_meta_keywords.content -%}
{%- if request.page_type == "product" and og_meta_keywords_prd != blank -%}
  {{ og_meta_keywords_prd }}
{%- endif -%}

I hope this can help you.

Thank,

Hi

  1. Where should I add this code? in which liquid file? at theme.liquid? between “head” tag?

{%- assign og_meta_keywords_prd = product.metafields.og_meta_keywords.content -%} {%- if request.page_type == “product” and og_meta_keywords_prd != blank -%} {{ og_meta_keywords_prd }} {%- endif -%}

  1. Where should I add the VALUE of product.metafields,og_meta_keywords.content?
    for example if I have Keyword_A1, Keyword_A2 for product A

  2. Can I add this for Shopify1.0 and Shopify 2.0?

  3. Can add it from each product from the shopify CMS?

Thank you so much for your time

J

Hi,

  1. You can edit file theme.liquid and add the code between “head” tag.

  2. Please follow document https://help.shopify.com/en/manual/metafields

You can use app: https://apps.shopify.com/metafields-editor-2

  1. Support for Shopify1.0 and Shopify 2.0

  2. Yes. If you use Shopify 2.0 https://help.shopify.com/en/manual/metafields

Thank,

Hi

Thank you for your information

  1. I have added this code at theme.liquid in between

  1. If I want to show for

How should I add this information here? Please could you guide me a complete flow of an product to add the keywords? (ProductA)

Thank you so much for your help

J

Hi, Please follow my image: https://ibb.co/FKjC7nq

Then you can config in product.

I hope this can help you.

Thank,

2 Likes

Thank you!

I understand now :slightly_smiling_face:
Appreciate your help!

J

1 Like

Thanks Kai for the details.

But by doing the steps the keywords are getting visible on the header.

Also will good be counting these keywords in terms of SEO ?

this will solve the issue on keywords that are visible on the header.

{%- assign og_meta_keywords_prd = product.metafields.og_meta_keywords.content -%}
{%- if request.page_type == "product" and og_meta_keywords_prd != blank -%}
  
{%- endif -%}