–Hidden comment

Use attributes in format region_from and region_to= to change the languages showing in language switcher.
Available regions are:
europe_from europe_to
asia_from asia_to
mideast_from mideast_to
america_from america_to

Example:
europe_from=0 europe_to=22 will put all languages (ordered in language switcher settings) from 1 to 21 to Europe region:
asia_from=22 asia_to=25 will put all languages from 23 to 24 (so only 2) into Asia region.

General solution – Asynchronous

Put an invisible Asynchronous JavaScript code anywhere in the “thank you for order” or order confirmation page that is displayed to the customer after an order is placed or payment is processed.

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

What does integration mean?

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

This particular method presented here is about putting an invisible Asynchronous JavaScript code anywhere in the “thank you for order” or order confirmation page that is displayed to the customer after an order is placed or payment is processed.

Asynchronous JavaScript version of general sales/leads tracking code

JavaScript version of integration code is generally recommended, because it allows using advanced tracking techniques. The Asynchronous JavaScript version of general sales/leads tracking code loads only after your site has been fully loaded, so it won’t cause any delay in the load time of your web site.

Open your order confirmation or “thank you for order” page template, and put the following code somewhere into the page:

<div id='papSaleTrackingPlaceholder'></div>

<script type="text/javascript">
  (function(d,t) {
    var script = d.createElement(t); script.id= 'pap_x2s6df8d'; script.async = true;
    script.src = '//URL_TO_PostAffiliatePro/scripts//trackjs.js';
    script.onload = script.onreadystatechange = function() {
        var rs = this.readyState; if (rs && (rs != 'complete') && (rs != 'loaded')) return;

        PostAffTracker.setAccountId('Account_ID');
        var sale = PostAffTracker.createSale();
        sale.setTotalCost('120.50');
        sale.setOrderID('ORD_12345XYZ');
        sale.setProductID('test product');
        
        try { PostAffTracker.track(); } catch (e) {}

    }
    var placeholder = document.getElementById('papSaleTrackingPlaceholder');
    placeholder.parentNode.insertBefore(script, placeholder);
    placeholder.parentNode.removeChild(placeholder);
  })(document, 'script');
</script>

where the parameters in setTotalCost(), setOrderID() and setProductID() should be replaced with correct values.

  • 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 the system will not be able to compute percentage commissions. Also, Product ID is required if you want to take advantage of campaign recognition based on product IDs.

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 the sale at some other place where those values (total cost and order id) are available, you can put the tracking code there. Otherwise, you may contact the creator of your shopping cart for some advice regarding the possibility of placing a conversion tracking code into your e-commerce site (shopping cart) or you may contact us and we would try to help you to find a possible solution (if any).

Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the General solution integration for Post Affiliate Pro.

General solution

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

Use both the click tracking code and the sale tracking code asynchronously. Now it is possible in Post Affiliate Pro. For more information read our article.

Asynchronous communication

Use both the click tracking code and the sale tracking code asynchronously. Now it is possible in Post Affiliate Pro. For more information read our article.

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

AspDotNetStorefront

The article discusses the PostAffiliate Pro software, which is designed for tracking business sales through affiliate marketing. The software is available for free and offers a range of features and integrations, including support for AspDotNetStorefront. The article includes instructions for integrating the software with a website to track commissions per order and supports lifetime commissions. The article also provides contact information for sales support and customer reviews of the software.

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

aMember

The article discusses the integration of PostAffiliate Pro with aMember, specifically for versions lower than v4. It covers the integration of recurring sales with PayPal, signup form integration, and provides the necessary code for each integration. The article also mentions other software such as AspDotNetStorefront and OpenCart, which can be integrated with PostAffiliate Pro. Overall, the article emphasizes the ease of integrating different software with PostAffiliate Pro and encourages readers to create a free account to try it out.

Our website uses cookies. By continuing we assume your permission to deploy cookies as detailed in our privacy and cookies policy.

×

Schedule a one-on-one call and discover how Post Affiliate Pro can benefit your business.

We’re available on multiple dates

Schedule a call