Home › Free embeddable alerts widget
Free embeddable alerts widget
Show the latest alerts for a city or a country on your own page. It is free, needs no key and updates every 5 minutes. Please keep the "Powered by alerts.live" link that the widget adds below it.
1. One line of code
<script async src="https://alerts.live/embed.js" data-kind="city" data-slug="paris" data-lang="en" data-count="5"></script>data-kind: city or country. data-slug: the last part of the page address, e.g. paris from /en/cities/paris or france from /en/countries/france. data-lang: en, fr, it, de, es, pt or nl. data-count: 1 to 15 alerts. data-theme: dark (default) or light.
2. Without JavaScript
<iframe src="https://alerts.live/widget/cities/paris?lang=en&n=5" width="100%" height="360" style="border:0" loading="lazy" title="alerts.live"></iframe>Then add a visible link to the place page next to it, for example <a href="https://alerts.live/en/cities/paris">Powered by alerts.live</a>.
Live preview
Good to know
- The widget is descriptive, not a safety score. It shows counts and recent alerts with their sources count and confidence.
- Pages with the widget are not affected in search engines: the widget runs in a frame and is marked noindex.
- For raw data use the free API or the Atom feeds:
/feeds/cities/<slug>.xml,/feeds/countries/<slug>.xml.
Descriptive, not a safety score. alerts.live counts and maps events reported by public sources. It does not rate how safe a place is. Informational only, not official: follow local authorities.