OptimizePress and pricing with PayPal links

OptimizePress and pricing with PayPal links

OptimizePress PayPal AffiliateMarketing WordPress

A plugin and theme for creating landing pages and membership sites, without having to know how to code.

OptimizePress (WordPress module) is the new way to create high converting landing pages, sales pages and membership portals.

If you use the the Pricing Table feature of OptmizePress and in those pricing tables you use payment links leading to PayPal (direct links leading to PayPal including the id of your hosted PayPal button), then follow the integration steps below.

In a file ‘wp-content/plugins/optimizePressPlugin/lib/assets/tpls/pricing_table/style_X.php‘ (X can be 1, 2 or 3) add this line:

$i=0;

right above the line of:

foreach($tabs as $tab){

And into:

<a href="<?php echo $tab['order_button_url']; ?>" class="css-button"><?php echo $tab['order_button_text']; ?></a>

right before the href tag add:

id="ptPayPalLink<?php echo $i++;?>" name="ptPayPalLink"

so that the code becomes like:

<a id="ptPayPalLink<?php echo $i++;?>" name="ptPayPalLink" href="<?php echo $tab['order_button_url']; ?>" class="css-button"><?php echo $tab['order_button_text']; ?></a>

Now, into “WP ADMIN > Optmizepress > Dashboard > Analytics and Tracking > Analytics and Tracking > Other tracking codes” add the following kod which is your Click tracking code along with the script that will append the cookie to all the payment links of the pricing table:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript"><!--
	PostAffTracker.setAccountId('default1');
	try {
	PostAffTracker.track();
	} catch (err) { }
//-->
</script>
<script type="text/javascript">
	var PayPalLinkCount = document.getElementsByName('ptPayPalLink').length;
	for (var i=0; i < PayPalLinkCount;i  ) {
		PostAffTracker.writeCookieToLink('ptPayPalLink' i, 'custom');
	}
</script>

Frequently asked questions

What is the OptimizePress and PayPal integration?

This integration allows you to track affiliate sales made via OptimizePress pricing tables linked to PayPal, improving accuracy and automation in your affiliate marketing.

How do I add tracking to OptimizePress PayPal payment links?

Modify the pricing table template in OptimizePress by adding specific IDs to PayPal links, then insert the provided tracking and cookie appending scripts in the Analytics and Tracking section of the OptimizePress admin.

Who should use this integration?

Anyone using OptimizePress for landing pages or membership sites and looking to automate affiliate sales tracking through PayPal and Post Affiliate Pro.

Lucia is a talented content editor who ensures the seamless publication of content across multiple platforms.

Lucia Halašková
Lucia Halašková
Content Editor

Schedule a one-on-one call

Discover how Post Affiliate Pro can benefit your business with seamless OptimizePress and PayPal integration.

Learn more

OptimizePress / OptimizeMember (WordPress module)
OptimizePress / OptimizeMember (WordPress module)

OptimizePress / OptimizeMember (WordPress module)

Would you like to improve your affiliate software even more? Check out the OptimizePress / OptimizeMember (WP module) integration for Post Affiliate Pro.

5 min read
OptimizePress WordPress +3
OptimizeMember API (WordPress module)
OptimizeMember API (WordPress module)

OptimizeMember API (WordPress module)

Learn how to integrate OptimizeMember API (WordPress module) with Post Affiliate Pro to track sales, manage affiliate registrations, and automate membership sit...

6 min read
Membership WordPress +3
Simple Paypal Shopping cart (Word Press module)
Simple Paypal Shopping cart (Word Press module)

Simple Paypal Shopping cart (Word Press module)

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

6 min read
Integration E-commerce +4

You will be in Good Hands!

Join our community of happy clients and provide excellent customer support with Post Affiliate Pro.

Capterra
G2 Crowd
GetApp
Post Affiliate Pro Dashboard - Campaign Manager Interface