To sell the product, I created this "funnel" Destination page โ payment page (external, in paypal) โ thanks page (internal)
Everything is working fine, but I decided to add an affiliate program. affiliate program adds a new parameter to the process - this is referrer tracking.
So, I added a function on the landing page that gets the referrer ID from $ _GET and sets it as a cookie, now I can identify it if it returns or on the thank you page after payment - but - I have no way to associate it with its payment in paypal.
So, because the pay now button is actually a form, I thought there might be a way to add a hidden input field that will pass the paypal parameter - but the question remains - how can I get this parameter back so that could i track the deal?
source share