Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Create a GoAffPro merchant account: Signup Link
Here, click on Add app to store.
Now, select the custom SDK option.
Next, enter the store name, store URL, and click on Submit.
After this, click on Integration steps.
Here, add the general tracking code in the header section before the closing </head> tag.
Now, add the conversion tracking code to the conversion page or the "thank you" page.
Finally, click on Get Started.


GoAffPro provides you with the option to allow the app to call functions on your API.
To call functions on your API, go to the SDK Settings section in the Settings tab of the GoAffPro admin panel.
Here, go to the REST JSON section.
Now, click on Edit JSON Spec.
You can edit the REST JSON Spec to call functions of your API.




GoAffPro provides you with the option to add custom JavaScript to load along with the referral tracking script.
To add custom JavaScript, go to the SDK Settings section in the Settings tab of the GoAffPro admin panel.
Here, go to the Custom Javascript section.
Now, click on Edit.
You can accordingly add custom JavaScript code.




This will open up the Thrive Cart integration steps.
In the Thinkific admin panel, go to the Settings > open the Code & analytics section.
Here, in the Site footer code section > Copy and paste the code (in step 4).
Now, select the Order tracking code section > Copy and paste the code (in step 6).
This will open up the Thrive Cart integration steps.
Add the following code in your store's header area:
Finally, add the following code in your Success/Thank you page:
<script type="text/javascript" src="https://api.goaffpro.com/loader.js?shop=your-unique-store-public-key"></script>Here, select Subbly.
This will open up the Subbly integration steps.
In the Subbly admin panel > Go to the Dashboard (of the website builder) > Navigate to the Site Settings and paste the code (in Step 1) in the Code Injection section.
After this, go to the Conversion tracking page > Paste the conversion tracking code (in Step 2).
GoAffPro provides you with the option to upload a list of your products.
To upload a list of your products, go to the SDK Settings section in the Settings tab of the GoAffPro admin panel.
Here, go to the Product List section.
Now, click on Edit.
This will open up the Product Manager section.
Now, click on Bulk upload.
Here, you can download the template file, to set up your product list.
After this, upload the file.
Finally, click on Add products.
The products will get uploaded. You can now set up commissions for them.
<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>
























GoAffPro provides you with the option to enable secure payloads for conversion callback.
To enable secure payload for conversion callback, go to the SDK Settings section in the Settings tab of the GoAffPro admin panel.
Here, go to the Secure Payload section.
Now, enable the toggle.
After this, you can copy the payload key to use it.




GoAffPro provides you with the option to integrate the CartX payment gateway.
To integrate the CartX payment gateway, embed the following code in the Body section of the Thank You page in the CartX app.
<script type="text/javascript">
(function () {
let q = [];
if(!window.Goaffpro){
window.Goaffpro = function(){
q.push(arguments);
}
}
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = 'https://static.goaffpro.com/client_sdk.js';
s.onload = ()=>q.forEach((item)=> Goaffpro.apply(null, item))
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
})();
Goaffpro('init', 'my-storefront-token');
Goaffpro('track-conversion', {
id: order.id,
number: order.name,
total_price: order.total_price,
subtotal_price: order.subtotal_price,
total_discounts: order.total_discounts,
email: order.email,
line_items: order.order_items.map(function(item){
return {
product_id: item.product_id,
variant_id: item.variant_id,
price: item.price,
quantity: item.quantity,
name: item.name,
total_discount: item.total_discount
}
})
});
</script>


Add the general tracking code of the thank you page in E-Junkie:
<script type="text/javascript" src="https://api.goaffpro.com/loader.js?shop=your-unique-store-public-key"></script>After this, add the following conversion tracking code (below the general tracking code):
<script type="text/javascript">
var goaffproOrder = {
id:'[%txn_id%]',
number:'[%ej_txn_id%]',
total: '[%gross%]',
subtotal: '[%total%]',
tax: '[%tax%]',
shipping: '[%shipping%]',
currency:'[%currency%]',
customer: {
first_name:'[%first_name%]',
last_name:'[%last_name%]',
email:'[%payer_email%]'
},
status:"approved"
}
goaffproTrackConversion(goaffproOrder);
</script>Open the setup wizard: https://app.goaffpro.com/wizard
Here, select Shopbase.
Now, enable the toggle.
The Shopbase integration will be activated.
After this, click on Get Started to go through your program setup.



