Your cart is currently empty!
Directing Registration Submit to Thank You Page
—
by
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!
Posted in Affiliates Pro
Comments
3 responses to “Directing Registration Submit to Thank You Page”
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?
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
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 onempty( $_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