Website Analytics
This guide covers how to set up website and product analytics for a startup in 2026: choosing the stack, installing Google Tag Manager and GA4, writing an event plan, UTM rules, PostHog for product analytics, consent, server-side tracking and dashboards people use.
What should founders know about website analytics?
You need fewer tools and fewer events than you think, named consistently and tied to decisions. Start with the analytics stack and an event tracking plan.
| Tag | Trigger |
|---|---|
| GA4 | All pages |
| generate_lead | Form submit |
| Meta Pixel | Consent |
| Event | Sent to |
|---|---|
| sign_up | GA4, PostHog |
| project_created | PostHog |
| purchase | All |
| Metric | W3 |
|---|---|
| Sign-ups | 310 |
| Activated | 190 |
| New paid | 25 |
Analytics feeds your ad platforms: see the Google Ads, Meta Ads and TikTok Ads guides. For attribution and revenue reporting, see the SaaS Marketing guide.
Where should you start?
Choose the stack, install the tag manager, set up GA4, plan events, tag links, add product analytics, handle consent and report. Each card opens the page for that step.
Three layers.
Avoids: tool sprawlSee the pageOne snippet.
Saves: deploysSee the pageKey events, retention.
Shows: channelsSee the pageOne name per action.
Keeps: trustSee the pageShared rules.
Fixes: attributionSee the pageAfter sign-up.
Shows: activationSee the pageStrictest market.
Reduces: riskSee the pageFew numbers.
Drives: decisionsSee the pageChoose and install
Pick the stack, install Google Tag Manager and set up GA4 for a SaaS site.
Plan and track
An event plan, UTM rules, and product analytics with PostHog.
Trust and report
Consent, server-side tagging and dashboards people actually use.
Every number should lead to a decision.
Pick the questions first, name events once, and report a few numbers every week. Tools come after that.
Frequently asked questions
What analytics tools does a startup need?
Google Tag Manager, GA4 and, once you have users, a product analytics tool such as PostHog.
Is Google Tag Manager the same as Google Analytics?
No. GTM installs and manages tags; GA4 analyses traffic and events.
Should I use PostHog or GA4?
Usually both: GA4 for marketing, PostHog for in-product behaviour.
What is an event tracking plan?
A shared list of every event, its properties and where it is sent.
Do I need a cookie banner for analytics?
If you have visitors in regions such as the EU, UK or Quebec, usually yes.
When do I need server-side tracking?
When paid media spend grows or privacy rules need tighter control over data.
Sources & further reading
Analytics tools change quickly. These sources let you check the dated facts directly. Screens shown are mock-ups for a fictional SaaS company.