WP Affiliate platform can be integrated with DPD so that affiliate commissions can be awarded automatically for the products that you sell via DPD.
DPD Integration Steps
Step 1) Go to the settings menu of the affiliate plugin and check the “Enable Remote Post” checkbox. Take note of the “Secret Word” from this section.
Step 2) Check the “Enable Debug” checkbox from the testing and debugging settings (this will log debug details which will help us troubleshoot if the commission doesn’t get tracked as expected.)
Step 3) Save the changes by hitting the update settings button.
Step 4) Add the following HTML tracking code to your 3rd party conversion tracking code interface. This goes inside the “THML/JavaScript” field.
<img src="http://www.your-domain.com/wp-content/plugins/wp-affiliate-platform/api/post_by_ip.php?secret=XXXX&sale_amt={{order.subtotal_price}}&txn_id={{order.id}}&buyer_email={{customer.email}}" width="1" height="1" />
Note:
– Replace “your-domain” with your actual site URL where the affiliate plugin is installed
– Replace “XXXX” with the actual secret code from the settings menu of this plugin (refer to step 1)
Leave a Reply