Skip to content
DistrictMapperHelp
Browse topics

Embedding DistrictMapper on Your Website

Every public-facing DistrictMapper tool can be embedded directly on your district website — get the codes from the in-app Publish & share page.

What can be embedded?

Every public-facing tool in the DistrictMapper suite has an embed code you can paste into your district website, intranet, or any CMS that accepts HTML. This means families can use the tool directly on your site without visiting districtmapper.com.

The tools with embed codes include:

  • Schools Directory — a filterable list of all your schools
  • Staff directories — publish separate views for school principals, district leaders, or groups you choose
  • Social Directory — a searchable list of your official social media accounts
  • SchoolMap — the interactive, address-searchable boundary map
  • SchoolCompare — side-by-side school comparison
  • ProgramDirectory — searchable magnet, CTE, and choice programs
  • BondTracker — public bond project progress tracker
  • Brand Hub (LogoKit) — your district’s public logo and brand asset library
  • TourBook — the family tour-request and scheduling page
  • CalendarKit — a district-wide or school-specific family calendar

Maintain the school, staff, and social directory records in SchoolBuilder. In Publish & share, select a staff view and copy its own link or snippet. For example, put the principals view on your schools page, a cabinet group on your leadership page, and the superintendent view on its own page. Each placement keeps its selected group.

Where to get the codes

All embed codes live in one place: the Publish & share page (in the left sidebar of the app) at https://app.districtmapper.com/embeds. Each tool has its own collapsible section with ready-to-copy snippets that are already configured for your district — no editing required.

Tip: Always copy your code from the Publish & share page rather than hand-typing it. The code includes your district slug and other settings that update automatically when you change them in the app.

Script vs. iframe — which should I use?

Most tools offer two embed formats:

Format How it works Best for
Script (recommended) A small <script> tag loads the widget and auto-resizes to fit content Most CMSes; cleanest result
Iframe (simple) A standard <iframe> tag at a fixed height CMSes that strip <script> tags; quick testing

Most directory and list scripts adjust the frame height as results change. SchoolMap starts at 600 pixels by default and long school lists and detail cards can scroll inside it. For a fixed-height iframe, check that families can reach the last result on your published page.

Note: TourBook only offers an iframe embed (or a direct link). Linking directly to the tour page (e.g. from a “Schedule a tour” button) is often the best experience for families.

Both embed formats include a “Powered by DistrictMapper” credit link beneath the widget. Whether this link is visible is controlled by your Hide SEO backlink setting in the app — changes apply live to every page using the snippet, with no need to re-copy the code.

In this section

Last updated November 21, 2026