Tracking the same page (e-commerce site) by multiple PAP/PAN installations - click tracking of multiple PAP/PAN installations on the same page

Occasionally, customer needs to send click/sale tracking request to multiple PAP/PAN installations at once. By default, this was not possible because we are using fixed JavaScript ID for each installation. For the second tracking request there would have to be a different JavaScript ID used and the JS object 'PostAffTracker' refreshed with the new tracking details.
 
It is possible to use a custom suffix now for the trackjs.js file by using a PHP file: 'trackjs.php' with parameter: 'pap_tracking_suffix', this changes the suffix of javascript ID: "pap_x2s6df8d" to "pap_x2s6df8d[my_custom_suffix]". Besides this, it is needed to change all occurrences of "PostAffTracker" to "PostAffTracker[my_custom_suffix]" in the tracking code.

Here is an example of use for the click tracking code: 
<script id="pap_x2s6df8dMyCustomSuffix" src="https://URL_to_your_PAP_installation/scripts/trackjs.php?pap_tracking_suffix=MyCustomSuffix" type="text/javascript"></script>
<script type="text/javascript"><!--
PostAffTrackerMyCustomSuffix.setAccountId('default1');
try {
PostAffTrackerMyCustomSuffix.track();
} catch (err) { }
//-->
</script>

Here is an example of use for the sale tracking code: 
<script id="pap_x2s6df8dMyCustomSuffix" src="https://URL_to_your_PAP_installation/scripts/trackjs.php?pap_tracking_suffix=MyCustomSuffix" type="text/javascript"></script>
<script type="text/javascript">
PostAffTrackerMyCustomSuffix.setAccountId('default1');
var action = PostAffTrackerMyCustomSuffix.createSale();
action.setTotalCost('500');
action.setOrderID('test order');
action.setProductID('test product');
PostAffTrackerMyCustomSuffix.register();
</script>
 
 
For click forcing parameters use:
 
var AffiliateIDMyCustomSuffix='affiliate id'; // click will be saved for affiliate specified by this parameter
var BannerIDMyCustomSuffix='banner id'; // click will be saved for banner specified by this parameter
var CampaignIDMyCustomSuffix='campaign id'; // click will be saved for campaign specified by this parameter
var ChannelMyCustomSuffix='channel'; // channel
var Data1MyCustomSuffix='data1'; // extra data 1
var Data2MyCustomSuffix='data2'; // extra data 2
 
NOTE: This suffix stuff is possible from PAP/PAN version 5.1.0.2. 

Do not use this kind of tracking code in combination with tracking code from other PAP/PAN of lower version than 5.1.0.2 within the same page.