# Ghost

MuxForms on Ghost is an HTML card or custom page template with the embed snippet in content/theme. Allow your Ghost publication URL (ghost.io subdomain or custom domain).

## Ghost

| Method | Use |
| --- | --- |
| Page + HTML card | Quick setup |
| theme/default.hbs | Global script optional |
| Portal | Keep for members; MuxForms for public contact |
| Allowlist | Publication URL |

## Ghost page (HTML card)

```
<div data-form-id="FORM_UUID"></div>
<script src="https://www.muxforms.com/embed.js" defer></script>
```

## routes.yaml static page (optional)

Create a `/contact/` static route in your theme if you want a dedicated template with the embed baked into contact.hbs.

## FAQ

### Ghost members vs contact?

Members use Ghost; general contact uses MuxForms form id.

### Code injection header?

Avoid global script if only one page needs the form.

### Self-hosted Ghost?

Same embed; allowlist your public nginx URL.

### Spam on author pages?

Dedicated /contact page concentrates intake.

---

HTML version: https://www.muxforms.com/docs/ghost
Source: MuxForms (https://www.muxforms.com)
