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

JotForm

A form builder that helps you create & publish online forms anywhere, anytime without writing a single line of code.

JotForm is an online service for form creation. You can setup a forms with payment buttons and this integration is exactly for those, in case you want to track orders done by any of your JotForm forms.

JotForm setup

To be able to track your form results, you have to setup two options in JotForm admin:

  • set a form “thank you” page in each form (choose one where you will be able to insert PHP code)
  • set preferences of the form to send POST data to thank you page (edit form > Preferences > Advanced Settings)

Save your changes.

Thank you page integration

Now you have to integrate the page you’ve chosen in preferences of your forms. This is the code, just paste it into your PHP thank you page:

<?php /********* Post Affiliate Pro integration snippet *******/
if (isset($_POST['enteryour4'])) {
  // total cost
  $total = 0;

  if (isset($_POST['selectyour'])) {
    $select = "selectyour";
  }
  else {
    for ($i = 0; $i < 100; $i++) {
      if (isset($_POST["selectyour".$i])) {
        $select = "selectyour".$i;
      }
    }
  }

  foreach ($_POST[$select] as $row) {
    $t = str_replace('{"',"",stripslashes($row));
    $t = str_replace('"}',"",$t);
    $vals = explode('","',$t);
    foreach ($vals as $row) {
      $pairs = explode('":"',$row);
      if ($pairs[0] == 'price') {
	$total = $total + $pairs[1];
      }
    }
  }
?>
<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 $total; ?>');
sale.setOrderID('<?php echo $_POST['enteryour4']; ?>');
sale.setProductID('<?php echo $_POST['enteryour']; ?>');
PostAffTracker.register();
</script>
<?php
}
/********  Post Affiliate Pro integration snippet *******/
?>

The tracking code uses your custom variables, so you have to check in the code, if yours are the same.

In the example, we are using:

  • enteryour – which stands for customer full name
  • enteryour4 – which stands for email
  • selectyour – which stands for the product your customer has chosen

Do not forget you have to integrate your landing pages with the click tracking code.

Back to Integrations Create account for FREE
Post Affiliate Pro is affiliate software that tracks, measures, optimizes, and grows your affiliate network. Check out all the available integrations right now.

FormAssembly

Post Affiliate Pro is affiliate software that tracks, measures, optimizes, and grows your affiliate network. Check out all the available integrations right now.

Would you like to improve your affiliate software even more? Check out the BreezingForms (Joomla! Extension) for Post Affiliate Pro.

BreezingForms (Joomla! Extension)

Would you like to improve your affiliate software even more? Check out the BreezingForms (Joomla! Extension) for Post Affiliate Pro.

Would you like to improve your affiliate software even more? Check out the BusinessDirectory (WordPress module) for Post Affiliate Pro.

BusinessDirectory (WordPress module)

The text is about PostAffiliate Pro, a WordPress plugin for business directories and its integration with PayPal for payment processing. It also lists other integrations, features, and support provided by the company. There are sales contact numbers and a list of resellers, as well as a disclaimer about privacy and GDPR policies.

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

Nochex

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

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