Events Manager
Step 1
Place this script right below the <head> tag of your website:
<script src="https://unpkg.com/@devimasolutions/spare-sdk@0.1.5/umd/sdk.min.js"></script>
Step 2
For ShopifyTo track purchases, paste the code below into "Additional scripts" input on checkout settings page:
<script src="https://unpkg.com/@devimasolutions/spare-sdk@0.1.5/umd/sdk.min.js"></script><script>__spare.purchase({price: {{ total_price | money_without_currency }} , orderId: {{ order_number }} });</script>
Step 2
For Other PlatformTo track purchases, call the following script when a purchase occurs:
__spare.purchase({price: 99.99});