Suporte/Installation Guides
Installation Guides

Set up Flowsery Analytics in a Vercel v0 project

Vercel v0 can add the Flowsery tracking snippet to your app layout.

Step 1: Gather your tracking details

Copy your website ID from Flowsery:

HTML
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>
Text
Please add Flowsery Analytics tracking to my application.
 
Use this script in the root layout or equivalent app shell so pageviews are tracked across the site:
 
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>
 
For a Next.js app:
- use next/script
- load it from the root layout
- keep the defer behavior
- confirm which file you changed

Step 3: Verify the integration

  1. Review the generated code.
  2. Deploy the updated app.
  3. Visit the live site and confirm pageviews appear in Flowsery.

For advanced options such as localhost tracking, custom API endpoints, or cross-domain configuration, see the script configuration reference.