← All platforms
Installation Guide · Flutter Web
How to Add Agent Analytics to Your Website
One script captures what visitors browse. That becomes memory your analytics can understand. And agents like Jack turn it into actions — recovery emails, demand segments, conversion insights.
Install on Flutter Web
💙
Flutter Web
Flutter Web renders inside an index.html file. Add the script there.
Medium·3 min·1 method
web/index.html
Add the script to Flutter Web's HTML template.
1
Open
web/index.htmlThis is in the web folder of your Flutter project.
2
Find the
<head> sectionThe <head> section contains meta tags and the Flutter engine script.
3
Paste the tracking script inside the tag
Add it near the top for earliest loading.
Paste this
<script async src="https://analytics.tradly.dev/tracker.js" data-server="https://analytics.tradly.dev" data-project="marketplace"></script>4
Rebuild your Flutter Web app
Run flutter build web to rebuild, or hot reload if in debug mode.
Troubleshooting (3 common issues)
- →Flutter Web's index.html is in the web/ folder, not the root
- →After building, the script will be included in the output/web/ folder
- →If using Flutter Web with canvasKit renderer, the script still works the same way
Need help? Contact support@tradly.dev or check our FAQ.
Last updated: January 2025