Skip to content

Ghost Integration

Ghost supports custom code injection, making it straightforward to integrate SEOJuice on both Ghost(Pro) hosted sites and self-hosted installations.

Ghost(Pro) — Hosted Integration

  1. Log into your Ghost admin panel at yoursite.com/ghost
  2. Go to SettingsCode injection
  3. In the Site Footer section, paste the SEOJuice script:
<script type="text/javascript" src="https://cdn.seojuice.io/suggestions.v1.js" defer></script>
  1. Click Save
  2. Add your website in the SEOJuice dashboard

That’s it — SEOJuice will begin crawling your site and generating optimizations.

Self-Hosted Ghost

For self-hosted Ghost installations, you have two options:

Follow the same steps as Ghost(Pro) above. Code injection works identically on self-hosted installations.

Option 2: Theme Editing

If you prefer to add the script directly to your theme:

  1. Open your active theme’s default.hbs file
  2. Add the script before the closing </body> tag:
<script type="text/javascript" src="https://cdn.seojuice.io/suggestions.v1.js" defer></script>
  1. Save and restart Ghost (or re-upload the theme via the admin panel)

No. SEOJuice internal links are delivered via JavaScript injection — they work on any platform that can load a script tag, including Ghost(Pro). You do not need to manually add internal links to your posts.

The script runs when visitors load your pages, injecting contextually relevant internal links in real time. Your Ghost content and templates remain unchanged.

Server-Side Rendering

Ghost(Pro) does not support Cloudflare Workers, so server-side rendering (SSR) is not available for hosted Ghost sites. However, the JavaScript-based approach works perfectly — Google renders JavaScript and treats these links the same as static HTML links.

For self-hosted Ghost behind Cloudflare, you can optionally set up Cloudflare Workers SSR for search engine optimization benefits.

Verify Your Integration

After adding the script:

  1. Visit your site and open browser DevTools (F12)
  2. Go to the Network tab and search for suggestions
  3. You should see a request to cdn.seojuice.io/suggestions.v1.js
  4. Check the SEOJuice dashboard — your site should show as “Connected”

If the integration isn’t detected, see Integration Verification for troubleshooting steps.