ThriveCart Integration

To integrate ThriveCart with GoAffPro SDK integration:

Open the setup wizard: https://app.goaffpro.com/wizard

The setup wizard will open up automatically when you open the GoAffPro admin panel for the first time.

Here, select Thrive Cart.

Select Thrive Cart

This will open up the Thrive Cart integration steps.

Thrive Cart integration

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>

Please make sure to replace the your-unique-store-public-key from the code, with the public key from your account (from the Settings > Advanced > Third Party Tracking section).

Add the code in your store header area

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>
Copy & paste the code in your Success/Thank you page

Last updated

Was this helpful?