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 like bk0101)
  • 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)

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>

Live preview