How to set up rich pins on shopify store

How to set up rich pins on shopify store

fd123
Visitor
2 0 0

Hello

Can anyone please help with setting up rich pins on shopify store, 

How do we set up rich pins on open graph in shopify store, edit code, theme liquid. What is the correct coding for this set up so that our pins can be as rich pins.  The open graph data needs to be enabled, does anyone know how to set these coding please

Thank you very much.

Replies 3 (3)

kashemdeveloper
Shopify Partner
2 0 0

I think it will help you understand how can you do this.

1. Enable Open Graph Data

Rich Pins rely on Open Graph metadata. Shopify automatically includes some Open Graph tags, but you may want to customize them. Here’s how to do it:

  • Edit Your Theme Code:

    1. Go to your Shopify admin panel.
    2. Click on Online Store > Themes.
    3. Click on Actions > Edit code for your current theme.
    4. Open the theme.liquid file (or the relevant template file).
  • Add Open Graph Tags: Insert the following code within the <head> section of your theme.liquid file:

    <meta property="og:type" content="product" />
    <meta property="og:title" content="{{ product.title }}" />
    <meta property="og:description" content="{{ product.description | strip_html | truncate: 160 }}" />
    <meta property="og:image" content="{{ product.featured_image | img_url: 'large' }}" />
    <meta property="og:url" content="{{ shop.url }}{{ product.url }}" />

2. Validate Your Rich Pins

Once you’ve added the Open Graph tags, you need to validate your Rich Pins:

  1. Go to the Pinterest Rich Pin Validator.
  2. Enter the URL of one of your product pages and click Validate.
  3. If everything is set up correctly, you should see a confirmation that your Rich Pins are ready.

3. Apply for Rich Pins

After validation, you may need to apply for Rich Pins:

  • Click on the Apply button in the validator after successful validation. This will allow Pinterest to review your site and enable Rich Pins.

4. Monitor Your Pins

Once everything is set up, keep an eye on your Pinterest analytics to see how your Rich Pins are performing!

Best Regards,
Abul Kashem
www.ahnsolution.com
fd123
Visitor
2 0 0

Hello,

Thank you so much for your response to my question on rich pin set up. Now, I have tried to copy paste from a you tube instructions the coding on my shopify store under edit code, liquid theme and under <home> as you have told in your reply  as well. However, with Pinterest develops site, the Validate Rich Pins  (Pinterest Rich Pin Validator) is no longer there to use, it looks as though this is no longer there under Pinterest Developers site. I have google it so many times to get this Pinterest Rich Pin Validator so I can put my URL to validate/apply but it does not exist, it seems. 

 

I am not able to go further and get the rich pins set up working at the moment.

What would you advise 

Thank you very much

jcurley
Tourist
20 0 0

@kashemdeveloper ...I'm experiencing the same thing. I can't find the Pinterest Rich Pin Validator. What are the next steps?