CellWall Logo

Surveys

PostHog

Surveys
Needs review
v315d489d
A JavaScript library for implementing, displaying, and managing in-app user surveys and feedback collection.
Updated 11/2/2026
https://us-assets.i.posthog.com/static/1.444.4/surveys.js
Overall Score
89

Recorded Observations

2

For this resource version

File Size

139.32 KB

Download size

Load Time

39.90ms

Network latency

Execution Time

4.85ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v315d489dLatest
Span: 1 day
Score: 79
Size: 139.32 KB

Exposure & Risks

Security Score

Overall Security79 / 100
Security RatingNeeds review

Risk Assessment

Critical Risks0
Total Observations2

Security Rating

Needs review
Behavioral concerns detected; review and mitigation are 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_session_*30 minutes
Used to identify a user's session and persist session state for PostHog analytics and survey interactions.
ph_phid_*1 year
Used to uniquely identify an individual user across sessions for PostHog analytics and survey responses.
ph_dcd_*1 year
Associated with feature flags or A/B test variations to ensure consistent survey experiences or targeting.

Local Storage

ph_survey_viewed_*
Stores the state of whether a specific survey has been viewed by the user to prevent repeat displays.
ph_survey_answered_*
Stores the state of whether a specific survey has been answered by the user.
ph_feature_flags
Stores active feature flags for the current user, potentially influencing survey visibility or content.
ph_survey_config_*
Stores configuration or cached data for specific surveys.

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 Size139.32 KB
Load Time39.90ms

Runtime Performance

Execution Time4.85ms
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
Recorded Observations
2
Is Mirror
No
Network Requests
0
Resource Hash
315d489d30b9e2f860e08a4e61f2d8b39755d65f1852854fda488915fc87b0f0

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script facilitates the deployment of user surveys directly within web applications. It loads survey definitions, renders them to users based on predefined targeting rules, and captures user responses. It typically uses browser storage (cookies or local storage) to manage the state of surveys, such as preventing users from seeing the same survey multiple times, storing partial responses, or ensuring consistent survey experiences. The collected feedback is then transmitted to PostHog's analytics platform for analysis and product improvement insights. This allows websites to gather direct user opinions and behavioral context without requiring external survey tools.

Key Features

Core functionalities and capabilities of this resource

  • User Surveys
  • Feedback Collection
  • In-App Surveys
  • Targeted Surveys
  • Response Capture
  • Survey State Management

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation