Analytics Integration
Choose and integrate an analytics tool to understand your users and grow your business.
About Analytics Tools
Analytics tools help you understand how users interact with your application, identify opportunities for growth, and make data-driven decisions.
DataFast Integration
DataFast is a modern analytics platform that helps you understand your users and grow your business with actionable insights.
Full Documentation
For complete documentation and advanced features, refer to the DataFast documentation . Created by @marc_louvion .
1
Create a DataFast Account
Sign up for a free 14-day trial at datafa.st
Steps:
- Go to datafa.st
- Sign up for a free 14-day trial (no credit card required)
- After signing in, click "Add Website" and enter your domain name
2
Install Tracking Script
Add the tracking script to the <head> section of your website
TypeScript
// app/layout.tsx export default function RootLayout({ children, }: { children: React.ReactNode }) { return ( <html lang="en"> <head> <script defer data-website-id="yourwebsiteid" data-domain="yourdomain.com" src="https://datafa.st/js/script.js" ></script> </head> <body>{children}</body> </html> ) }
You may need to redeploy your site and clear your deployment cache.
3
Check Your Dashboard
Visit your dashboard to see your first analytics data coming in
Note:
It may take a few minutes for the first pageviews to appear.
4
Next Steps
Enhance your analytics setup with additional features
Additional Features:
- Set up revenue attribution to find out which marketing channels are driving your revenue
- Set up custom goals to track any other events on your website
- Proxy the script through your own domain to avoid ad blockers
Why Use Analytics?
- Understand user behavior
- Optimize conversion rates
- Make data-driven decisions
- Find growth opportunities