Set up Flowsery Analytics on a WordPress site

This guide covers adding Flowsery Analytics tracking to your WordPress website.

  1. Sign in to your WordPress admin dashboard.

  2. Go to Plugins > Add and search for "Flowsery Analytics". Install the plugin.

  3. Open the plugin settings page (under Settings > Flowsery Analytics in the sidebar).

  4. Enter your Website ID (e.g. flid_******) from your Flowsery Analytics website settings, then save.

After a few minutes, pageviews from your WordPress site should start appearing in your Flowsery Analytics dashboard.

Method 2: Manually adding the script (advanced)

This method requires basic PHP and WordPress theme knowledge. Always back up your theme files before editing. Changes may be overwritten by theme updates unless you use a child theme.

  1. In your WordPress admin dashboard, go to Appearance > Theme File Editor.

  2. Select your active theme.

  3. Open the header.php file (Theme Header).

  4. Paste the Flowsery Analytics snippet just before the closing </head> tag:

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

  5. Click Update File.

Confirm everything is working

After applying either method:

  • Navigate to your live site.
  • Open your Flowsery Analytics dashboard and check for incoming pageviews. The first data points may take a couple of minutes to appear.

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