Welcome and thank you for starting your journey with us at Stamped!
In just a few steps we can assist you in creating your very own UGCs.
In this guide
- Disabling Bigcommerce Native Widget & Migrate Reviews
- Setting Up For Blueprint Themes
- Setting Up For Stencil Themes
- Migrating Existing Reviews From Another App
- Product Page Rich Snippet
- Setting up conversion/revenue tracking
Disable Bigcommerce Native Widget & Migrate Reviews
- Disable BigCommerce's widget
- Go to Advanced Settings › Comments.
- Select Built-in (or your third-party review system), then Save. Click the Built-in tab that appears along the top of the page.
- To disable the native product review widget, uncheck the box.
- Save your changes.
- Disable BigCommerce's review request email
- Go to Store Setup › Store Settings and click on the Miscellaneous tab.
- Next to Product Review Emails, uncheck Product Email Reviews to disable reviews
- Migrating your existing reviews from Bigcommerce
Please contact us at support@stamped.io, and we can assist with migrating the reviews over from Bigcommerce native review app on any paid plans.
Setting Up For Blueprint Themes
- Adding Stamped Scripts
- Go to Storefront in BigCommerce Admin panel
- Click on My Themes
- Click on Edit HTML / CSS
- Find HTMLHead.html under the "Panels in Template" section
- Copy the following codes and paste it just before the "</head>" tag
<script> function myInit(){ StampedFn.init({ apiKey: '##publicAPIKey##', // replace include # (hash) storeUrl: '##storeUrl##' // replace include # (hash), without https:// (e.g. www.domain.com) }); } </script> <script async onload="myInit()" type="text/javascript" src="https://cdn1.stamped.io/files/widget.min.js"></script> <link rel="stylesheet" type="text/css" href="//cdn-stamped-io.azureedge.net/files/widget.min.css">
Note: Replace the ##publicAPIKey## with your account's Public API Key (pubkey-xxxxxxxxxxxxxxxxxxxxxxxxx)
##storeUrl## should be without "http" or "/"
Here's a guide to finding the API Keys in Stamped Dashboard:
How-to: Find API Keys?
- Adding the Main Review Widget
- Go to Store Setup in BigCommerce Admin panel
- Click on Design
- Click on Edit HTML / CSS
- Find ProductDetails.html under the "Other Template Files" section
- Copy the following codes and paste it at the bottom of the file
<script type="text/javascript">//<![CDATA[ var div = document.createElement("div"); div.setAttribute('id', 'stamped-main-widget'); div.setAttribute('class', 'stamped-main-widget stamped-style-borderless'); div.setAttribute('data-product-id',"%%GLOBAL_ProductId%%"); div.setAttribute('data-name',"%%GLOBAL_ProductName%%"); div.setAttribute('data-url', document.URL); div.setAttribute('data-description',""); div.setAttribute('data-image-url', "%%GLOBAL_ThumbImageURL%%"); if ($(".stamped-main-widget-placeholder").length) { $(".stamped-main-widget-placeholder").append(div); } else { $("#ProductDescription").append(div); } //]]></script>
- Adding the Reviews Badge
<span class="stamped-product-reviews-badge stamped-main-badge" data-id="%%GLOBAL_ProductId%%" style="display: inline-block;"></span>
Setting Up For Stencil Themes
- Go to Storefront in BigCommerce Admin panel
- Click Script Manager
- Ensure that a script named Stamped is showing in the script manager interface. Otherwise, head over to Stamped's dashboard under Settings - Widgets - Main Widget - Install, click on Install Main Widget to insert the init script into the script manager.
- Create a new script
- Choose the following options: - Location on page: Footer
- - Select pages where scripts will be added: All pages
- - Script category: Essential
- - Script type: Script
- For displaying of Stamped Main Review Widget, add this code in a new script:
<script type="text/javascript"> {{#if page_type '===' 'product'}} var divMain = document.createElement("div"); divMain.setAttribute('id', 'stamped-main-widget'); divMain.setAttribute('class', 'stamped-main-widget stamped-style-borderless'); divMain.setAttribute('data-product-id',"{{product.id}}"); divMain.setAttribute('data-name',"{{product.title}}"); divMain.setAttribute('data-product-sku',"{{product.sku}}"); divMain.setAttribute('data-url', "{{product.url}}"); divMain.setAttribute('data-image-url', "{{getImage product.main_image 'product'}}"); document.querySelectorAll('.productView')[0].appendChild(divMain); {{/if}} </script>
- For displaying of Stamped Rating Summary, add this code in another new script:
<script type="text/javascript"> {{#if page_type '===' 'product'}} var divRating = document.createElement("div"); divRating.setAttribute('id', 'stamped-badge-widget'); divRating.setAttribute('class', 'stamped-product-reviews-badge stamped-main-badge'); divRating.setAttribute('data-id',"{{product.id}}"); divRating.setAttribute('data-product-sku',"{{product.sku}}"); document.querySelectorAll('.productView-price')[0].appendChild(divRating) {{/if}} </script>
- To add the star rating badges to the category pages, the following codes will have to be manually added into the theme files (usually in templates > components > products > card.html):
<span class="stamped-product-reviews-badge" data-id="{{id}}" data-product-sku="{{sku}}" style="display:block;"></span>
- Remember to save the settings!
Migrate Existing Reviews From Another App
Do you have existing reviews from another provider?
Please visit our for Migration Guide details on importing the reviews into the Stamped Platform.
Product Page Rich Snippet
Bigcommerce platforms will require installation of a set of JSON-LD rich snippet codes, which our app can provide in the premium plan and above.
Simply send us an email at support@stamped.io and our support team will assist you with installation of the codes.
Setting Up Conversion/Revenue Tracking
You can paste the following code in Advanced Settings > Conversion Tracking:
<img src="https://stamped.io/conversion_tracking.gif?sId=##storehash##&apiKey=##publicApiKey##&orderId=%%ORDER_ID%%&orderAmount=%%ORDER_AMOUNT%%&orderCurrency=USD" />
Both ##storehash## and ##publicApiKey## can be found under API Keys page within Stamped's dashboard settings: https://go.stamped.io/v3/#/settings/api