CellWall Logo

Surveys

PostHog

Surveys
Needs review
vc9c60402
A script for displaying and collecting user feedback through in-app surveys and prompts.
Updated 11/10/2026
https://us-assets.i.posthog.com/static/1.447.6/surveys.js
Overall Score
89

Recorded Observations

3

For this resource version

File Size

140.58 KB

Download size

Load Time

28.84ms

Network latency

Execution Time

6.55ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vc9c60402Latest
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_distinct_id1 year
Used by PostHog to identify a unique user across sessions for analytics and targeting purposes.
ph_session_id30 minutes
Used by PostHog to identify a user's current session.

Local Storage

ph_persisted_properties
Stores user properties for persistence across sessions, used by PostHog for targeting and data collection.
ph_survey_displayed_*
Used by PostHog to track which surveys have been displayed to a user to prevent repeated showings. The asterisk indicates a dynamic survey ID.

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 Time28.84ms

Runtime Performance

Execution Time6.55ms
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
c9c604020e14c673d829f6988f0d6f0b3a0994a8853f515dc54b0853441ae61f

AI Insights & Alternatives

Description

A comprehensive overview of this resource

PostHog's surveys.js script is designed to enable websites and web applications to gather direct user feedback. It allows the implementation of customizable survey prompts that can appear contextually within the user's journey, either as pop-ups, banners, or embedded elements. The script handles the display logic, user interaction recording (e.g., responses, dismissals), and submission of survey data back to the PostHog platform. This functionality is crucial for product teams to understand user sentiment, identify pain points, and collect insights for product development and improvement, all integrated directly into the user experience.

Key Features

Core functionalities and capabilities of this resource

  • User Surveys
  • In-app Feedback
  • Targeted Prompts
  • Response Collection
  • Survey Customization
  • User Segmentation
  • Contextual Feedback

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation