Dynamic Content: Collections & External Connections

Collections are an essential part of customized dynamic content solutions, such as dynamic pages. They function like databases that store lists of items with the same type of information (such as name, location, image, etc.). Collections serve as the data source, enabling the automatic display of updated content on dynamic pages or across your site when using collections on regular pages. While built-in features like blogs also use dynamic content, collections are critical for customized dynamic content solutions.

There are four types of collections (see Collection Types in this article). While collections are essential for dynamic pages, they can also be used on regular pages. For more information, see: Dynamic Pages and Collections for Regular Pages

For example, a collection might contain information about properties available to rent:












Collection Types

You can create many types of collections.


Collection Guidelines

Limitations and Specifications per Collection Type

















Essential Formatting Guidelines

All collections should adhere to the following guidelines:

  • Field Names. The first row of the collection must contain the field names (for example, Number of Rooms).
  • Data Type. Data must be structured correctly based on the data type.
  • URL Field. Must be formatted as a string and only supports lowercase characters, numbers, dashes and underscores. Special characters are not supported.
  • Page Item URL Field (Airtable and Google Sheets). You must select a field from the Page item URL drop-down in the collection to define the URL of each page and what appears in the editor dropdown. If you already have a text field named page_item_url in your collection, it will automatically be mapped to this drop-down. If this field is not defined, page URLs are assigned numbers (Google Sheets) or a random string (Airtable).
  • Page Item URL. It is recommended the URL be in a URL format (for example this-is-an-example). The URL cannot contain special characters.
  • Business Hours. To use Business hours you must use the following specific structure in a text field (field type: business hours): SAT, SUN: 08:00-20:00; MON, FRI: 08:00-12:00;
  • Location. To use Location you must use the following specific structure in a text field (field type: location): String - streetAddress, postalCode, region, city, country 846 Kerry Way, 90017, CA, Los Angeles, US The geo location is calculated from this string, the postal code is not mandatory but if the address is not written correctly (typos for example) we might not find it.
  • Nested Pages (Page Item URL; Airtable and Google Sheets). Collection names and URLs cannot contain nested pages for Airtable or Google Sheets. For example, you cannot use a page item URL with the structure example/subpage. This is supported for Internal Collections.

Available Fields

Below is a table with the data types that are available.

📘

NOTE

For further details and data examples for specific collections types, please see their articles (Internal Collections], Dynamic Content: Google Sheets Collections, and Dynamic Content: Airtable Collections



Data TypeUses and Notes
Plain TextStandard text, can be used for widgets such as title tags and text widgets.
Rich TextRich text contains formatting, such as colors, styles, and links. Please note, rich text will come over differently per collection type
ImageThis type is for a single image only. Please note that the input methods are different per collection type
LinkPages will result in a 404 error if the URL contains a space at the beginning or end.
NumberStandard number. Can be whole numbers or decimals.
Date & TimeThis field can be used for sorting when using the filters or sort functionality in the Connected Data pop-up.
Business HoursPlease note that the input methods are different per collection type.
LocationPlease note that the input methods are different per collection type.
VideoAdded with a link (Vimeo, YouTube, and Dailymotion videos are supported (videos uploaded to the editor, aren't able to be used in collections).
Email-
Phone-
Social AccountsSupported social networks: email, whatsapp, facebook, twitter, instagram, youtube, linkedin, yelp, pinterest, google_my_business, waze, vimeo, snapchat, reddit, tripadvisor, foursquare, rss. Please note that the input methods are different per collection type.
Multi-SelectThis field can be used to filter the displayed collection in widgets, such as photo gallery, list, accordion, and custom widgets that connect to collections. Please note that the input methods are different per collection type.
Inner CollectionOnly available for Airtable collections
Image CollectionOnly available for Internal Collections


Add a Collection to a Site

To add a collection to a site:

  1. In the side panel, click Content.
  2. Click Collections, then click +New Collection.
  3. Select the type of collection you want to create.
  4. When adding a Google Sheet or Airtable collection, define the correct data type for each field.

Dynamic Content: External Collections

External collections can serve as a collection allowing you to create Dynamic Pages as well as enhance regular pages. Using a collection on a regular page is similar to how Connected Data is used with the site's Business Info.

Limitations and Specifications per Collection Type















Connect to an External Database

To connect to an external database:

  1. In the side panel, click Content.
  2. Click Collections.
  3. Click + New Collection, and select External Database.
  4. Type the Endpoint URL and click Fetch collection.
  5. Click Continue.
  6. Type a name for the collection.
  7. Select the correct data type for each field in the collection.
  8. (Optional) Add additional fields.
  9. Click Continue.
  10. Import the collection.

Set External Collection Sync Frequency

By default, external collection data is synced every hour. However, due to API call limits on different platforms, this can quickly deplete available calls and lead to service disruptions. To prevent this, you can set how often your external collection data is synced. This allows you to ensure you do not exceed the amount of API calls your external collection platform allows.

To set how often external collection data is synced:

  1. In the side panel, click Content.
  2. Click Collections and open the desired external collection.
  3. At the top of the external collection under Sync data every, use the arrows to select a number, then use the dropdown menu to select either Hours or Days. By default, Automatic is selected. This is the default and means your collection data is synced every hour.

Note that the sync timing only applies to the current external collection. You must set each external collection sync timing individually.

  1. Click Save.