–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

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.


An affordable and easy to use email marketing and autoresponder tool.

The integration can create unique lead commissions after verifying a customer’s email address. Additionally, part of this integration allows you to create affiliates automatically after customers confirm their email addresses.

Necessary settings

First, you have to setup AWeber. Navigate to My Lists tab and to Confirmed Opt-In. Here, you should setup email text but the most important part is to define Confirmation Success Page. Insert the link to your “after confirmation” page here – the page will contain lead tracking code and API code for adding new affiliate. This page have to be PHP. Lets say we will create the site named lead.php.


To properly track all the data you need to do one more step. There is a checkbox Pass subscriber info” – please enable this option.

Adding the code for lead tracking

In our file lead.php there is already some code with message “Thank you for …….”. This is a page where only approved customer can come, so this is the best place to insert lead tracking code. Please, insert it to the end of the page code, over the </body> tag.

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var sale = PostAffTracker.createSale();
sale.setOrderID('<?php echo $_GET['meta_message']; ?>');
sale.setProductID('<?php echo $_GET['unit']; ?>');

Adding the code for creating new affiliate

This is the code for work with PAP API so if you do not have “lead.php” page at same server as PAP, you will need to copy file api/PapApi.class.php from PAP server and paste it to server with “lead.php” page. Here comes the code:

include 'PapApi.class.php'; // here you have to define path to the file

// login (as merchant) - here you have to setup merchant credentials
$session = new Gpf_Api_Session("https://URL_TO_PostAffiliatePro/scripts/server.php");
if(!$session->login("merchant@example.com", "password")) {
  die("Cannot login. Message: ".$session->getMessage());

$affiliate = new Pap_Api_Affiliate($session);
$affiliate->setFirstname("AWeber- ");

try {
  if ($affiliate->add()) {
    // echo "Affiliate saved successfuly";
  } else {
    die("Cannot save affiliate: ".$affiliate->getMessage());
} catch (Exception $e) {
    die("Error while communicating with PAP: ".$e->getMessage());

aWeber plugin for PAP

(Integration plugin developed by third party company)
Each time a new affiliate joins your affiliate program in PAP, this plug-in notifies AWeber so that the affiliate is also added to the AWeber list that’s specified.
Details on the AWeber plug-in for Post Affiliate Pro are posted on site:


Details about the plug-in and how to install and configure it are located in the README file.

Back to Integrations Create account for FREE
Aweber - Post Affiliate Pro Email Parser

Aweber - Post Affiliate Pro Email Parser

Aweber - Post Affiliate Pro Email Parser

Learn about the AWeber Affiliate Program's key details, campaign restrictions, rules, commissions, and more before you join.

AWeber Affiliate Program

AWeber provides email marketing solutions for small businesses and offers a CPS affiliate program for those interested in earning extra income. The affiliate program offers a fixed commission structure with a minimum payout of no minimum payout, and commissions are earned only on sales generated by the affiliates. The program accepts link and banner advertisements, social media advertisements, and is available worldwide. The affiliate cookie duration is one year. AWeber has policies on explicit, religious, and political content, which should be checked before promoting the business.

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


The article discusses the integration of PostAffiliate Pro with SWREG, a payment processing company. The process involves activating the SWREG plugin, editing the summary template, adding the integration code, and setting up notifications for new sales and refunds. The article emphasizes the importance of SSL security for the integration to work properly. The article also provides links to related resources and offers a free account for PostAffiliate Pro.

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


Would you like to improve your affiliate software even more? Check out the InSales 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