How to Host Shoppable Instagram on Your Store
- DarkLight
How to Host Shoppable Instagram on Your Store
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
If you don't want to host Shoppable Instagram on Yotpo’s domain, you can put it on a dedicated page on your site. Here’s how to implement it:
- Make sure you have an empty dedicated page to place the gallery.
- Make sure that page is loading Yotpo’s Javascript Library
Our Shoppable Instagram works like any other Yotpo widget, and requires our JavaScript library.
If it is not loading on the page you want to show the Shoppable Instagram, paste the following code in the head section, between the <head> and the </head> tags:
<script type="text/javascript">
(function e() {
var e = document.createElement("script");
e.type = "text/javascript", e.async = true,
e.src = "//staticw2.yotpo.com/####APP_Key####/widget.js";
var t = document.getElementsByTagName("script")[0];
t.parentNode.insertBefore(e, t)
})();
</script>
Please note:
Replace ####APP-Key#### with your APP Key
- Place the Shoppable Instagram element within the body section of the page, between the <body> and </body> tags:
<div
class="yotpo yotpo-shoppable-gallery"
data-no-shoppable-header>
</div>
- You probably want to show your store's header/menu. To do this, you don't want to load the Yotpo header too.
Excluding the header on-site
Delete the “data-no-shoppable-header” section from your Shoppable Instagram element in order to not load the Shoppable Instagram’s default header:
- Log into Yotpo Reviews.
- Click Social & Apps.
- Click Shoppable Instagram.
- Deselect the Page Title and Star Rating Color checkboxes.
- Click the Save Changes button at the bottom of the screen.
Was this article helpful?