Six Flags Qiddiya City
Theme park
24.5903, 46.3337The 3D map needs a network connection to load its tiles.
Everything below works without it.
24.5903° N · 46.3337° Eprototype
A one-page reference build for a destination marketing stack: content authored in AEM, shipped as static HTML on Cloudflare, with experiments decided at the edge and every interaction tracked. Each claim can be checked in the inspector at the bottom of the page.
The brief
“A key objective is to eliminate black-box delivery, retain critical MarTech technical knowledge within Qiddiya, and ensure Qiddiya remains in control of its MarTech platforms, integrations and release processes.”
Role description, Senior Expert – MarTech
So nothing on this page is sealed. It has five layers, and you can open and check each one yourself.
Performance
The numbers on the right come from this page load on this device, read from the browser's own performance APIs. The dials on the left are the budget every deploy has to meet.
These are targets, not results. In the build, CI runs Lighthouse on every deploy, fails below the budget, and writes the real scores here.
Architecture
Five layers, each with one job. Replay a visit to see which layer does the work at each step, or replay a publish to see how a marketer's edit reaches visitors without an engineer.
GET / over HTTP/3 to the nearest Cloudflare data centre.
It reads geo and the visitor cookie, assigns variant A or B, and rewrites the hero in the HTML stream.
It was built from AEM content at deploy. No origin call and no database on the hot path.
Text and layout first. The map library loads on first interaction, so it never blocks the paint.
The data layer emits an XDM-shaped event. Consent decides whether it leaves the page.
POST /collect on the same edge validates the schema and campaign tags, then writes to D1.
Funnel, experiment result and data-quality alerts come from the same store.
Content lives in AEM Edge Delivery. No ticket to engineering.
AEM tells the build hook which path changed.
Content is pulled, rendered to static HTML and checked against the Lighthouse budget.
Only the changed pages are invalidated at the edge.
Same speed as before. Nothing dynamic was added.
| The role asks for | In this demo | With Adobe licences it becomes |
|---|---|---|
| AEM / AEMaaCS, shared components | AEM Edge Delivery Services: documents and blocks | AEMaaCS with Cloud Manager pipelines |
| Adobe Tags, Web SDK, data layer | Adobe Client Data Layer, XDM-shaped events, own /collect | Web SDK sending to the Adobe Edge Network |
| Target: experiments, personalisation | Variant assigned in a Worker before the HTML leaves | Target server-side decisioning |
| CJA: reporting | D1 event store and a small dashboard | Customer Journey Analytics |
| AEP: profiles, consent | Consent-gated anonymous events, no personal data | Experience Platform profiles and audiences |
| CI/CD, automated testing, observability | Lighthouse budgets, Playwright tests that assert tracking, edge logs and alerts | The same, plus Cloud Manager quality gates |
Content · AEM Edge Delivery
The marketing team edits a table in a document. The build turns each row into a card. Point at a row to find its card, or flip the cards to see the markup AEM delivers.
| Cards | |
|---|---|
| Six Flags Qiddiya City | Theme park |
| Aquarabia | Water park |
| Speed Park Track | Motorsport circuit |
Theme park
24.5903, 46.3337Water park
24.5870, 46.3238Motorsport circuit
24.5808, 46.3300Experimentation
The headline at the top of this page is an A/B test. You were assigned a variant on arrival. Switch it here and scroll up to see the other one.
7,386 km away. On your screen in a blink.showing
Qiddiya City, delivered from the edge nearest you.showing
The testing script has to download and run first. Visitors can see the original headline before it swaps, and the swap can shift the layout.
The Worker rewrites the HTML as it streams. The browser only ever receives one headline, so there is nothing to flash or shift.
Analytics · consent
This table is the tracking spec for this page. The last column counts how many times each event has fired since you arrived. Turn consent off and watch the inspector block them.
| Event | Fires when | Key fields | Fired |
|---|---|---|---|
page.view | The page loads | variant, theme | 0 |
section.view | A section reaches the middle of the screen | section | 0 |
map.flight.start | The camera leaves the visitor's city | origin, km | 0 |
map.flight.end | The camera arrives and the pin drops | origin, durationMs | 0 |
map.poi.select | A landmark is chosen | poi | 0 |
experiment.exposure | A variant is shown | experiment, variant | 0 |
experiment.switch | The variant is changed by hand | from, to | 0 |
content.block.render | An AEM block is on the page | block, items | 0 |
cta.click | A button is pressed | id | 0 |
theme.change | The theme is switched | theme | 0 |
consent.update | The consent switch changes | analytics | 0 |
webvitals.report | Three seconds after load | fcp, lcp, cls, ttfb | 0 |
Who built this
I have built digital products for more than ten years. I started as a front-end engineer, moved through UX design and full-stack engineering, and now lead a front-end engineering team. I work across web and native mobile apps.
That mix is why I built this page the way I did: fast by default, measured in the open, and simple for a marketing team to run without asking an engineer.
How it was made. I built this page with an AI coding assistant. I set the brief, made the design and architecture decisions, and reviewed every part in the browser. The assistant wrote most of the code. Ten years of building products is what lets me direct it and tell when the result is wrong.