Loading SDK

Subify SDK is automatically loaded if the Subify app embed block is enabled in your theme. However, if you are using a non-standard Shopify theme (such as a headless theme) or the app embed block is disabled, you should load the SDK manually with a script tag like below:

<!-- load subify sdk -->
<script src="https://cdn.hengam.io/subify/subify-sdk.js" defer></script>

Once the SDK is loaded successfully, a subifySDK object will be added to the window object, which contains methods to work with the SDK.

Last updated