Embed live MapAlerter alerts on your site

Like embedding a tweet or a Facebook post, you can drop a live MapAlerter card — river levels, flood/weather warnings, council alerts — directly into an article. During a storm it keeps updating on its own; readers don't need to leave your page to see the latest reading.

Option A — JS embed (recommended)

Auto-resizes to fit content and lazy-loads so it doesn't slow down the rest of your page.

<div class="mapalerter-embed" data-goid="a1b2c3d4e5f6..." data-site="YOUR_SITE_KEY"></div>
<script async src="https://embed.mapalerter.ie/embed.js"></script>

Option B — plain iframe (no JS)

Use this if your CMS strips <script> tags from article bodies (common on managed newsroom CMSs). Slightly less pretty — fixed height, no auto-resize — but works everywhere an iframe is allowed, the same way a YouTube embed does.

<iframe
  src="https://embed.mapalerter.ie/e.php?id=a1b2c3d4e5f6&site=YOUR_SITE_KEY"
  width="100%" height="420" style="border:0" loading="lazy"
  title="MapAlerter live alert"></iframe>
Getting a site key. Each publisher gets a unique data-site / site value when approved (mkt_embed_sites.site_key) — this is what lets us show you (and us) how your embeds are performing, and it's what we check your domain against before serving content. Email partnerships@mapalerter.ie to get set up; embeds using an unrecognised key will show a "not approved" placeholder instead of live content.

What you'll see in the card

Emoji + headline, category and published time, a short summary, then either a live chart/map (approved interactive partners) or the latest static graphic and map image, a view count once an item passes 100 views, a "Read more" link back to mapalerter.ie, source attribution, and a small MapAlerter watermark linking back to us — the same kind of small, permanent credit you'd see on an embedded tweet or Instagram post.