Embed pages
Last updated
Was this helpful?
Last updated
Was this helpful?
Intended to be used to integrate DevHub pages or location finder into an existing website experience.
With this approach, you can setup a page within your existing Site and CMS and then use the embed code to display your DevHub landing page or microsite.
Generate your embed javascript code - See notes
Create a page on your existing site
Add the embed javascript code to the content area of your blank page
DEVHUB_PAGE_URL - this is the full published URL of your landing page or microsite
Example: https://yourcampaign.yourdomain.com/landing-page/
DEVHUB_PAGE_TITLE - this is the title of your landing page or microsite
Example: Landing Page
This is especially important for ADA accessibility
DEVHUB_PAGE_HOSTNAME - this is just the hosted domain part of your landing page URL (if different)
Example: https://yourcampaign.yourdomain.com