Before your event goes live, work through this checklist in order. Each step ensures the map, tracking, hours, and analytics are all wired up correctly. Missing any single step can leave tracking silent, the stats page empty, or the HTML still carrying stale config values.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/samgutentag/sbburgerweek/llms.txt
Use this file to discover all available pages before exploring further.
Activation sequence
Finalize config.js
Open
config.js and confirm every field is correct. Pay special attention to:trackUrl— your deployed Cloudflare Worker URL (e.g.https://sbburritoweek-track.YOUR_SUBDOMAIN.workers.dev)cfAnalyticsToken— your Cloudflare Web Analytics tokeneventNameandeventDates— shown in the header and OG tagsdataLiveDate— ISO date on whichdata-YYYY.js(full menu details) replacesdata.js(skeleton)eventStartDateandeventEndDate— drive analytics filters and the concluded banner
Run apply-theme.py
Regenerate all derived files from your updated This updates
config.js:index.html, stats/index.html, embed/map/index.html, og-image.svg, og-image.png, CNAME, README.md, the Worker source, and both snapshot workflows. Run it every time you change config.js.Populate data-YYYY.js
Replace the skeleton entries in An empty
data-YYYY.js (where YYYY is your event year) with full restaurant records — complete addresses, coordinates, map links, contact info, and menuItems arrays with names and descriptions.menuItems: [] shows “Details coming soon!” in the popup. A description: null on an individual item shows “More details coming soon!” for that item only.Uncomment cron schedules in workflow files
Open Both workflows also support manual dispatch from the Actions tab at any time.
.github/workflows/fetch-hours.yml and .github/workflows/snapshot-tracking.yml. Uncomment the schedule: block in each file and update the cron date ranges to match your event window:Enable Worker writes in workers/track/index.js
In the POST handler of
workers/track/index.js, remove the early return guard (added when the previous event was wound down) and uncomment the writeDataPoint call. This is what actually records tracking events to Cloudflare Analytics Engine.Deploy the Worker
From the Wrangler prints the live Worker URL. Confirm it matches the
workers/track directory, deploy to Cloudflare:trackUrl you set in config.js.Commit and push everything
Stage all changed files — including the generated HTML files, GitHub Pages deploys automatically within a minute or two.
og-image.png, CNAME, updated workflow files, and the Worker — then push to your main branch:Pre-launch verification
After the deploy finishes, check each item:- Map loads — visit your live URL and confirm the map renders with all restaurant markers visible
- Popups open — click a marker; the popup should show the restaurant name, address, and menu items
- Filters work — tap each area and dietary filter to confirm the marker list updates correctly
/statsis accessible — the stats dashboard should load and start showing data once events accumulate- Tracking fires — open the map, click a restaurant popup, then check a second terminal running
wrangler tail; you should see the POST request log hours.jsonloaded — if you set up the hours feature, open a popup and confirm today’s hours appear; no error in the browser console- OG image renders — paste your URL into a social share preview tool (e.g. opengraph.xyz) and confirm the correct event name and dates appear on the image