Web Analytics template for 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.
After you've finished the basic setup, expand your analytics with custom events tailored to your specific use cases (eCommerce, marketing, etc.), keeping the same real-time performance.

Get started
Set up the data project
To deploy this template on Tinybird:
git clone https://github.com/tinybirdco/web-analytics-starter-kit
cd web-analytics-starter-kit/tinybird
pnpm install
npx tinybird login
npx tinybird deploy
Track web events
Add this snippet within your site <head> section:
<script
defer
src="https://unpkg.com/@tinybirdco/flock.js"