The information in this article is relevant only for Pro users at this time. For information about booking websites for Lite users, refer to the Guesty Booking Engine
Google Sheets can be used as a collection for generating dynamic pages. For more information on collections, see Define a collection for dynamic pages.
Note:
Only native Google Sheets are compatible. For example, spreadsheets that are uploaded to Google Drive and not saved as a Google Sheet will return an error if selected.
Google Sheets collections have the following limitations:
|
Google Sheets |
---|---|
Collection number per site |
100 |
Fields (columns) |
100 |
Collection name character limit |
50 |
Field name character limit |
50 |
Page item URL |
350 characters |
Update data |
Automatically |
To create a Google Sheets collection:
- In the left panel, click Content, click Collections, and then click + New Collection.
- Click Google Sheets.
- Click Sign in With Google.
- Sign in to the Google Account that contains the collection.
- Select the Google Sheet you want to use as your collection.
Note:
Only native Google Sheets are compatible. For example, spreadsheets that are uploaded to Google Drive and not saved as a Google Sheet will return an error if selected.
- Click Connect Spreadsheet.
- Define the correct data type for each field.
- Click Done.
Note:
Inner collections are currently not supported with Google Sheets.To add a new column to a Google Sheets collection:
- In the side panel, click Content, then click Collections.
- Click to open the Google Sheets collection.
- Click +Add Field.
- Select the data type from the Data Type drop-down menu and type the name of the field in the Field Name space.
- Click Refresh Data.
The new column appears in the available fields when connecting a widget.
Supported fields
Field type |
Example content |
---|---|
Rich text |
Welcome to my dentist office |
Plain text | welcome to my office |
Number |
10,000 |
Image |
https://www.domain.com/img/name.jpg |
Link |
https://goo.gl/maps/F81HPm4CBTQSTsJ5A Note:Pages will result in a 404 error if the URL contains a space at the beginning or end. |
Video |
|
Phone |
123456789 |
|
|
Location |
streetAddress, postalCode, region, city, country 846 Kerry Way, 90017, CA, Los Angeles, US |
Business hours |
SAT, SUN: 08:00-20:00; THU, FRI: 08:00-12:00; |
Social accounts |
Must be formatted as name: value; name: value; email: my@gmail.com; whatsapp: 123456; facebook: Guesty Website Builder; Note:Supported social networks: email, whatsapp, facebook, twitter, instagram, youtube, linkedin, yelp, pinterest, google_my_business, waze, vimeo, snapchat, reddit, tripadvisor, foursquare, rss. |
Date & time |
The following formats are supported:
When displaying date only, the time will default to 0:00. When displaying time only, the date will default to 1970-01-01. If the date and time are formatted differently than the supported formats, they will not be imported correctly and cannot be used to format or sort. |
Multi select |
In Google Sheets, options must be separated by a semi colon, for example: first option; second option; third option. When you import the collection to the editor, click Options to add the options. Each row in the collection can be assigned one or more of the options you created. Note:This field can be used to filter the displayed collection in widgets, such as photo gallery, list, accordion, and custom widgets that connect to collections. |
The next step is to create or convert a dynamic page so you can connect it to your newly created collection.