–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.

Cart66

Easily sell digital as well as physical products with this plugin.

This integration method integrates Cart66 (WordPress plugin) receipt page.

Sale tracking

The integration is pretty easy. The only step you have to take is to edit file wp-content/plugins/cart66/views/receipt.php and to find a line with this code:

if(Cart66Setting::getValue('enable_google_analytics') == 1 && $order->viewed == 0)

Now, copy the code below and paste it just above the mentioned line:

<!-- Post Affiliate Pro integration snippet -->
<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('<?php echo number_format($order->total, 2, ".", ""); ?>');
sale.setOrderID('<?php echo $order->trans_id; ?>');
sale.setProductID('<?php echo get_bloginfo("name"); ?>');
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->

That’s it. Save your changes. Now your system is integrated.

Per product tracking

In case you want to track your orders per product, please use this code instead:

<!-- Post Affiliate Pro integration snippet -->
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
  <?php
  $i = 1;
  foreach ($order->getItems() as $item) {
  ?>
  echo "var sale$i = PostAffTracker.createSale();";
  echo "sale$i.setTotalCost('".$item->product_price * $item->quantity."');";
  echo "sale$i.setOrderID('".$order->trans_id."(".$i.")');";
  echo "sale$i.setProductID('".$item->product_id."');";
  <?php
  $i++;
  }
  ?>
PostAffTracker.register();
</script>
<!-- /Post Affiliate Pro integration snippet -->

Coupon tracking

In case you want to support coupon tracking, add this code to your sale tracking code:

<?php
if (!empty($order->coupon) && !empty($couponCodeUsed)) {
  $coupons = explode(" (",$couponCodeUsed, 2);
  echo "sale.setCoupon('".$coupons[0]."');\n";
}
?>

If you want to use discount amount in your sale tracking code for something, you can use this variable:

$order->discount_amount

Cart66 on Cloud

In case you have the cloud-based Cart66 then the integration is possible too. You won’t be able to track per product orders, but still you can track order subtotal and order ID. Add the following HTML tracking code to your thank you page:

<img src="//URL_TO_PostAffiliatePro/scripts/{$ImageTrackUrl}&TotalCost={{order_subtotal}}&OrderID={{order_number}}" width="1" height="1" />

That’s it. Save your work and you are done.

Do not forget to integrate your WordPress with click tracking code.

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

ViArt

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

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

Shopware

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

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

Volusion

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

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.

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