Often, selecting a schema.org type to define a web page is pretty straightforward; if there’s price and quantity information, it’s probably a Product; author and date published information? likely an Article. But what about those pages that have many different types of content without a main focus? Enter the CollectionPage. Schema.org defines this type as: “Web page type: Collection page.” This definition, being quite vague, means its use cases are pretty flexible. Here at Schema App, we use the CollectionPage type when a single web page has a collection of things without an implied hierarchy.
What does that mean? When it comes to developing a strategy for your schema markup, understanding the intent of a web page and its place in the site architecture is essential. If a page is mostly intended as an article that contains a small FAQ section, there’s an implied hierarchy that the article is the most important piece of content. So, this would be marked up as an Article containing an FAQPage. If the page is more of a landing page with equally important pieces of content, and links intending to bring users to other parts of the site, there’s a good chance it’s a CollectionPage.
While a CollectionPage isn’t eligible for rich results, it can contain other data items that are. For example, it may contain an Article and an FAQPage while also mentioning a Product, all of which are eligible for rich results. Since the CollectionPage isn’t a Google Feature, it doesn’t have any required or recommended properties. That being said, there are a number of properties available to this type that we recommend using to define your CollectionPage and how it relates to other data items. Your list could vary depending on what features you want to call out and what information is displayed on the page.
- about: What the page is about. This property can connect to any type of Thing, be it a Service, an Organization, or the URL of a Wikipedia page that defines a particular topic.
- hasPart: A strong connector for linking to a CreativeWork that is a part of the collection page. Some subclasses of CreativeWork that are commonly used are Article and FAQPage.
- mentions: A weaker connector that can link to any type of Thing. This is a good property to use when connecting to something that isn’t a CreativeWork such as a Product, Organization or Service.
- author/publisher/creator: The author, publisher, or creator of the collection page. These properties are a good way to connect to an Organization and its associated brand information.
- significantLink: One of the more significant URLs on the page. Typically, these are the non-navigation links that are clicked on the most.
Creating Schema Markup for a CollectionPage in Schema App
Every schema class has a list of properties that can be used to further define its features. Schema App gives you access to all the Schema.org/CollectionPage properties. You can use our recommended list above as a starting point to call out the information listed on your web page. When you login to Schema App, go to your Schema App Editor, search for “Collection Page”, and click Create.
You will be asked to provide a name for this data item, and the URL. This is the URL where your schema markup will be deployed. Schema App will load all of the properties available for CollectionPage according to Schema.org. As previously mentioned, you’ll notice that this type doesn’t have any required properties since requirements are only applied to data items eligible for Google’s Rich Results. We recommend filling in the properties listed above, linking to existing data items, or creating new ones as required. Click Done. Your JSON-LD will be created.
Follow the Step by Step tutorial on how to add schema markup for a CollectionPage.
Here is some sample JSON-LD for the markup from the training video.
The post Creating “CollectionPage” Schema Markup using the Schema App Editor appeared first on Schema App Solutions.