- Convert MDX CodeBlock components to standard markdown code fences - Add rehype-mdx-code-props to pass filename meta to code components - Custom pre/code MDX components map fences to CodeBlock - Add brand color badges (product + category) matching /learn layout - Match prose styling: orange inline code, orange links, white strong - Remove brand color background glow (not in /learn)
30 lines
791 B
Plaintext
30 lines
791 B
Plaintext
---
|
|
title: "Ghost"
|
|
description: "Add Pulse analytics to your Ghost blog via Code Injection settings."
|
|
category: "cms"
|
|
brandColor: "#15171A"
|
|
officialUrl: "https://ghost.org/docs"
|
|
relatedIds: ["wordpress", "blogger"]
|
|
date: "2026-03-28"
|
|
---
|
|
|
|
Use Ghost's built-in Code Injection feature to add the Pulse script — no theme editing required.
|
|
|
|
---
|
|
|
|
## Add via Code Injection
|
|
|
|
Go to **Settings -> Code injection -> Site Header** and paste the Pulse script.
|
|
|
|
```html filename="Settings -> Code injection -> Site Header"
|
|
<script
|
|
defer
|
|
data-domain="your-site.com"
|
|
src="https://pulse.ciphera.net/script.js"
|
|
></script>
|
|
```
|
|
|
|
Alternatively, you can add the script directly to your theme's `default.hbs` template file.
|
|
|
|
For more details, see the [Ghost themes docs](https://ghost.org/docs/themes/).
|