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:

    <script
      defer
      data-fl-website-id="flid_******"
      data-domain="your_domain.com"
      src="https://analytics.flowsery.com/js/script.js"
    ></script>
    

    Replace flid_****** with the Website ID from your Flowsery Analytics settings. Replace your_domain.com with the root domain of your site.

  4. 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.