If you've created a widget using the widget configurator and would like to distribute the link with specific parameters these can be added by following the steps below;
Get your Widget URL
Go to 'Promote' > 'Widget Configurator'
- Beside the widget used, select the </> icon to 'Get Embed Code'
- Select either the 'Standard' , 'Fixed' or 'Three Month Version'*
- In the window titled 'Export Your Widget' select the URL within the code beginning https://booking.resdiary.com/widget/
- Copy up until the end of the widget ID
*Please note that the Channel code and the Promotion codes only apply to the Standard, Fixed and Three Month widgets
- Your widget URL will then be something like the following;
https://booking.resdiary.com/widget/Standard/venuename/12345
Add default parameters;
Copy the widget URL into your browser or in a text document
Add any of the following parts in blue to the end of the widget URL
NB: For using more than one parameter, separate with '&' and omit the '?'
Parameter | Query String | Example |
Date | ?date=YYYY-MM-DD | https://booking.resdiary.com/widget/Standard/venuename/12345?date=2020-12-31 |
Channel | ?channelcode= | https://booking.resdiary.com/widget/Standard/venuename/12345?channelcode=FACEBOOK |
Time | ?time= | https://booking.resdiary.com/widget/Standard/venuename/12345?time=19:00 |
Party Size | ?partySize= | https://booking.resdiary.com/widget/Standard/venuename/12345?partySize=5 |
Promotion (promotion ID within 'Promote' > 'Promotions') | ?promotionId= | https://booking.resdiary.com/widget/Standard/venuename/12345?promotionId=98765 |
To locate your widget URL, see the guide below;
Widget Configurator | Locating the URL only