Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Hide the Affiliate ID from the URL after the visitor lands on the landing page

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate F.A.Q/Instructions › Hide the Affiliate ID from the URL after the visitor lands on the landing page

Tagged: affilaite id, affiliate id, Cloaked Affiliate Link, default id, display sales widget, hide affiliate id, hide affiliate id in the url, url, url redirect

  • This topic has 23 replies, 10 voices, and was last updated 3 years ago by wzp.
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • Author
    Posts
  • March 5, 2013 at 5:30 am #24471
    dougsloss
    Member

    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
    admin
    Keymaster

    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
    ladypop2012
    Member

    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.

    Thanks

    March 29, 2013 at 10:39 pm #24474
    admin
    Keymaster

    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
    ladypop2012
    Member

    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.

    Thanks

    April 3, 2013 at 12:17 am #24476
    admin
    Keymaster

    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:

    http://wordpress.org/extend/plugins/contact-form-7-modules/

    April 3, 2013 at 4:18 pm #24477
    ladypop2012
    Member

    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 you

    February 28, 2020 at 4:28 pm #24478
    nickw
    Spectator

    Hello!

    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 #24479
    wzp
    Moderator

    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:

    https://support.tipsandtricks-hq.com/forums/topic/upgrading-the-plugin-what-exactly-will-be-lost#post-25641

  • Author
    Posts
Viewing 9 posts - 16 through 24 (of 24 total)
← 1 2
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ