Directing Registration Submit to Thank You Page

Posted in

Hi! I’d like my registrants to be directed to a Thank You page upon submitting the registration form. I believe I’ve identified that I need to add my Thank You page URL to this line of code in my Child Theme’s Affiliates > Dashboard > Registration.php file, but I’m not quite sure what to do.

Am I on the right track? If so, what do I need to change? Or is this change needed someplace else? Thanks!

3 Responses to Directing Registration Submit to Thank You Page

  1. Erica Thumma May 1, 2020 at 4:58 pm #

    Hi Kento,

    I currently have the registration.php file in my child theme with a customized message. I’d still really like to be able to direct them to a “thank you” page. It’s a cleaner, more professional process. And, I want to be able to track Google Ad conversions from submissions to this thank you page. Is there a way to do it?

    • Kento May 1, 2020 at 8:56 pm #

      Hi Erica,

      I see, that’s a good start.

      The redirect can easily be done using approaches like those outlined e.g. on How do I redirect to another webpage?.

      Regarding the question related to Google Ad conversions, you could simply create an additional affiliate account so you can use its links in the ads you place. You’ll have the system report hits on links under Affiliates > Traffic, I would suggest to add a 0 referral rate for that particular account.

      Cheers

  2. Kento April 30, 2020 at 10:32 pm #

    Hi Erica,

    Thanks for using our software!

    If you are using our default configuration, you wouldn’t really need it because the system will handle the registration process appropriately. It will advise the new user on what action to take next etc. This would be the case if you use the [affiliates_dashboard] shortcode (which the generated affiliate area will do) or if you use the [affiliates_dashboard_registration] shortcode.

    If you want to customize the registration.php template in your child theme, you can render a “thank you” message conditionally based on empty( $_POST['affiliates-registration-submit'] ) which would not be empty when the form has been submitted.

    Docs reference: http://docs.itthinx.com/document/affiliates-pro/api/templates/

    Cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share