Crash Finder Embeds
Use Crash Finder embeds to add the search box and live crash counter to other sites.
Prebuilt region embeds
Embeds are prebuilt for every geography. Use this URL format:
https://crashcountnyc.com/embed/<layer>/<id>/
Layers:
borough(e.g.brooklyn)council(e.g.39)assembly(e.g.23)senate(e.g.18)precinct(e.g.77)community(e.g.1)nta(neighborhood codes likebk0101)citywide(nyc)
Examples:
https://crashcountnyc.com/embed/borough/brooklyn/https://crashcountnyc.com/embed/council/39/https://crashcountnyc.com/embed/nta/bk0101/https://crashcountnyc.com/embed/citywide/nyc/
Copy/paste embed
<iframe
src="https://crashcountnyc.com/embed/council/39/"
width="100%"
height="900"
style="border:0;"
loading="lazy"
title="Crash Finder"></iframe>
If you need a different height, adjust the height attribute. The embed opens full Crash Finder pages in the parent window after a search is selected.
WordPress instructions
WordPress often strips iframe tags for non-admin users. Use one of the options below.
Option A: Custom HTML block (recommended)
- In Gutenberg, add a Custom HTML block and paste the iframe.
- In the Classic Editor, switch to the Text tab and paste the iframe.
- If the iframe disappears after save or preview, an admin must allow
unfiltered_htmlfor your role. - WordPress.com Custom HTML block guide: https://wordpress.com/support/wordpress-editor/blocks/custom-html-block/
Option B: iframe shortcode plugin
- Install the iframe plugin.
- Use this shortcode instead of raw HTML:
[iframe src="https://crashcountnyc.com/embed/council/39/" width="100%" height="900"]
If you do not have admin access, ask an admin to install the plugin (or paste the iframe once) so editors can reuse the shortcode without raw HTML permissions.
Citywide embed example
<iframe
src="https://crashcountnyc.com/embed/citywide/nyc/"
width="100%"
height="900"
style="border:0;"
loading="lazy"
title="Crash Finder (NYC)"></iframe>