Embed our live trackers
Put a live tracker in your story: power cuts in your town, UK fuel prices, hosepipe bans or Met Office weather warnings. It is free to use on any site, with the credit line that comes with the code, and it updates itself, so the figure your readers see is the current one, not the one on the day you published.
How to use one
- Pick a tracker, a town for power cuts, and a size: a number card (150px tall), a mini tracker (320px) or a live line (70px) for the body of a story.
- Copy the code and paste it into your article as HTML.
- Keep the credit line under it. That is the only condition.
Every tracker page on PreparedBritain has the same “Embed this” button, already set to that tracker and town.
Embed this
Embed this tracker
Free to use on any site. It updates itself. How it works
SizeCode<iframe src="https://www.preparedbritain.co.uk/embed/power-cuts/uk/card" width="100%" height="150" loading="lazy" title="UK power cuts" style="border:0"></iframe>
<p>Live power cut data: <a href="https://www.preparedbritain.co.uk/trackers/power-cuts">PreparedBritain power cut tracker</a></p>The highlighted line is the credit: please keep it with the tracker. Preview
What it looks like
Live fuel price data: PreparedBritain fuel price tracker
The fuel prices number card, live, with its credit line.
Where the figures come from
- Power cuts
- The electricity network operators' own live feeds (UK Power Networks, Northern Powergrid, National Grid, SSEN, SP Energy Networks and Electricity North West). One for the whole of the UK, and one for each of the towns on our power cut tracker. Town embeds check the network's feed again every 5 minutes while they are on screen.
- Fuel prices
- UK average petrol and diesel prices, and the cheapest listed, from the price files retailers publish under the CMA's road fuel open-data scheme.
- Hosepipe bans
- How many water companies have a ban in force, and which, from the Environment Agency's weekly drought report and the companies' own announcements.
- Weather warnings
- How many Met Office severe weather warnings are in force across the UK, and the highest level, from the Met Office National Severe Weather Warning Service.
Good to know
- Each embed shows the same figures as our public tracker page, with the source’s name and the time of the figures.
- If a source stops answering or its data goes out of date, the embed says the figure is not available right now. It never shows an old number as live.
- The embed sets no cookies and loads no advertising, consent pop-up or tracking scripts. We count views without cookies.
- Links in the embed open the full tracker on PreparedBritain in a new tab.
- Questions, or need a tracker we don’t offer yet? See our press and data page.