Publish a campaign page
Build a landing page for a campaign in the page builder, run the pre-publish checks, send it through review and publish it at the URL the campaign will use.
Before you start: an author account (to write) and an editor (to publish); a form if the page should capture leads (see Connect HubSpot to a form).
Steps
- Content → Pages → New page. Give it the title and the slug the campaign will link to, for example
spring-open-day. The page is a draft; nobody outside the admin can see it. - Open the page builder. Add a Hero (eyebrow, title under ten words, one-sentence subtitle, the primary button pointing at the form or the sign-up), then Cards for the three reasons to act, a Text block for the detail, and a Form block with the key of your form. End with a Call to action.
- In the right rail fill the SEO title (10 to 60 characters) and SEO description (50 to 160). Set the UTM-free canonical path; the campaign's
utm_*parameters are captured by the form automatically. - Preview from the action bar. The preview URL (
/_preview/<id>) works for anyone signed in with view-drafts permission, so a colleague can look before review. - Open Checks in the right rail. Fix every error (required fields, image alt text, heading order, broken internal links, banned words from the brand profile); warnings are advice.
- Submit for review. An editor finds it in Review queue, reads it, leaves comments on fields if needed, and chooses Publish. Or, to go live at a set time, Schedule… (see Schedule a post).
Check the result
- The page answers 200 at its path, without a session, and the response carries
X-Spillway-Cache: HITon the second request. /sitemap.xmllists the URL.- A test submission of the form appears under Forms → Submissions with the
utm_campaignyou put on the link. - Revisions shows the published revision; restoring an earlier one creates a new revision rather than losing anything.
Going further
- Blocks reference for every block and its props.
- Launch a campaign with a workstream when the campaign touches several pages and the menu.
- Build a page with AI to draft the first version from a brief.
- Editorial review in the API for the checks and the queue.
Spillway 0.1.0 · Edit this page on GitHub