remove pageviews from PH

This commit is contained in:
Martin McKeaveney 2021-08-24 10:42:22 +01:00
parent e7d784787d
commit 614603a146
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ async function activate() {
if (posthogConfigured) { if (posthogConfigured) {
posthog.init(process.env.POSTHOG_TOKEN, { posthog.init(process.env.POSTHOG_TOKEN, {
autocapture: false, autocapture: false,
capture_pageview: false,
api_host: process.env.POSTHOG_URL, api_host: process.env.POSTHOG_URL,
}) })
posthog.set_config({ persistence: "cookie" }) posthog.set_config({ persistence: "cookie" })