We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Are meta keywords still relevant for SEO optimization?

Solved

Are meta keywords still relevant for SEO optimization?

jennySS
Excursionist
14 0 2

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...
<meta name="keywords" content="Keyword1, Keyword2, Keyword3">

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





Accepted Solutions (2)

kai-nguyen
Shopify Partner
41 6 10

This is an accepted solution.

Hi,

 

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

 

Thank,

 

View solution in original post

kai-nguyen
Shopify Partner
41 6 10

This is an accepted solution.

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

Then you can config in product.

I hope this can help you.

 

Thank,

View solution in original post

Replies 12 (12)

kai-nguyen
Shopify Partner
41 6 10

This is an accepted solution.

Hi,

 

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

 

Thank,

 

jennySS
Excursionist
14 0 2

Thank you !

jennySS
Excursionist
14 0 2

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:
  <meta name="keywords" content="keyword_A1, keyword_A2, keyword_A3">
For example for the Product B:
  <meta name="keywords" content="keyword_B1, keyword_B2, keyword_B3">

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

 

Many Thanks !

J

jennySS
Excursionist
14 0 2

Hi,

 

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

jennySS_0-1645714284277.png

 



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

 

Many Thanks !

J

kai-nguyen
Shopify Partner
41 6 10

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,

jennySS
Excursionist
14 0 2

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 -%}


2. 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


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

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


Thank you so much for your time


J

kai-nguyen
Shopify Partner
41 6 10

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

3. Support for Shopify1.0 and Shopify 2.0

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

 

Thank,

 

jennySS
Excursionist
14 0 2

Hi

 

Thank you for your information

1. I have added this code at theme.liquid in between <head></head>

jennySS_0-1645765332483.png
2. If I want to show for

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

jennySS_1-1645765703986.png

jennySS_2-1645765748779.png

Thank you so much for your help

 

J

 



 

kai-nguyen
Shopify Partner
41 6 10

This is an accepted solution.

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

Then you can config in product.

I hope this can help you.

 

Thank,

jennySS
Excursionist
14 0 2

Thank you!

I understand now 🙂
Appreciate your help!

J

Mohit-Basecamp
Visitor
1 0 0

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 ?

billionaireup
Visitor
2 0 1

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 -%}
  <meta name="keywords" content="{{ og_meta_keywords_prd }}">
{%- endif -%}