ManifestoTracker Get Started
Developer guide

Embed ManifestoTracker on your website

ManifestoTracker is designed to be simple for newsroom developers and editors to deploy. Approved media partners receive a licensed embed for their authorised domain.

Overview

The media widget can be placed inside an article, election hub, sidebar or dedicated politics page. Clicking the widget opens Manifesto Intelligence in a large modal without sending the reader away from the publisher’s website.

Your licensed embed

After your newsroom is approved, ManifestoTracker provides a publication-specific embed. The production endpoint is not published on this public developer page.

<!-- Example only. Your licensed code is issued after activation. -->
<div class="manifestotracker-widget" data-publication="YOUR-PUBLICATION-ID"></div>
<script src="[LICENSED MANIFESTOTRACKER ENDPOINT]"></script>

Where to place it

Paste your licensed snippet where you want the widget to appear. Common placements include the politics homepage, election articles, explanatory journalism, sidebars and election landing pages.

Responsive behaviour

The widget uses the width supplied by its parent container and maintains a compact square layout. On phones, the Manifesto Intelligence modal expands to use the available viewport.

Licensing & security

Production media embeds should be issued per publication and restricted to approved domains. Hiding a script URL alone is not access control; ManifestoTracker can validate the publication key and requesting domain before serving the widget.

Testing checklist

  • Confirm the widget appears at the expected width.
  • Click Ask the Manifestos and confirm the modal opens.
  • Test desktop, tablet and mobile breakpoints.
  • Verify the modal closes with the close button and Escape key.
  • Confirm the approved production domain is being used.