Widget Embedding Guide
Add real‑time local illness trends to your website in seconds.
Overview
The Germwatch widget allows councils, GP practices, schools, pharmacies, and community organisations to display real‑time local illness trends directly on their websites.
It is:
- Anonymous - no personal data collected
- Lightweight - loads fast on any device
- Automatic - updates as new reports come in
- Free to embed - no contract required
How to Install the Widget
Copy and paste the following code snippet into your website’s HTML, ideally just before the closing </body> tag.
This will automatically detect the visitor’s region and display the correct local illness trends.
Widget Modes
The widget supports three display modes. Choose the one that best fits your website layout.
Floating Button
A small button appears in the corner of the screen. When clicked, it opens the Germwatch panel.
Use: data-mode="floating"
Popup
Automatically opens the Germwatch panel when the page loads.
Use: data-mode="popup"
Inline
Embeds the widget directly inside your page content.
Use: data-mode="inline"
Usage Licence
The widget is free to embed under the Germwatch Widget Embedding Licence. You may use it on:
- Council and local authority websites
- GP practice and PCN websites
- Schools, colleges, and universities
- Pharmacies and community health organisations
- Local news and public‑interest sites
Full licence terms are available on the Widget Licence page.
Support
If you need help installing the widget or want to discuss partnership opportunities, contact us:
Email: contact@germwatch.co.uk