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

ReCharge (Shopify)

Specific integration for ReCharge is no longer needed. Please use the regular Shopify integration instead!

ReCharge platform allows you to add recurring subscription products to your Shopify store. This guide explains how to integrate ReCharge with Post Affiliate Pro to track these recurring payments.

To track recurring payments you either need the Recurring Commissions feature or the Lifetime Commissions plugin activated in your Post Affiliate Pro!

The integration process depends on if the store uses ReCharge Checkout on Shopify or Shopify Checkout.

Customers who installed ReCharge after November 2nd 2020 use Shopify Checkout and customers who installed ReCharge before November 2nd 2020 use ReCharge Checkout on Shopify. You can confirm your store’s checkout type also directly in the ReCharge admin panel in your store -> Settings (wrench icon) -> Store (My account) -> Account status. Click here for more details.

If your store uses Shopify Checkout you need to create an API token as described in step 1. and configure the ReCharge webhook handling plugin as described in step 2. Then proceed to integrate your Shopify store as described in this guide. You don’t need to do steps 3. and 4. below.

If your store uses ReCharge Checkout on Shopify you need to follow all four steps described below.

Create API token

As a first step, you’ll need to contact ReCharge to request access to API. Click here for more details.

Once you are granted API access, you can create your API token. To do so, log in to your Shopify admin panel, go to the Apps section and click on Recurring Billing by ReCharge so you get to the ReCharge panel.

Once there, click on the Integrations tab in the top menu, in this section click on Enabled integrations, and then on API tokens. On the right edge of the page. Afterward, click on Create an API token.

Name the API token however you want, add an email where you will be notified if the webhook should be failing, and most importantly make sure you add Read access permission to Orders. If you can also see the Webhooks permission there, please set it to Read and Write access, however this might have been removed and therefore is no longer needed to be set.

Save the token and copy its API key.

Configure ReCharge webhook handling plugin

The next step is to log into your Post Affiliate Pro merchant panel, go to Configuration -> Plugins and activate the plugin called ReCharge webhook handling. Once it’s active, click the Configure button and add the Recharge API key on the plugin configuration page. On this page, you can also configure what exactly will be tracked as Product ID, and you can also choose if you want to track any additional order data in the extra data fields. When you are finished, save the plugin config at the bottom of the page.

Edit your thank you page

If your store uses ReCharge Checkout on Shopify as described above, log in to your Shopify admin panel, go to the Apps section and click on Recurring Billing by ReCharge to get to the ReCharge admin panel. Once there, click on the Settings (wrench icon) in the upper right corner and go to the Checkout section. Scroll down to the Thank you page section and paste the following code into the Additional & scripts and trackers field:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
var discountMultiplier = 1 - {{total_discounts}} / ({{subtotal_price}} + {{total_discounts}});
{% for item in line_items %}
var itemPrice = {{item.price}} * {{item.quantity}};
  var sale{{ loop.index }} = PostAffTracker.createSale();
  sale{{ loop.index }}.setTotalCost(itemPrice * discountMultiplier);
  var subscriptionId = '{{item.subscription_id}}';
  if (subscriptionId  != '') {
    sale{{ loop.index }}.setOrderID(subscriptionId);
  } else {
    sale{{ loop.index }}.setOrderID('{{id}}({{ loop.index }})');
  sale{{ loop.index }}.setProductID('{{item.product_id}}');
  sale{{ loop.index }}.setCoupon('{{discount_code}}');
{% endfor %}

If you wish to save customer name or email you can add the following lines:

  sale{{ loop.index }}.setData1('{{email}}');
  sale{{ loop.index }}.setData2('{{first_name}} {{last_name}}');

under the:

sale{{ loop.index }}.setCoupon('{{discount_code}}');

You can find more available variables in ReCharge knowledgebase.

Click tracking

Log in to your Shopify admin panel, go to the Online store section, and click on Themes. In this section click on the Actions button in your Live theme preview, and choose Edit code from the drop-down menu.

In the Layout directory, find a file called theme/liquid. Insert the click tracking code from your Post Affiliate Pro merchant panel -> Tools -> Integration -> Clicks tracking right above </BODY> tag in this file and save it.

Back to Integrations Create account for FREE
Would you like to improve your affiliate software even more? Check out the Interspire Shopping Cart (especially for Google Checkout) integration.

Interspire Shopping Cart (especially for Google Checkout)

The text discusses topics related to affiliate marketing, including improving user experience, software updates, and attracting more affiliates. Integration options, customer reviews, and sales contacts are also mentioned. PayPal Smart buttons offer payment options and button styles for one-time payments or subscriptions. Post Affiliate Pro offers integration with BigCommerce for seamless sale tracking.

What keyword research tools should affiliate marketers use to make their content rank higher in Google? Read this article to find out!

Top 5 keyword research tools for affiliate marketers

Keyword research is crucial for affiliate marketers. Here are the top 5 tools: 1. SEMrush: detailed analysis and competitor insights. 2. Ahrefs: powerful SEO platform. 3. Moz Keyword Explorer: unique keyword difficulty score. 4. Google Keyword Planner: simple and accurate results.

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

M1 Affiliate Program

M1 affiliate program offers commission-based earnings on sales, with a minimum payout of $50. They specialize in media and marketing, with worldwide acceptance and no explicit or political content.

The text discusses effective strategies for affiliate marketing, emphasizing the importance of crafting helpful content, utilizing keyword research, building a content machine, nurturing purchase intent, diversifying income streams, and choosing the right software and networks. The article also provides insights into related topics, such as customer loyalty, new technologies, and video content. Overall, the content stresses the need for consistency, quality, and adaptability in the evolving field of affiliate marketing.

Affiliate Marketing Mastery in 5 Minutes

As an affiliate marketer, nurturing purchase intent is crucial. Diversify income streams and choose the right software and networks to succeed in the industry.

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