Okay
  Public Ticket #3028959
Thank you page / Conversion tracking
Closed

Comments

  •  3
    Joachim started the conversation

    Hi,

    Is it possible to redirect the user directly after they click "Confirm" at the event page.

    At the moment they need to click "Finish" before the page redirect (not all people will click Finish, which make conversion tracking impossible).

    Thanks :)

  •  1,851
    Miloš replied



    Hi, Joachim

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    -

    To redirect someone before they click on "Finish",  it requires a custom workaround.

    We don't have a built-in feature for it yet, but you can suggest it on this page.

    At this time, you can try to use hooks like "beforeConfirmedBooking", for example, that will be triggered when your customers confirm the booking. 

    You can set the redirect URL that you need like in this script (we use https://www.google.com as an example, but you will replace it with your own URL):

    <script>
    window.beforeConfirmedBooking = function()
    {
    window.location.href = "https://www.google.com";
    };
    </script>

    Please insert this script on the footer of the page where you insert Amelia's shortcode.

    Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways. 

    If you need help with adding custom JS to the page, please take a look at this article.

    I hope it helps.

    Kind Regards, 

    Miloš Jovanović
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  3
    Joachim replied

    Thank you very much, it worked! :-)

  •   Miloš replied privately