March 5, 2013 at 5:30 am #24471dougslossMember
Thanks! One last question in regards to masquerading the id in the URL address. Is there a place in the plugin management where I can make sure the “ap_id=affiliate name” is not viewed and registered by google bots to ensure a potential buyer of my product doesn’t search Google for example, and find page that may rank higher than my homepage, causing that person to click on that search result, buy my product and give my affiliate a payout when one was clearly not earned? Or is this something I need to override with some code on my own?
Thanks!March 5, 2013 at 11:03 pm #24472
You don’t need to do anything for that. It will work the way you want by default.March 29, 2013 at 6:11 am #24473
I am using the hide aff URL setting, however Im using a form that needs to see the url parameter to capture the aff id and pass the referring aff to the form field. im using contact form 7. When I turn OFF hide aff id = it works because the aff id is present in the url upon submitting the form. .When I turn ON hide aff id = it will not pass the aff id. Do you have a solution or idea for me. I know contact form 7 captures the Referring Aff: as seen in the Wp Affiliates > Manage Leads.
What code are you using to pass the referring aff into the contact form 7.
ThanksMarch 29, 2013 at 10:39 pm #24474
Given your requirement, the easiest solution is to not use the “turn off affiliate id in the URL” feature.
With that said, you can use the following function to retrieve the affiliate ID instead of from the URL:
wp_affiliate_get_referrer();April 2, 2013 at 6:57 am #24475
Do you have any directions or guidance Im using the contact form 7 with hidden fields. I need to pass this wp_affiliate_get_referrer(); into the hidden field. how would I need to set this up to call this function to grab it and place it into the hidden field.
thanks if I can figure this out I will win my WAR I been battling this issue for a week now.
ThanksApril 3, 2013 at 12:17 am #24476
Hi, I have no idea unfortunately. I just don’t know their hooks (if they have any) to do this from the top of my head. Maybe the following contact form 7 extension will help you:April 3, 2013 at 4:18 pm #24477
Thank you, yes that is the plugin im currently using to allow the hidden fields, I think ill ask the plugin creator and see what he knows, he may have some guidance
Thank youFebruary 28, 2020 at 4:28 pm #24478nickwMember
Just checking in again as this thread is 6 and a half years old. Is this still the optimal way to automatically redirect users to the main landing page after clicking an affiliate link.
I tried editing the wp_aff_advanced_configs.php file as you instructed, but no success. Once I’ve updated the file, how do I update the plugin?February 29, 2020 at 2:17 pm #24479wzpModerator
I tried editing the wp_aff_advanced_configs.php file as you instructed, but no success. Once I’ve updated the file, how do I update the plugin?
Whenever you update the plugin; you must re-do the changes. Since the Affiliate plugin is a rather mature product, there should be very few times you’d have to do this.
Here is a list of “best practices” for minimizing the loss of customized plugin changes:
- You must be logged in to reply to this topic.