seo - How to Add Meta tags in Shopify Theme Site? -


i have site designed in shopify platform unable insert meta title, description, keywords.

also want implement meta tags in pages & products. don't know how add them?

if based theme on 1 of standard ones should see tags in main layout like:

{% if page_description %}   <meta name="description" content="{{ page_description | escape }}"> {% endif %} 

if not can add , meta tag.

if want add more info you'll need decide info going come , code theme accordingly. again if based theme on standard theme main layout may have snippet reference open-graph-tags. if edit open-graph-tags.liquid see 1 way manage conditional meta tags.

in nutshell you'd put following in theme header xxx field has keywords. (maybe use metafield this?) :

{% if template contains 'product' %}       <meta name="keywords" content="{{ product.xxx | strip_html | escape }}"> {% endif %} 

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -