Frequently asked questions

What is a Widget?

Technically speaking, it's a digital application which is integrated in a web page in order to interact with internauts visiting the website it is installed in. In our case, it's an interface looking like a calendar which allows internauts visiting your restaurant's website, facebook and instagram profiles to easily book a table.

 

How does a widget work?

The widget interface collects the reservation data required to the customer, that once it's confirmed, it's transferred to your TFM updating authomatically the tables available as well.

 

Why should I use the widget?

1) It allows your restaurant to get commission-free bookings.
2) It encourages the "visitor to customer" conversion of internauts visiting your web, facebook and instagram pages.
3) It allows customers to book anytime anywhere (24x7) and from different channels: your website, facebook and instagram profiles (in addition to thefork and tripadvisor platforms).
4) It simplifies the booking process replacing emails, forms and phone calls, giving also real time availability and instant confirmation to customer.
5) It easies reservation management, done directly and only from TFM (optionally also with the APP).
6) It makes you save money, since in addition to make you get commission-free bookings, it's a totally free of charge service with no costs of installation, usage or removal.

 

Does have the widget any cost?

Not at all. It's an optional and free of charge service with no costs of installation, usage or removal.

 

How many types of widget do you have?

We have two types of widgets depending on the contract you have signed with us, Free or Pro. In the first case, you'll get the MRG (grey) version which is a calendar that includes a thefork logo and banner.

If you have instead a Pro/Pro+ contract, your widget will be a customizable MRB (white) calendar, without thefork logo nor banner.

 

How many layouts of widget do you have?

We've got four layouts of widget for you to choose, depending on your preferences and needs:

1) Iframe: it's the main version and it's a full open calendar integrated (embedded) in a page of your website.
2) Horizontal: it's a smaller version that you can choose if you haven't much room available to put the iframe.
3) Vertical: it's the smallest version that you can easily locate in a little corner of your web page.
4) Button: it's a simple button which design you can choose and that opens the iframe at the click.

 

May I personalize the widget?

If you have signed a Pro (Pro+) contract you'll have the chance to partially customize your (MRB) widget. You'll be able to add a logo, change colors, add text or a link, create a confirmation page and use your Google analytics code as well.

 

Where can I put the widget?

You can put the widget in your website (if you don't have one, we can create it for you for free), your facebook and instagram profiles.

 

How can I install the widget?

Basically you'll need to copy an Url string that we'll provide and paste it on the HTML code of your website, call to action Facebook and/or Instagram button. It's very easy but you need to be a basic computer user at least to get it done.

 

Who does install the widget?

If you're not able to install it and you don't have a webmaster or agency that can do it for you either, we'll take care of it and install it for you.

 

Can I remove the widget anytime?

Yes, you can remove it whenever you don't want it anymore.

 

How can I remove the widget?

You can remove it easily deleting the Url string we provided you, from the webpage HTML code or the facebook/instagram button you put it when installed it. If you're not able to remove it yourself, get in contact with us and we'll do it for you.

 

Is it necessary for me to configure the widget myself?

No. You don't have to set it up since once it's installed, it is ready to use

 

Who is the owner of customers' data collected with the widget?

If you have signed a Free contract, thefork will be the owner of all data collected. In case of Pro/Pro+ contract otherwise, you'll be the only owner of all data coming through the widget.



Media queries

How to make your widget adapt to different screen types and sizes.

Our reservation engine has a dynamic length, the size and height changes during the reservation process.



screenshot

Widget during the reservation process



In order to avoid a fixed longitude in all cases and to prevent the scroll from appearing, we use Media Queries to adapt it to the different screen sizes of any given device.

Use an id in the iframe:

<iframe class="thefork" src="https://module.lafourchette.com/en_GB/module/56567-a3fd1"></iframe>

Paste the following styles before the </head> tag:

<style type="text/css">

.thefork{
width: 100%;
border:none;
overflow: scroll;
}
/* Media queries widget */
@media only screen and (max-width : 320px) {
    .thefork{
    min-height: 840px;
    }
}
@media only screen and (min-width : 321px) and (max-width : 516px){
    .thefork{
    min-height: 650px;
    }
}
@media only screen and (min-width : 517px) {
    .thefork{
    min-height: 550px;
    }
}
</style>


From now on, the height of the iframe will change depending on the width of the screen and the html block that contains it. The following table shows the relationship of measures.

Screen width Widget height Widget width
Up to 320px 840px 100%
From 321 to 516px 650px 100%
From 517px 550px 100%


Google analytics

You can track widget user behaviour, using your Google Analytics account. The following describes how to set up your account and an example to measure users who have completed a reservation.


  • 1- Go to your Google Analytics account
  • 2- Add the Widget URL to the corresponding property you created to track:

    https://module.lafourchette.com/ o https://module.thefork.com/

    screenshot
  • 3- Find your tracking script:

    screenshot
  • 4- Now go to TheFork Manager Reservations and profile> Booking engine> Customize your engine> Google analytics and paste the script here:

    screenshot
  • 5- To measure reservations in the widget, configure a conversion tunnel with the following parameters:

    Regular expresion: /thank-you

    Step: User -> .*customer.*

    screenshot