
Paste your Google Analytics tag ID under Settings → Portals → Google Analytics, and Google Analytics starts 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 tracks these portal pages:
Roadmap (/roadmap)
Changelog (/changelog)
Changelog Entry (/changelog/[id])
Docs (/docs)
Doc Article (/docs/[...urlName])
Requests (/requests)
Portal Login (/portal-login)
Google Analytics records a page view on every navigation, plus its own standard engagement metrics. Nothing else needs setting up.
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.