To install the thank you page snippet you first need access to your Shopify store’s settings.
This is the code to paste from the screenshot above:
<script
data-props-cta-spacing-top="20px"
src="<https://bountyshopifysnippet.earnbounty.com/snippets/thank-you.snippet.umd.js>"
async
></script>
Click save and you should be good to go!
Using a Custom Element
If you need to place the snippet in a specific area you can add the following div
tag and it will render where it is placed. This is useful if you have a customized thank you page or want Bounty to render above or below other snippets (like a post purchase survey).
<div data-widget-host="bounty-thank-you"></div>
Using data-mount-in
If you would like to place Bounty in a custom area and cannot edit the post purchase page you can still do so. Place a data-mount-in
property on the script itself with a DOM selector of where you would like to show Bounty. This will insert the snippet at the end of that element.