CellWall Logo

Surveys

PostHog

Surveys
Needs review
veaa44a7a
A JavaScript library used to create, target, and display in-app or website surveys to collect user feedback.
Updated 11/19/2026
https://us-assets.i.posthog.com/static/1.451.2/surveys.js
Overall Score
89

Recorded Observations

4

For this resource version

File Size

144.79 KB

Download size

Load Time

22.93ms

Network latency

Execution Time

29.32ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

veaa44a7aLatest
Span: 1 day
Score: 79
Size: 144.79 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_*1 year
Used to store a distinct ID for the user and project API key, tracking user activity across sessions.
ph_session_id30 minutes
Identifies a unique user session.
ph_posthog_survey_shown_*Session
Tracks if a specific survey has been shown to the user to prevent repeated displays.

Local Storage

ph_distinct_id
Stores the distinct ID assigned to the current user. This helps identify the user across sessions without relying solely on cookies.
ph_opt_out
Stores the user's preference regarding tracking opt-out.
ph_survey_state_*
Stores the state or progress of active surveys for the user.

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 Size144.79 KB
Load Time22.93ms

Runtime Performance

Execution Time29.32ms
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
4
Is Mirror
No
Network Requests
0
Resource Hash
eaa44a7a70ff8a6ce2424c604f223096b744e29bf269d9f23628cc1950a606e9

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script facilitates the implementation of PostHog's survey functionality on a website. It allows website administrators to define, configure, and launch surveys that appear directly within the user interface, such as pop-ups or embedded forms. The script handles the rendering of survey questions, collection of user responses, and submission of this data back to the PostHog platform for analysis. It manages survey logic, ensures proper targeting based on user segments, and tracks user interactions with the surveys, making it a critical component for gathering qualitative user feedback to inform product development and user experience improvements.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • Website surveys
  • User feedback
  • NPS surveys
  • Targeted surveys
  • Response collection
  • Survey analytics
  • Customizable surveys

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation