Support/Installation Guides
Installation Guides

Set up Flowsery Analytics in a Bolt application

Bolt builds full-stack apps from AI prompts. Because the platform auto-generates code, you will need to guide Bolt's AI to include the Flowsery Analytics tracking snippet in your project.

Step 1: Collect your tracking details

Open your Flowsery Analytics website settings and copy your Website ID (e.g., "flid_**").

This value appears in your Flowsery Analytics tracking snippet:

HTML
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>
HTML
Flowsery Analytics into my application. Please set up tracking that covers every page and route. Add this analytics snippet to my project:
 
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>
 
Implementation guidelines: - For React/Next.js apps: Add the Script component to the root layout or \_app.js - For vanilla HTML apps: Include in the
 
<head>
  section of all pages - For Vue/Nuxt apps: Add to the app.vue or nuxt.config.js - Ensure the script loads on every route and page - Maintain the
  "defer" attribute for optimal performance Please confirm the implementation method you used and verify that analytics will track across all pages of
  the application. ```bash ## Step 3: Confirm the setup After Bolt applies the changes: 1. **Test with preview** -- Use Bolt's built-in preview to
  inspect your app 2. **Deploy the project** -- Push live via Bolt's deployment options (Netlify, Vercel, etc.) 3. **Check your dashboard** -- Open
  your Flowsery Analytics dashboard and watch for incoming traffic For additional options such as localhost tracking, custom API endpoints, or
  cross-domain configuration, refer to the [script configuration reference](/docs/script-configuration). ## Troubleshooting If analytics data does not
  appear: ```html Can you verify the Flowsery Analytics implementation? Please check: 1. Which framework/structure did you use for my app? 2. Where
  exactly did you place the analytics script? 3. Will it load on all routes and pages? 4. Can you show me the implementation? The script should load:
  https://cdn.flowsery.com/main.js Using my website ID: flid_****** If there's an issue, please fix it using the appropriate method for my app's
  framework.
</head>

Common problems:

  • Tracking only active on the landing page
  • Script not included in the build output
  • Incorrect or missing tracking parameters
  • Bolt has not deployed the most recent changes