Hi!
I really need to have uniques thank you pages based on the category of the event that the user registered for. These are all free events, so no payment gateways are necessary. If there’s a way to go to a unique thank you page or forward to a page after the thank you page (based on the event category) that would be amazing. Thank you so much for your help.
There can be only one Thank You page, but the thank you page can be customized based on which event (or even category of an event) was in the checkout. For example if each category requires different styling on the Thank you page, you can add the category slug to the Thank you page’s body class by adding the code from this example:
If each category requires different content on the Thank you page, there are a number of action hooks that can be used to inject conditional content. There’s a tutorial in the documentation that shows some examples of how to use the Thank You page’s hooks:
My real problem is that I’m dealing with an SEO firm that really wants the category or some part of the event name to follow the user throughout the registration process. Right now they say the tracking is lost once the user hits the /registration-checkout page. Is their a way to keep the name of the event in the url once the user click the register button from the event page? Is there a workaround? Thank you!
There are ways and they involve some custom PHP programming or possibly even custom JavaScript programming. For example, a PHP developer could make use of the wp_get_referer() function and pass part of the referrer URL as an extra URL parameter on the next page.
Viewing 4 reply threads
The support post ‘Custom thank you page based on category’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.