Support/Installation Guides
Installation Guides

Set up Flowsery Analytics on a Ghost CMS site

This guide walks you through adding Flowsery Analytics tracking to your Ghost-powered site.

Inject the snippet with Code Injection

Ghost ships with a built-in Code Injection feature designed for exactly this purpose.

  1. Sign in to your Ghost admin panel

  2. Go to Settings > Code Injection

  3. In the Site Header box, paste the Flowsery Analytics snippet:

HTML
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>

Replace flid_****** with the Website ID from your Flowsery Analytics settings.

  • Click Save

  • Alternative: Editing a custom theme

    If you maintain a custom Ghost theme, you can embed the script directly in default.hbs:

    1. Navigate to Design > Theme Editor
    2. Open default.hbs
    3. Insert the snippet just before the closing </head> tag
    4. Save your changes

    Confirm everything is working

    After applying either method:

    • Navigate to your live site
    • Open your Flowsery Analytics dashboard and check for incoming pageviews
    • Allow a couple of minutes for the first data to appear

    For additional options such as localhost tracking, custom API endpoints, or cross-domain configuration, refer to the script configuration reference.

    Code Injection changes apply to the published site only, not the in-editor preview.