Advanced features for Pro/Pro+ Plans
You can customise TheFork´s booking widget even further with some of our advanced features available to our Pro & Pro + customers.
Below you can find instructions
After Reservation Redirection
This allows you to redirect your customers to a page after they have completed their reservation. This can be a static or dynamic page.
SETTINGS

Go to “global settings” on the bottom left and then click on “Booking module” ⇨ “Settings”.

On settings click on “Configure” and go to the tab “Integrations”.

Add the URL
Example: https://restaurantwebsite.com/thank-you/
Add extra dynamic information
https://restaurantwebsite.com/thank-you?pax=<%partySize%>&date=<%date%>time<%hour%>&<%lang%>
Where:
-
- partySize = Number of pax
- date = Reservation date
- hour = Reservation time.
- lang = Language of the widget
Examples of a “thank you” page after the reservation.
https://restaurantwebsite.com/thank-you?pax=2&date=2024-05-27&time=975
https://restaurantwebsite.com/thank-you?pax=4&date=2024-05-27&time=975&lang=en
https://restaurantwebsite.com/thank-you?pax=2&date=2024-05-27
INSTALLATION
We recommend opening the booking widget link in the same window by clicking the button. At the end of the booking the user will be redirected to the restaurant's website.
Do not use the iframe on your website. The redirection replaces the widget URL with the thank you URL so if the widget is inside an iframe the thank you page will also appear inside the iframe.
Example (All the process in the same window):
Start of booking:
https://restaurantwebsite.com/reservations/
⇩ Click on the booking button ⇩
Booking on the widget:
https://widget.thefork.com/es/8da96c05-df2f-46f2-8c96-441184d7ce5a
⇩ Reservation completed ⇩
Redirection to the restaurant's thank you page:
https://restaurantwebsite.com/thank-you?pax=2&date=2024-05-27
DATA COLLECTION
The following example can be used to retrieve the booking data in the URL.
UTM - Source
UTM support
- From now on, the 3 main utms, when added to the widget url will be carried over though the booking process and be registered if the reservations is finalised
- utm_source, utm_campaign and utm_medium can be added to the booking widget and they will be carried over during the entire process (and up to the final redirection page if relevant)
- The 3 values added as utm will be stored on our side and can be fetch in reservation extract (see below)
- For organic traffic (when there is no utm_source), we will try to extract the booking origin, essentially the website where the booking widget is installed
- For booking made through Instagram and Facebook integration utm origin and medium are already pre-filed by Meta
CRM / Social network campaign set up example
When creating campaign, specific value can be added, for example with the 3 utm added using the following pattern:
{widget_base_url}?utm_source={your_source}&utm_medium={your_medium}&utm_campaign={campaign}
For example
☝🏻
1️⃣ UTMs can be added in any order.
2️⃣ You can decide to add only 1 or 2 utms - no need to add the 3 all together
Custom variables support
Customers might need to add in CTAs links some custom variables.
Same as UTMs they will be carried over during the all process up to the redirection page after reservation BUT those variables won’t be stored in database.
Custom variable set up example
When creating campaign, custom variable can be added using the following pattern:
{widget_base_url}?custom_var={value}
for example
https://widget.thefork.com/en/8da96c05-df2f-46f2-8c96-441184d7ce5a?custom_var=er3489
A url with both utms and custom variable
How to retrieve data
on the TFM export page, reservation tab, when exporting 3 new columns have been added to gather those informations (when available)
![]()
☝🏻 Those values will only be displayed if utms have been added AND only for booking widget reservations.