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

MemberMouse

MemberMouse is an easy to use WordPress membership plugin that allows you to sell products, subscriptions and memberships, setup a password protected member’s area, offer 1-click upsells and downsells, manage customers, automate customer service, track critical retention metrics and more.

No matter where you’re starting from, MemberMouse has the power you need to maximize revenue and get your business running like a well-oiled machine.

The integration plugin can create an affiliate automatically, decline or approve them. It registers orders and supports order ID, per product tracking with SKU, Lifetime Commissions and coupons.

Custom field

Navigate to your WP MemberMouse> Checkout settings and create a new Custom Field. When creating it, you can name it the way you want, the checkbox for ‘Show on My Account Page‘ should stay unchecked. The type of the field has to be set to ShortText.

When you are done, save your new custom field and then click the ‘Checkout SmartTag‘ to find out the custom field ID – you will need it later.

Copy the SmartTag code and place it to your checkout page. The final change is to hide the field – add type=’custom-hidden’ attribute to it. This is an example of the result code:

[MM_Form_Field type='custom' id='4' isRequired='false' class='' type='custom-hidden']

As you can see, the field ID is 4 in our example.

Order form modification

After you placed the new custom field code to your order form, we need to make sure the hidden field is loaded with an affiliate tracking value automatically. The following code will do it:

<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
PostAffTracker.setAccountId('Account_ID');
PostAffTracker.track();
PostAffTracker.writeCookieToCustomField('mm_custom_field_N');
</script>

First of all, make sure the code:

mm_custom_field_N

is set to your custom field number – following our example with ID 4, the code would be:

mm_custom_field_4

Place the script to your checkout page, somewhere below the custom field code.

Push notification setup

Navigate to your WP MemberMouse> Developer tools and create a new push notification – the plugin processes member notifications and payment notifications, so you can create a notification for each of these:

Member Added, Member Account Updated, Member Deleted, Payment Received, Rebill Payment Received, Refund Issued.

In case of the action, choose ‘Call a custom script‘ and use this URL for it:

https://URL_TO_PostAffiliatePro/plugins/MemberMouse/membermouse.php

That’s it. Save your work.

Activate the plugin

The last step is to login to your merchant panel and activate the plugin. When activated, make sure you configure it and set at least the correct custom field ID. Otherwise the plugin won’t work.

Do not forget to integrate your WordPress with the click tracking code.

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