Okay
  Public Ticket #1707385
Redirecting user when submiting an appointment
Closed

Comments

  •  2
    projectlobster started the conversation

    Hello,

    How could I redirect the users that book an appointment to a url of my choice? 

    I want this so that I can track with Google Analytics how my users act through the website, which are the users that book my appointments and where they come from.

    I can put an "href" in the last button code before submiting the appointment, but I would love if you would point me to where this part is.

    Thanks,

    Ivan

  • [deleted] replied

    Hi Ivan,

    You can create some JS file and include it on the page where your booking form is located. In that file add a click event on this button, so when user click on it it will redirect the user on some page. Also you need to make sure that request to the server is done, so that appointment will be saved in the database, so you need to add some timeout to the click function.

    We will probably add feature like this on the settings page in one of the future releases but at the moment it is possible just with some JS coding. 

  •  2
    projectlobster replied

    Thanks for the help Milos, I was thinking about something like that and I think I will be able to get it. Great support and help !