Unterstützung/Installationsanleitungen
Installationsanleitungen

Flowsery Analytics in einer Bolt-Anwendung einrichten

Bolt erstellt Full-Stack-Apps aus AI-Prompts. Da die Plattform Code automatisch generiert, müssen Sie Bolts AI anweisen, das Flowsery Analytics Tracking-Snippet in Ihr Projekt einzubinden.

Schritt 1: Tracking-Details sammeln

Öffnen Sie Ihre Flowsery Analytics Website-Einstellungen und kopieren Sie Ihre Website-ID (z.B. "flid_**").

Diese Werte erscheinen in Ihrem Flowsery Analytics Tracking-Snippet:

HTML
<script defer data-fl-website-id="flid_******" src="https://cdn.flowsery.com/main.js"></script>

Schritt 2: Diesen Prompt an Bolt senden

Kopieren Sie die folgende Vorlage, tragen Sie Ihre eigenen Werte ein und fügen Sie sie in Bolt ein:

Text
I need to integrate 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.

Schritt 3: Einrichtung bestätigen

Nachdem Bolt die Änderungen übernommen hat:

  1. Mit Vorschau testen -- Verwenden Sie Bolts integrierte Vorschau, um Ihre App zu überprüfen
  2. Projekt bereitstellen -- Veröffentlichen Sie über Bolts Bereitstellungsoptionen (Netlify, Vercel usw.)
  3. Dashboard überprüfen -- Öffnen Sie Ihr Flowsery Analytics Dashboard und achten Sie auf eingehenden Traffic

Für weitere Optionen wie Localhost-Tracking, benutzerdefinierte API-Endpunkte oder Cross-Domain-Konfiguration lesen Sie die Script-Konfigurationsreferenz.

Fehlerbehebung

Wenn keine Analytics-Daten erscheinen:

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

Häufige Probleme:

  • Tracking nur auf der Startseite aktiv
  • Script nicht in der Build-Ausgabe enthalten
  • Falsche oder fehlende Tracking-Parameter
  • Bolt hat die neuesten Änderungen nicht bereitgestellt