Ghost Integration

Add Text2MySite™ SMS alerts to your Ghost website

Setup time: 3-5 minutes

Ghost makes it easy to add custom code with its built-in features. There are two primary methods for embedding code or widgets.

1
Site-Wide Code Injection
Best method for adding code that needs to appear on every page of your site
Recommended for sitewide widgets

This is the best method for adding code that needs to appear on every page of your site, such as a Google Analytics tracking script, a social media pixel, or a live chat widget.

Step-by-Step Instructions:

  1. From your Ghost admin dashboard, navigate to Settings → Code injection.
  2. You will see two sections: Site Header and Site Footer.
  3. Site Header: Place code here that needs to load early on the page. This is ideal for analytics scripts and external CSS stylesheets.
  4. Site Footer: Place code here that can load later, typically at the very end of the page body. This is a good location for chat widgets or other JavaScript that isn't critical for the initial page load.
  5. After pasting your code, click the Save button in the top right corner. The code will now be live on all pages of your site.
2
Embed Code in a Post or Page
For adding a specific widget to a single piece of content
For specific posts/pages

For adding a specific widget (like a YouTube video, a form, or a Spotify playlist) to a single piece of content, use the HTML card in the editor.

Step-by-Step Instructions:

  1. While editing a post or page, click the plus icon (+) to add a new card.
  2. Scroll down and select the HTML card.
  3. Paste your embed code (e.g., the <iframe> or <script> provided by the widget creator) directly into the card.
  4. The editor will render a preview of the widget.
  5. Once you are finished, save or publish your post.
YouTube Tutorials
Watch step-by-step video guides for adding code to Ghost

Embed A Forum Into Your Ghost Website

Guide for embedding custom content and widgets into Ghost websites

From the channel Website Toolbox • 1 minute 29 seconds

Watch Tutorial

Embed A Chat Room Into Your Ghost Website

Tutorial for embedding interactive widgets and custom code in Ghost

From the channel Website Toolbox • 1 minute 25 seconds

Watch Tutorial