Each asset in Cascade CMS has an unique ID, visible in the URL when viewing the asset in the interface. Including a page's ID in the published page source can be useful for things like deep linking to Cascade from Siteimprove reports or other third-party reporting platforms.

You can include page IDs in your templates with a system-region and the $currentPage.identifier.id Velocity method.

For example:

1. Create a new region within the <head> tags of your template(s).

<system-region name="ID"/>

2. Create a Velocity format containing the following and attach it to the region in your template:

<meta name="id" content="${currentPage.identifier.id}"/>

3. Re-publish all pages that use the template(s) to ensure that your page ID <meta> tag gets included the pages on your web server.

Did this answer your question?