Support/Installation Guides
Installation Guides

Set up Flowsery Analytics on a Squarespace site

This guide walks you through adding Flowsery Analytics tracking to your Squarespace website.

Inject the snippet with Code Injection

Squarespace offers a Code Injection feature for adding custom HTML and JavaScript.

  1. Sign in to your Squarespace dashboard

  2. Go to Settings > Advanced > Code Injection

  3. In the Header field, 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: Code Block on individual pages

    You can also embed the snippet on a per-page basis using a Code Block:

    1. Edit the page where you want tracking
    2. Click + to add a new block
    3. Pick Code from the block menu
    4. Paste the Flowsery Analytics tracking snippet
    5. Ensure "Display Source" is unchecked
    6. Save the page

    Confirm everything is working

    After setup:

    • Navigate to your live Squarespace 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.

    Note: Code Injection requires a Squarespace Business plan or higher. Code Blocks are available on all plans, but JavaScript execution needs a Business plan.