I am trying to place code onto a wordpress page to track commission which will be paid for visits via an affiliate link.
I’m not a developer but I found this code below on the WPAM support documentation. I’ve placed this code onto the page but it’s not registering as a conversion for the affiliate. Does the code need to be changed slightly?
$args = array();
$args[‘txn_id’] = ‘4JX55705JA6177943’;//TODO
$args[‘amount’] = ‘49.95’;//TODO
$args[‘aff_id’] = ‘1’;//TODO
FYI – Here’s the link to the support doc: https://wpaffiliatemanager.com/api-track-commission-via-a-wordpress-hook/
Thanks in advance!
Thanks for the reply. I’m using the Divi theme which has a code widget where I can insert code. I’m not sure of the difference. I’ve included the code at the bottom of this page
You must be logged in to reply to this topic.