CellWall Logo

Surveys

PostHog

User Feedback
monitor Exposure
vf8ea8649
A client-side library for deploying, displaying, and managing in-product surveys to collect user feedback.
10M+ sites
Updated 9/17/2026
https://us-assets.i.posthog.com/static/1.433.10/surveys.js
Exposure Score
89

Popularity

92%

Usage across websites

File Size

101.77 KB

Download size

Load Time

33.64ms

Network latency

Execution Time

2.95ms

Runtime performance

Version Telemetry

Version Timeline

Visual representation of each version's active period

Metrics Over Time

Security score, performance score, and file size trends

0255075100vf8eaNormalized ScoreVersion
Security Score
Performance Score
File Size (KB)

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vf8ea8649Latest
Span: 1 day
Score: 80
Size: 101.77 KB

Exposure & Risks

Security Score

Overall Security80 / 100
Exposure Levelmonitor

Risk Assessment

Critical Risks0
Total Observations2

Exposure Status

Monitor
Moderate behavioral concerns, review and mitigation advised.

Behavioral Concerns

No Known Security Risks

Our telemetry scan did not detect any immediate behavioral security risks for this resource.

Security Observations

Security-related findings from analysis

No security observations recorded for this version

Privacy & Data Flow

Data Collection

Cookies and local storage used by this script

Cookies

ph_*1 year
Used by PostHog to identify unique users across sessions and track their activity, which is essential for targeting surveys and attributing responses. This cookie typically contains a distinct user ID.
ph_survey_seen_*Session to 30 days
Tracks which specific surveys a user has already seen or interacted with, preventing repeated display of the same survey.
ph_survey_answer_in_progress_*Session
May store partial answers or survey progress for a specific survey to allow users to resume or prevent re-asking questions within the same session.

Local Storage

ph_*
Stores various PostHog-related data, such as a distinct user ID or feature flag states, which can influence survey targeting and display.
posthog_survey_state_*
Stores client-side state related to surveys, such as which surveys have been shown to the user or temporary survey answers.

Third-party Connections

External domains this script connects to

No external connections detected

Permissions Required

Browser permissions and capabilities used

storage

Privacy Observations

Privacy-related findings from analysis

No privacy observations recorded for this version

Technical & Performance Analytics

Load Performance

File Size101.77 KB
Load Time33.64ms

Runtime Performance

Execution Time2.95ms
Network Requests0

Impact Assessment

Good
Minimal performance impact on page load

Performance Observations

Performance-related findings from analysis

No performance observations recorded for this version

Global Variables

Variables added to the global scope

extendPostHogWithSurveys

Event Listeners

Events this script listens for

No event listeners detected

Browser API Access

APIs and browser features accessed by this script

localStorage.getItem

Technical Details

Compressed
Yes
CDN Delivery
No
Total Views
2
Is Mirror
No
Network Requests
0
Resource Hash
f8ea864919bf5a54a768015f3bfc339f64c2cfa4903003da895a869c71f67454

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script, `surveys.js`, is a specialized component of the PostHog product analytics platform. Its primary function is to enable the deployment, display, and management of in-product surveys directly within a web application or website. When integrated, it fetches survey configurations from the PostHog backend, ensuring surveys are targeted to specific user segments based on behavioral data and other criteria defined by the website owner. The script handles the rendering of various survey interfaces (e.g., NPS, multiple choice, free text questions), manages the survey's lifecycle including when and how often it's shown to a user, and securely captures user responses. This feedback data is then transmitted back to the PostHog platform for analysis, allowing website administrators to gain contextual insights into user experience, product satisfaction, and feature usage.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted surveys
  • Survey deployment
  • Response tracking
  • Customizable survey UI

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation