D
D
Danil Larionov2022-03-29 14:42:17
Search Engine Optimization
Danil Larionov, 2022-03-29 14:42:17

How to install OG tags on the main page of a Shopify website?

Hello. There was such a question, perhaps the answers to it will be useful not only to me :)
There is an online store - https://ramadanchocolate.com/
There you can adjust all the variables through the code and make the OpenGraph meta tag display, you just need to tweak a little template code, who are interested in instructions on how to find it:
Online store> Themes> Actions> Edit code> Fragments> social-meta-tags.liquid on the scrollbar. You can edit the code if necessary.
In my case, I set everything up, but the meta data was displayed everywhere except for the Main page, the product page, the About page, but I am only interested in the Main page, since I was not going to edit the rest.
I looked a little on the topic and realized that the problem is that the Meta-data where the information is being pulled is not filled in correctly as it is now on the site (This is in the process of being fixed, don't worry, I requested access for changes :)).
At this stage, I’m wondering if someone contacted a similar one, since everything seems to be fine in the code now, I decided to go around and if the image cannot be pulled up, the logo image will be pulled up, but this did not save the situation.
I would be glad for your help, maybe someone has already come across a similar one.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question