Page tags

Page-builder allows you to insert dynamic tags into Text Blocks, your HTML template or JavaScript that will pull in relevant value from that page. This can be useful for SEO, Meta Data, and so on. The tags can display information such as the page notes.

For example if you wanted to change the “Title” of you html template for each page using it you could insert this into your HTML code:

<title>${page~name}</title>

What tags are available?

Tag Value Inserted
${page~name}
The name given to the page in the software
${page~title}
The public title given to the page
${page~notes}
Additional details about the page
${page~number}
The unique numeric identifier of the page
${event~title}
The title of the event
${event~description}
The description of the event
${page~clientRef1}
Custom reference field 1 value
${page~clientRef2}
Custom reference field 2 value
${page~clientRef3}
Custom reference field 3 value
${page~clientRef4}
Custom reference field 4 value
${page~clientRef5}
Custom reference field 5 value
${page~sessionId}
The current page session

Where can I use page tags?

In a text block

You can type these directly into a text block and they will display the tag’s data on page load.

In the HTML template

You can use page tags as “variables” in your HTML templates. A common use is between the title tags:

<title>${page~name}</title>

In JavaScript

You can use JavaScript to get these tags and assign them to variables, for example:

<script>
  var pageName = "${page~name}";
  console.log (pageName);
</script>
Updated on December 11, 2019

Was this article helpful?

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support