Custom Confirmation Page

Home Forums Calendar Products Community Events Custom Confirmation Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #891520
    Jonathan Goldford
    Participant

    Previously we were able to direct users to a new page once they submitted an event. At some point, possibly during an update, the code we were using stopped working and submitters were no longer being taken to a new page. Here is the code we were using: https://gist.github.com/jg314/5299d64d073c6d3e0a67

    Can you provide us some direction on how to fix this, since redirecting users to a new page is critical for tracking goals via Google Analytics.

    Thank you.

    #893057
    Brian
    Member

    Hi,

    Sorry for the late reply. I took a look at the coding and went into the coding looking for that filter:

    tribe_community_events_form_errors

    I could not longer find that filter, it may have changed to this filter:

    tribe_events_community_submission_message

    You could try changing that.

    I also found this hook that runs after an event is created that could be used to redirect, but would take modifying the snippet you have.

    tribe_community_event_created

    Let me know if changing that filter name works for you.

    Thanks

    #897452
    Jonathan Goldford
    Participant

    Thanks Brian. I was actually able to make it work by using a new action called ‘tribe_community_event_created’. I’ve updated my gist at https://gist.github.com/jg314/5299d64d073c6d3e0a67 to include the new code for anyone else that needs it. Thanks again for the help.

    #897614
    Brian
    Member

    Great glad you got it working and thanks for sharing the coding.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Custom Confirmation Page’ is closed to new replies.