Click the button below to instantly deploy the project to a Tinybird workspace.
Deploy projectThis resources will be created in a new workspace in your Tinybird account.
Starter Kit
In just a few clicks, deploy a fully-functional web analytics dashboard for your site.
Click the button below to instantly deploy the project to a Tinybird workspace.
Deploy projectThis resources will be created in a new workspace in your Tinybird account.
Copy this code snippet, add your tracker token, and paste it into your website <head>
code.
<script defer src="https://unpkg.com/@tinybirdco/flock.js" data-token="YOUR_TRACKER_TOKEN"> </script>
What does this snippet track?
This snippet tracks “page_hit” events out of the box, including very basic information with privacy in mind (timestamp, path, device type, referrer, etc.) and an anonymized session id.
Keep scrolling to learn more about how to introduce custom events and learn about privacy best practices.
Copy the URL below, add your dashboard token, and open it in the browser. That’s it!
https://analytics.tinybird.co/?token={your-dashboard-token}
Expand it
Now, take what you’ve started and make it your own! Add custom event types, build ad-hoc queries, and design the perfect frontend on top of Tinybird APIs.
Define custom event types
The Starter Kit snippet tracks page views by default, but you can easily add custom events (e.g. button clicks, added to cart, etc.) to your website code with just a few lines of JavaScript.
View codeTrack your critical metrics
Tinybird Pipes give you a simple, intuitive way to compose SQL nodes and get exactly the analytics metrics you need.
Read moreBuild the dashboard of your dreams
Fork the dashboard project and create custom components just how you want them. It’s a Next.js project, so you deploy it easily on Vercel.
View repo