CellWall Logo

Surveys

PostHog

Surveys
Needs review
v756abbc3
A script enabling the display and collection of in-app surveys to gather user feedback and insights.
Updated 11/26/2026
https://us-assets.i.posthog.com/static/1.454.7/surveys.js
Overall Score
89

Recorded Observations

2

For this resource version

File Size

146.69 KB

Download size

Load Time

22.89ms

Network latency

Execution Time

49.00ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v756abbc3Latest
Span: 1 day
Score: 79
Size: 146.69 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_phc_external_id1 year
Identifies a unique user across sessions for analytics and survey targeting.
ph_phc_session_id30 minutes
Tracks a user's current session on the website for continuous activity analysis.
ph_*Various (typically 30 min to 1 year)
Wildcard for other PostHog related cookies used for tracking user activity, preferences, and managing survey state (e.g., whether a user has seen or dismissed a survey).

Local Storage

ph_survey_*
Stores state related to survey display, user participation, or dismissal to prevent repeated prompts and manage survey progress. These keys often include dynamic identifiers for specific surveys. Wildcard covers various survey-related keys. All localStorage entries are persistent until explicitly cleared.
ph_*
Wildcard for other PostHog related local storage keys used for client-side state management, feature flags, and general analytics logic. All localStorage entries are persistent until explicitly cleared.

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 Size146.69 KB
Load Time22.89ms

Runtime Performance

Execution Time49.00ms
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
756abbc3d3a95719addb289be0c5725763a07d0308adbb5b324238f4d3633b35

AI Insights & Alternatives

Description

A comprehensive overview of this resource

PostHog Surveys allows websites to create and deploy targeted in-app surveys directly to their users to collect qualitative feedback. This script initializes the survey functionality on the client-side, handling the logic for when and where surveys should appear based on predefined triggers and user segmentation configured within the PostHog platform. When a user interacts with a survey, the script manages the display of survey questions, collects the user's responses, and transmits this data back to PostHog's servers. The survey responses are often linked to the user's existing profile and behavioral data within PostHog, enabling businesses to correlate feedback with specific user actions and characteristics for deeper product analytics and decision-making.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted surveys
  • NPS surveys
  • Product research
  • Sentiment analysis
  • Contextual feedback

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation