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.

Miva 9

Solution that enables you to easily create and manage an online store, taking your products to a virtually unlimited market, with little initial investment, and low overhead.

Miva 9 integration method. This integration method includes click and sale tracing.

Add click tracking code

Login to your PAP merchant panel. In the menu navigate to Tools >Integration. Click on Click tracking icon. Copy your click tracking code from window that opened.

Now login to your Miva admin panel and navigate to Home > User Interface > Settings > Global Header & Footer (or simply use the search bar to search for ‘global footer’) and place the code into the textarea for Global Footer.

Now click Update button.

Add sale tracking code (per order tracking)

Login to your Miva admin panel and search for ‘invc’. Choose the Edit Page: Invoice and find the Details section. Now, paste the sale tracking code to the textarea named Template, just below the body tag:

{$TrackingScript}
<script type="text/javascript">
	function stringFilter (s) {
		filteredValues = "1234567890.,";
		var i;
		var returnString = "";
		for (i = 0; i < s.length; i++) {
			var c = s.charAt(i);
			if (filteredValues.indexOf(c) != -1) {
				returnString = "" + returnString + "" + c;
			}
		}
		return returnString;
	}
	var papSubtotal = 0;
	var papProducts = '';
	<mvt:foreach iterator="item" array="order:items">
		var filteredItemPrice = stringFilter('&mvt:item:formatted_subtotal;');
		papSubtotal += Number(filteredItemPrice);
		papProducts += '&mvt:item:code;, ';
	</mvt:foreach>
    
	{$SetAccountJs}
	{$CreateSaleJs}
	sale.setTotalCost(papSubtotal);
	sale.setOrderID('&mvt:order:id;');
	sale.setProductID(papProducts.slice(0, -2));
	PostAffTracker.register();
</script>

That’s it. Now you can track your sales.

If you wanted to add customer email (for Lifetime Commission) you can use this variable:

&mvte:global:order:bill_email;

Add sale tracking code (per product tracking)

Login to your Miva admin panel and search for ‘invc‘. Choose the Edit Page: Invoice and find the Details section. Now, paste the sale tracking code to the textarea named Template, just below the body tag:

{$TrackingScript}
<script type="text/javascript">
	function stringFilter (s) {
		filteredValues = "1234567890.,";
		var i;
		var returnString = "";
		for (i = 0; i < s.length; i++) {
			var c = s.charAt(i);
			if (filteredValues.indexOf(c) != -1) {
				returnString = "" + returnString + "" + c;
			}
		}
		return returnString;
	}
	var counter = 0;
	var sales = new Array();
	PostAffTracker.setAccountId('default1');
	<mvt:foreach iterator="item" array="order:items">
		sales[counter] = PostAffTracker.createSale();
		sales[counter].setTotalCost(stringFilter('&mvt:item:formatted_subtotal;'));
		sales[counter].setOrderID('&mvt:order:id;(' + counter + ')');
		sales[counter].setProductID('&mvt:item:code;');
		counter ++;
	</mvt:foreach>
	PostAffTracker.register();
</script>

That’s it. Now you can track your sales.

Note: Every product is tracked as a single transaction. For every product in customer’s basket we record its price, product code and order ID from your Miva store.

If you wanted to add customer email (for Lifetime Commission) you can use this variable:

&mvte:global:order:bill_email;

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