This article is also available in:
There're many uses of scripts on your Thank-you page. Tracking scripts are provided by a third-party, and are used as a Additional scripts in your ShopBase admin. In this part, we will show you how to add custom scripts to thank-you page n a few steps!

Step by step Tutorial

From your store admin, go to Online Store >> Preferences


Scroll to the Additional scripts >> Head section.


Paste this script.

<script>
window.sbsdk.ready(function() {
window.sbsdk.page.onContextUpdate(function(context) {
if (context.type === 'post_checkout') {
// Inject code tracking here
}
});
});
</script>

Replace the tracking scripts (provided by a third-party) in // Inject code tracking here section
Click Save and you are done.
Was this article helpful?
Cancel
Thank you!