Language switcher

#languages]

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

Integrations

Maximize the value of your existing affiliate marketing software and extend its possibilities with a wide range of integrations, plugins and apps. All built to improve the strong foundations of Post Affiliate Pro.

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 /********* {$PapFullname} 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];
      }
    }
  }
?>
{$TrackingScript}
<script type="text/javascript">
{$SetAccountJs}
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
}
/********  {$PapFullname} 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

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