Embed Amanda Widgets

Add Amanda's compliance exposure checkers to your website. Free, no account required.

Configure your embed

Quick scan of your tax residency exposure across countries

Choose dark or light mode to match your site.

What the widget does

The travel widget is a multi-step exposure scanner that your visitors can use without leaving your site.

  • Collects home country, nights abroad, and ties
  • Shows exposure level (Low / Medium / High) per country
  • Lists triggers detected
  • Links to full Amanda tracker with prefilled data

No persistence. No accounts. No data stored on your end.

Embed code

<iframe
  src="https://amanda.legal/embed/travel?pit=<YOUR_PIT_TOKEN>&theme=dark"
  width="100%"
  height="700"
  frameborder="0"
  style="border-radius: 12px; max-width: 450px;"
  data-module="travel"
></iframe>

Replace <YOUR_PIT_TOKEN> with your Partner Identity Token from the /partner page.

Auto-resize (optional)

The widget sends postMessage events when its content height changes. Add this script to automatically resize the iframe:

<script>
window.addEventListener("message", (event) => {
  // Verify origin in production
  // if (event.origin !== "https://amanda.legal") return

  const { type, moduleId, height } = event.data || {}

  if (type === "amanda:resize") {
    const iframe = document.querySelector(
      `iframe[data-module="${moduleId}"]`
    )
    if (iframe) {
      iframe.style.height = `${height}px`
    }
  }

  if (type === "amanda:ready") {
    console.log(`Amanda ${moduleId} widget ready`)
  }

  if (type === "amanda:navigate") {
    console.log(`User navigating to: ${event.data.url}`)
  }
})
</script>

PostMessage events

The widget emits these events to the parent window:

amanda:ready

Fired when the widget is fully loaded

amanda:resize

Fired when content height changes. Includes height in pixels.

amanda:navigate

Fired when user clicks to open full tracker. Includes url.

Direct URL

https://amanda.legal/embed/travel?pit=<YOUR_PIT_TOKEN>&theme=dark

You can also link directly to this URL.

Styling

Use the theme parameter to set dark or light mode. If not specified, the widget uses the user's saved preference.

For best results, use a container width of 350-450px. The widget is responsive and works on mobile.

Live preview

dark mode

Select a widget type and theme above