CellWall Logo

Surveys

PostHog

Surveys
Needs review
v660c724f
A JavaScript library for deploying and managing user surveys to gather feedback directly on a website or application.
Updated 11/10/2026
https://us-assets.i.posthog.com/static/1.447.9/surveys.js
Overall Score
89

Recorded Observations

3

For this resource version

File Size

140.58 KB

Download size

Load Time

101.62ms

Network latency

Execution Time

54.05ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v660c724fLatest
Span: 1 day
Score: 79
Size: 140.58 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_distinct_id1 year
Used by PostHog to identify a unique user across sessions for analytics and survey targeting.
ph_phc_session_id30 minutes
Used by PostHog to identify a unique session for analytics and survey context.

Local Storage

ph_survey_*
Stores state related to survey display, user interaction, or survey responses temporarily before submission. The asterisk indicates a dynamic key potentially including survey IDs.
ph_feature_flag_*
May store feature flag states related to survey availability or presentation.

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 Size140.58 KB
Load Time101.62ms

Runtime Performance

Execution Time54.05ms
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
3
Is Mirror
No
Network Requests
0
Resource Hash
660c724f40aa601fbb51c15106b46ca32bd77df986b22b5c694e527742e51491

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script facilitates the deployment and management of user surveys created within the PostHog platform. When loaded, it enables the display of survey widgets to targeted users based on defined criteria. The script handles the rendering of survey questions, collection of user responses, and transmission of this data back to PostHog's analytics backend for analysis. It interacts with the DOM to inject survey interfaces and typically leverages existing PostHog user identification to associate survey responses with specific users or sessions. This allows website owners to gather contextual feedback, understand user sentiment, and improve product or service offerings. It operates client-side, making network requests to PostHog's servers to fetch survey configurations and send back collected responses. The script ensures that survey data is accurately captured and integrated with other analytics data within PostHog.

Key Features

Core functionalities and capabilities of this resource

  • User Feedback
  • In-Product Surveys
  • Targeted Surveys
  • Response Collection
  • Data Analysis Integration

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation