October 3, 2010 at 4:45 pm #1671
I’ve installed and tested wp affiliate, it tracks clicks, sales and affiliate commission
…so far so good but
It works only when i use a “home made” web page, which is a “static” page with the .php extension.
After this successfull integration i decided to transfer the text content of my sales letter to my wordpresss blog, and created a dedicated blog post.
I understood that the tracking was possible thanks to these 2 lines of code:
<input type=”hidden” name=”notify_url” value=”http://www.mydomain.com/wp-content/plugins/wp-affiliate-platform/api/ipn_handler.php”>
<input type=”hidden” name=”custom” value=”<?php echo $_COOKIE; ?>”>
so i’ve installed a WP plugin called php exec in order to have this snippet of php code executed successfully.
With this set-up i’m able to track transactions but i have no affiliate referals coming up within wp affiliate dashboard.
I would really appreciate if you could help me out in order to see what’s wrong.
Thanks for your support !October 4, 2010 at 1:53 am #25050amin007Participant
So, your sales are getting tracked after a purchase but the affiliate clicks are not tracking right?
Can you please post a link to this blog post? What did you do to simulate an affiliate click?October 4, 2010 at 9:18 am #25051
no transactions are being tracked from this post http://www.recettecupcakes.com/le-guide-delicieux-des-meilleures-recette-de-cupcake
but transactions are being tracked from this landing page that i created http://www.recettecupcakes.com/best-of/index.php
thanksOctober 5, 2010 at 1:18 am #25052amin007Participant
Thank you for the URLs it helps with the troubleshooting. I had a quick look at the HTML code of your button and I found that the following line in the button that doesn’t work:
<input name="custom" type="hidden" value="<?php echo $_COOKIE['ap_id']; ?>" />
Can you see the problem? The PHP code is not getting executed.. see the following:
Why? Because you must have pasted that button code in the Visual view of the WordPress editor and WordPress by default converts all the “<” “>” characters to their equivalent HTML code. I am guessing you understand a bit of PHP so you should already know what this means if not let me know and I will explain more
Basically, paste the button code in the HTML view of the editor then after you update the page just look at the page source to make sure the php code is executing meaning there will be a value of nothing (in the case of no affiliate referral) or the affiliate’s ID (in the case of a referral).October 15, 2010 at 10:39 am #25053
I’ve made the modifications, i had a couple more sales but i still can’t see any transaction within the WP Affiliate Platform – Stats Overview.
Is it normal to not see new sales if they hadn’t been made by affiliates ? Or should i see the transactions anyway ?
ThanksOctober 16, 2010 at 12:17 am #25054wpCommerceModerator
The affiliate platform will only track and show you the details if a sale comes through an affiliate.
- You must be logged in to reply to this topic.