
Simply paste your Google Analytics ID in Settings → Portal Settings → Google Analytics and it will automatically start tracking your portal visitors.
Format: Your Google Tag ID should be in the format G-XXXXXXXXX (starts with "G-" followed by uppercase letters and numbers).
Google Analytics automatically tracks the following on your portal pages:
Roadmap (/roadmap)
Changelog (/changelog)
Changelog Entry (/changelog/[id])
Docs (/docs)
Doc Article (/docs/[...urlName])
Requests (/requests)
Portal Login (/portal-login)
Page views on every navigation
Page load events
User engagement metrics (scroll depth, time on page)
Session duration
Bounce rate
All tracking happens automatically once you enable Google Analytics and provide your tag ID. No additional configuration needed.
Productlane uses PostHog for its own product analytics on hosted roadmap pages. When a visitor opens your portal, PostHog sets a cookie to track usage. Because PostHog sets this cookie at the root domain level, it can spread to all subdomains of your domain (for example, if your portal is served on a subdomain of your main product domain).
If you do not want PostHog to set any cookies on your portal, you can turn it off:
Find the Analytics section.
Toggle off PostHog analytics.
Once disabled, no PostHog cookies are created for visitors to your portal. This is useful if your privacy policy or cookie consent setup requires you to keep analytics cookies off certain domains or subdomains.