https://menu.hooray-seo.com/demo
A CDN to deploy a dynamic menu framework for Hooray Agency's advanced SEO hospitality clients.
Context
Restaurant / Bar menu data is often difficult to manage at scale. As a restaurant/bars menu changes, so should (ideally) how it's rendered and formatted on their website.
To address this, we've built a CDN that delivers a dynamic, conditionally-rendering menu component to a website via a single script tag. This script tag queries a central repository, deploying the menu data.
Features
- Centralized Client Information
- Pre-Mapped Framework
- Conditional Generation
Benefits
- Easier/faster initial deployment via a global
script
tag. - External control of both input objects and the generative framework.
Implementation
- Talk to Jake Labate at Hooray to confirm the hotel brand's data is assembled property and in the repository.
- Add the following script tag to the
head
of the website (globally). Ensure the type
is set to module
.
<script type="module" src="https://menu.hooray-seo.com/script.js?domain="></script>
- Add your unique domain code as the
domain
URL param value the end of the script src
to query the correct data. - Publish the site. Wait / refresh pages as needed. WordPress can take up to an hour to propagate
header.php
files.
Notes
To Do
Credit (or blame)
Also See