Test Partner

WunderGuide Embed — bootstrap test page

A plain HTML page that loads the dev embed bootstrap with a dev instance. Use it to verify the widget mounts cleanly, the iframe loads, and the parent↔iframe bridge fires. Not a real partner.

Embed snippet currently on this page

<script async
  src="https://dev.widget.wg.guide/wunderguide.js"
  data-wg-instance="..."></script>

Two origins: bootstrap loads from dev.widget.wg.guide (the partner contract); the iframe runs at dev.embed.app.wunderguide.com (the SPA implementation).

Pick a pilot from the dropdown or paste a custom emb_... token. URL param ?instance=... is the source of truth; dropdown writes it on reload.

Theme override

Reloads with ?theme=<preset>. Bootstrap forwards to the iframe SPA which renders the named preset INSTEAD of the instance's stored theme. Useful for previewing the Forest Floor palette (Phase 7) on a non-forest pilot or just eyeballing a different look without DB changes.

Active:

Controls

Language override

Reloads this page with ?wg-locale=<tag>. The bootstrap reads it and passes the tag to the iframe SPA. NOTE: if the partner instance has i18n.default_locale set in DB, that wins — clear it on the test instance to use this.

Active:

SPA navigation (parent route changes)

These buttons call history.pushState on the parent page to simulate an in-app navigation. The bootstrap should detect each change and post a wg:nav message to the iframe.

Event log

Waiting for bootstrap…

Bootstrap version:  ·  Instance: