How to configure Booking Module Widget filters and advanced settings

How to configure Schedule or Booking Module Widget filters and advanced settings
Estimated Reading Time: 5 minutes
Applies to: All plans

Quick Summary

The Schedule or Booking Module Widget can be configured with additional parameters to control exactly what appears on your website. You can filter the Schedule by specific Activities, locations, or trial products, and define the language displayed in the widget.

These settings allow you to tailor the widget experience for different pages of your website.

Why This Matters

Advanced widget configuration helps you guide new clients toward specific services or promotions.

Instead of displaying your entire Schedule, you can highlight selected Activities, restrict bookings to certain locations, or show only trial sessions designed for new clients.

Step by Step Approach

Step 1: Open the widget integration settings: My Company > Integrations
– This section contains the iframe embed codes used to add booking modules to your website.

Step 2: Identify the filter you want to apply to the widget
– The widget URL can be extended with parameters to control which Activities, locations, or products appear.

Step 3: Add an Activity filter to the widget URL
– Use the parameter listing= followed by the Activity code to display only selected Activities in the widget.

Step 4: Add a location filter to the widget URL
– Use the parameter location= followed by the location code to display Activities from specific locations only.

Step 5: Show only trial Activities for new clients
– Add the parameter products_included=trial to the widget URL to display only trial sessions or introductory products.

Step 6: Configure the widget language
– Add the parameter locale= followed by the language code to display the widget in a specific language such as English (en), Spanish (es), Dutch (nl), or French (fr).

Step 7: Update the iframe code on your website
– After adding the desired parameters to the widget URL, paste the updated iframe code into your website to apply the configuration.

More details

  • Booking module for one or more activities

You can display the booking module for one or more activities in your site. Through this booking module, new customers can then only see the times or sessions for the activities you want to display.

In this case, an activity code is added to the embed code, for example L1234:

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?listing=L1234>" style="width:100%; height:650px; border: none"></iframe>

If you want to display another activity in the booking module, you can add another activity code after the first one, for example L1234,L4321:

<iframe src="<https://jouwbedrijfsnaam.trainin.app/widget/schedule?listing=L1234,L4321>" style="width:100%; height:650px; border: none"></iframe>

  • Booking module for one or more locations

A schedule for a single location, which you can display on your site. You also have the option to set which activities are visible. New customers can only view the times or sessions for this location via this booking module.

In this case, a location code is added to the embed code, for example N1234.

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?location=N1234>" style="width:100%; height:650px; border: none"></iframe>

If you want to display another location in the booking module, you can add another location code after the first one, for example N1234,N4321.

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?location=N1234,N4321>" style="width:100%; height:650px; border: none"></iframe>

Combine with specific activities?

You also have the option to combine a specific location with a specific activity. In this case, you can add the parameter listing=L1234 to the URL with an & (since a parameter is already being used), see example below:

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?location=N1234,N4321&listing=L1234>" style="width:100%; height:650px; border: none"></iframe>


  • Trial products available only via the booking module

You have the option to configure the system so that only trial products, such as a trial lesson, can be purchased when a booking is made. In this case, you can add the parameter products_included=trial to the URL.

Note: if you are already using a parameter in the URL, you can add the parameter with an & (see example below); otherwise, add the parameter with a ?.

Below is an example of the HTML code for the booking module for a specific location where only trial products can be purchased:

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?listing=L1234&products_included=trial>" style="width:100%; height:650px; border: none"></iframe>


  • Setting the Language

By default, the widget’s language is the language you set in company settings.

However, you have the option to set the widget’s language. In this case, you can add the parameter locale=en to the URL’s query string.

You have the following options: Dutch (nl), English (en), and French (fr).

Note: if you are already using a parameter in the URL, you can add the parameter with an & (see example below); otherwise, add the parameter with a ?.

Below is an example of the HTML code for the booking module for a specific location where the language is set to English:

<iframe src="<https://jouwbedrijf.trainin.app/widget/schedule?listing=L1234&locale=en>" style="width:100%; height:650px; border: none"></iframe>

Best Practice

Use different widget configurations on different website pages. For example, your homepage can show trial Activities while your schedule page displays the full Schedule.

Pro Tips

  • Multiple parameters can be combined in the same widget URL to create very specific filters. For example, you can display trial Activities for a specific location or highlight selected classes in a specific language.

  • IMPORTANT: When combining parameters in the widget URL, use ? for the first parameter and & for additional parameters.

Common Questions

Can I display multiple Activities in the widget?
– Yes. You can add multiple Activity codes separated by commas in the listing= parameter.

Can I display Activities from multiple locations?
– Yes. Multiple location codes can be separated by commas in the location= parameter.

Can parameters be combined in the same widget?
– Yes. Activity filters, location filters, trial filters, and language settings can all be combined in one widget configuration.

Do these settings affect the Schedule inside Trainin?
– No. These parameters only control how the widget appears on your website.

Next logical steps

– How to integrate the Web Widget into your personal website
– How to customize your Web Widget appearance