Gh

Beam for Ghost

Add Beam to Ghost in minutes using built-in Code Injection so your publication can track traffic sources and content performance without cookies or consent-banner work.

Get started free Explore live demo

No credit card required and setup in minutes

Install Beam on Ghost

Replace YOUR_SITE_ID with your Beam site ID from the dashboard.

Recommended: Ghost Admin -> Settings -> Code Injection

<!-- Ghost Admin -> Settings -> Code Injection -> Site Header -->
<script
  defer
  src="https://beam.keylightdigital.dev/js/beam.js"
  data-site-id="YOUR_SITE_ID">
</script>

Site Header injection applies Beam to your homepage, post pages, tag archives, and newsletter landing pages without editing theme files.

Theme fallback: add to default.hbs

{{! content/themes/your-theme/default.hbs }}
<!DOCTYPE html>
<html lang="{{@site.locale}}">
  <head>
    {{ghost_head}}
    <script
      defer
      src="https://beam.keylightdigital.dev/js/beam.js"
      data-site-id="YOUR_SITE_ID"></script>
  </head>
  <body>
    {{{body}}}
    {{ghost_foot}}
  </body>
</html>

Use this when your team manages Ghost themes in git and wants tracking changes versioned with the theme.

Verify your Ghost integration

Use this checklist after publish so you know tracking is actually live in production.

  • Publish the change, then open your homepage plus one published post in a private browser window.
  • In Beam dashboard, select Today and confirm both paths appear in Top Pages with source data populated.
  • Create a simple goal (for example `/newsletter/confirm`) and verify Goal summaries + weekly alerts reflect new conversion traffic.

Why Beam works well for Ghost

🍪

No cookie prompts for readers

Ghost publications stay privacy-first by default with no cookie storage or personal identifiers.

🧭

Source clarity for editorial decisions

See which channels and referrers actually drive readership so you can prioritize stories that convert.

🎯

Goals and alerts for newsletter growth

Track key conversion paths and use Beam alerts to catch spikes and drops without monitoring dashboards all day.

📰

Honest scope for publishers

Beam focuses on decision-ready traffic analytics instead of GA-style reporting sprawl and ad-tech complexity.

Ready to add Beam to Ghost?

Start free, validate your first pageview, and then scale when traffic grows.

Related setup guides