CellWall Logo

Surveys

PostHog

User Feedback
Needs review
v48678b41
A JavaScript library that enables the deployment and management of in-app surveys to collect user feedback.
Updated 10/30/2026
https://us-assets.i.posthog.com/static/1.443.0/surveys.js
Overall Score
89

Recorded Observations

3

For this resource version

File Size

109.52 KB

Download size

Load Time

28.70ms

Network latency

Execution Time

4.15ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v48678b41Latest
Span: 1 day
Score: 79
Size: 109.52 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_session1 day
Used to maintain a user's session and track user activity within a single session.
ph_phc_anon_id1 year
Used to identify anonymous users across sessions for consistent tracking.
ph_phc_id1 year
Used to identify known, authenticated users across sessions.

Local Storage

posthog-js-*:*:distinct_id
Stores the distinct ID of the user for identification purposes.
posthog-js-*:*:anonymous_id
Stores the anonymous ID of the user for identification purposes.
posthog-js-*:*:feature-flags
Stores the state of feature flags for the current user, which may influence survey display logic.
posthog-js-*:*:surveys-shown
Records which surveys have been shown to the user to prevent repeat displays.

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 Size109.52 KB
Load Time28.70ms

Runtime Performance

Execution Time4.15ms
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
48678b41d31a1302493028b21d1e9c1a79f14439df5ede555879bb57cad0d5af

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is a component of the PostHog platform, specifically designed to handle in-app surveys. When integrated into a website, it allows administrators to create, target, and display various types of surveys (e.g., NPS, free-text, multiple-choice) directly within the user interface. The script is responsible for rendering the survey widgets, capturing user responses, and sending this data back to PostHog's backend for aggregation and analysis. It ensures that surveys are displayed according to defined logic, such as targeting specific user segments or controlling frequency, without requiring additional page loads. It typically interacts with other PostHog scripts to leverage existing user identification and session data, ensuring consistent tracking and accurate survey targeting.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • NPS surveys
  • Custom survey creation
  • Survey targeting
  • Response capture

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation