help needed with event registration settings to use different page

Just in case anyone is interested I’ve found a solution of sorts. I’ve appended a parameter to the end of the link which I check in the target page. So if my custom form is https://mywebsite.com/bookit each event is called with https://mywebsite.com/bookit ?event=myEventSlug