Integration logo
General Solution

General Solution

AffiliateMarketing Integration Software Tracking

General solution integration

The general method of integration is putting an invisible JavaScript code or image anywhere in the “thank you for order” or order confirmation page that is displayed to the customer after the payment is processed.

Post Affiliate Pro is compatible with nearly ALL merchant accounts, payment gateways, shopping carts and membership systems.

What integration means

Integration is a way to connect the affiliate system to your current website, shopping cart or payment gateway in a way that affiliate system will be notified about purchases. When notified, affiliate system registers the sale, finds referring affiliate (if any) and creates appropriate commission for him.

The general method of integration is putting an invisible JavaScript code or image anywhere in the “thank you for order” or order confirmation page that is displayed to the customer after the payment is processed.

How to integrate PostAffiliatePro with General solution

1. JavaScript integration code

JavaScript version of integration code is generally recommended, because it allows using advanced tracking techniques.

Open your order confirmation or “thank you for order” page template, and put the following code somewhere into the page where the parameters in setTotalCost(), setOrderID() and setProductID() should be replaced with correct values.

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
    PostAffTracker.setAccountId('Account_ID');
    var sale = PostAffTracker.createSale();
    sale.setTotalCost('120.50');
    sale.setOrderID('ORD_12345XYZ');
    sale.setProductID('test product');
    
   PostAffTracker.register(); </script> 

Total Cost (mandatory for % commissions) – price of the product.

Order ID (optional) – can be your unique generated order ID to cross-check the sale.

Product ID (optional) – the ID of the product bought.

All fields are optional, but without Total Cost system will be not able to compute percentage commissions.Also, Product ID is required if you want to recognize campaign by product.

If you need to set total sale cost and order id, but you don’t have access to their values in your “Thank you” page, the situation is more complicated. There is no general solution for this. If you know that you can register sale in some other place, where those values (total cost and order id) are available, you can put the tracking code there. Otherwise, consult us for advice and finding possible solution.

2. Hidden Image integration code

Image version of integration code can be used if for some reason you cannot or don’t want to use JavaScript tracking.

<img src="https://URL_TO_PostAffiliatePro/scripts/sale.php?TotalCost=120.50&OrderID=ORD_12345XYZ&ProductID=test_product" width="1" height="1" />

The parameters TotalCost, OrderID and ProductID have the same sense as in JavaScript code.

These two methods (JavaScript and Hidden Image) do the same, JavaScript version has slightly better reliability because of more advanced techniques tha can be used.

Frequently asked questions

What is General Solution integration with Post Affiliate Pro?

It is a method to connect your website, shopping cart, or payment gateway to Post Affiliate Pro using invisible JavaScript or image tracking codes, enabling advanced affiliate tracking and commission creation.

What are the integration options available?

You can use a JavaScript integration code for advanced tracking or a hidden image code if JavaScript is not available. Both methods allow the affiliate system to register sales and assign commissions.

What parameters are required for integration?

The main parameters are Total Cost (mandatory for percentage commissions), Order ID (optional for cross-checking), and Product ID (optional for campaign recognition).

Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.

Lucia Halašková
Lucia Halašková
Content Editor

Boost Your Affiliate Tracking with Post Affiliate Pro

Discover how integrating General Solution Software with Post Affiliate Pro can streamline your affiliate tracking and commission management. Start your free trial today or schedule a call for personalized assistance.

Learn more

General solution - Asynchronous
General solution - Asynchronous

General solution - Asynchronous

Would you like to improve your affiliate software even more? Check out the General solution - Asynchronous integration for Post Affiliate Pro.

3 min read
AffiliateMarketing Integration +3
CommerceGate
CommerceGate

CommerceGate

Learn how to integrate CommerceGate with Post Affiliate Pro for seamless online payment processing, lifetime commissions, and secure affiliate management. Enhan...

5 min read
E-commerce PaymentProcessing +3
Post Affiliate Pro Integration
Post Affiliate Pro Integration

Post Affiliate Pro Integration

Discover how our expert team can seamlessly integrate Post Affiliate Pro with your e-commerce website and payment processor. Learn about our free integration se...

4 min read

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface