> ## Documentation Index
> Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript Bridge

> Use the MoEngage JavaScript bridge to interact with the SDK from HTML in-app messages, on-site messaging campaigns, and landing pages.

The JavaScript bridge lets HTML content rendered by MoEngage call back into the SDK, so a template can track an event, handle a click, or dismiss itself. Which bridge you use depends on where the HTML runs.

| Page | What it covers |
| - | - |
| [JavaScript Bridge for HTML In-Apps](https://moengage.com/docs/developer-guide/components-for-sdk/javascript-bridge/javascript-bridge-for-html-in-apps.md) | The bridge API available inside HTML in-app message templates. |
| [JavaScript Bridge for On-Site Messaging and Landing Pages](https://moengage.com/docs/developer-guide/components-for-sdk/javascript-bridge/javascript-bridge-for-on-site-messaging-and-landing-pages.md) | Track events, clicks, dismissals, and form submissions from on-site messaging campaigns and landing pages. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.