Skip to content

surveys.js loading into the project, even when disabled. #2844

@rubixvi

Description

@rubixvi

Bug Description

Posthog Survey is disabled, however it surveys.js is still being loaded into the browser.

How to reproduce

  1. Install posthog with instrumentation for nextjs
  2. Proxy posthog as per doc
  3. Turn off disable survey in the cloud
  4. Open google pagespeed and test.

Debug info

- [X] PostHog Cloud, Debug information:
Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/019b5049-f996-7d32-a419-7877b40e0d0f?t=1763
Admin: http://go/adminOrgUS/019b47e6-998e-0000-1cc6-88cb2b3ecdb5 (project ID 270958)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions