Adding Pinterest Widget to Page

Deanna3
Excursionist
43 0 10

1) I have put the following snippet of code (from Pinterest) to embed a widget on one page of my site.

   Copy and paste this code into your page where you want your add-on to appear:

  <a data-pin-do="embedUser" data-pin-board-width="400" data-pin-scale-height="240" data-pin-scale-width="80"      href="https://www.pinterest.com/busylittlebird/"></a>

2) The next step (Pinterest instructions) is the following:

     Don't forget to include pinit.js once per page, right before the closing </BODY> tag.

     <script async defer src="//assets.pinterest.com/js/pinit.js"></script>

 

Where in my Shopify theme do I put this second piece of code?

Bob_O_
Shopify Staff
Shopify Staff
108 0 20

Hey there!

You will find the </body> tag in the theme.liquid template of your theme. :) 

Paste that line of code there just above that tag and you should be good-to-go!

Cheers,
Bob O.

0 Likes
Deanna3
Excursionist
43 0 10

Perfect! Thank you!

0 Likes
whydoineedalogi
New Member
1 0 0

Hey Bob, 

I'm trying to do the same thing. My home page ketonia-llc.myshopify.com has the Pinterest widget working. However, I cant figure out how to get the Pinterest widget to show up on our product pages. Is that possible and if so where should I be putting the code?

I really appreciate your help.

Sincerely, 

John

0 Likes