Web Analytics
Real-time analytics dashboard for web data using Tinybird
Build your own web analytics platform using Tinybird's Events API and Endpoints.
Built with privacy and speed as top priorities, this template lets you get real-time metrics in a pre-built dashboard in just a few minutes without any knowledge about Tinybird and extend it with custom events tailored to your specific use cases (eCommerce, marketing, etc.).
1. Set up the project
Fork the GitHub repository and deploy the data project to Tinybird.
Deploy the dashboard to Vercel or use the hosted dashboard at https://analytics.tinybird.co/ using the Workspace dashboard
token.
2. Send events from your site
Copy the snippet and paste it on your site <head>
<scriptdefersrc="https://unpkg.com/@tinybirdco/flock.js"data-token="YOUR_TRACKER_TOKEN"></script>
Use the data-host
attribute to set your Tinybird host URL. Defaults to https://api.tinybird.co/
.
3. Learn more
To learn more about the Web Analytics template, how to customize your events, GDPR and more, check out the README.
4. Support
If you have any questions or need help, please reach out to us on Slack or email.