How to Host Shoppable Instagram on Your Store

      How to Host Shoppable Instagram on Your Store


        Article summary

        Products


        Visual UGC
        Supported plans

        Free, Pro, Premium, Enterprise

        eCommerce Platform

        Shopify, Shopify Plus, Adobe Commerce (Magento), BigCommerce, WooCommerce, Volusion, Salesforce Commerce Cloud, Custom

        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:

        1. Make sure you have an empty dedicated page to place the gallery.
        2. 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

        1. 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>
        1. 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:

        1. Log into Yotpo Reviews.
        2. Click Social & Apps.
        3. Click Shoppable Instagram.

        1. Deselect the Page Title and Star Rating Color checkboxes.
        2. Click the Save Changes button at the bottom of the screen.

        Was this article helpful?

        What's Next