ThriveCart Integration
To integrate ThriveCart with GoAffPro SDK integration:
Open the setup wizard: https://app.goaffpro.com/wizard
Here, select Thrive Cart.

This will open up the Thrive Cart integration steps.

Add the following code in your store's header area:
<script type="text/javascript" src="https://api.goaffpro.com/loader.js?shop=your-unique-store-public-key"></script>

Finally, add the following code in your Success/Thank you page:
<script type="text/javascript">
var goaffproOrder = {
id:_thrive_order.order.id,
number:_thrive_order.order.invoice_id,
total: _thrive_order.order.total/100,
tax: _thrive_order.order.tax/100,
shipping: _thrive_order.order.shipping,
currency:_thrive_order.order.currency,
customer: {
first_name: _thrive_order.customer.name,
email:_thrive_order.customer.email
},
}
goaffproTrackConversion(goaffproOrder);
</script>

Last updated
Was this helpful?