CellWall Logo

Surveys

PostHog

Surveys
Needs review
vacc21141
A script for deploying, displaying, and collecting responses from in-app or website surveys.
Updated 10/23/2026
https://us-assets.i.posthog.com/static/1.438.20/surveys.js
Overall Score
89

Recorded Observations

4

For this resource version

File Size

109.51 KB

Download size

Load Time

43.19ms

Network latency

Execution Time

2.98ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vacc21141Latest
Span: 1 day
Score: 79
Size: 109.51 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_*:*1 year
Used for anonymous user identification, session tracking, and storing survey state to prevent repeated displays or track completion.

Local Storage

ph_*:*
Stores user identification, session data, and survey state to manage survey prompts and responses across sessions.

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.51 KB
Load Time43.19ms

Runtime Performance

Execution Time2.98ms
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
acc211412e8172e5c13ed39f4b9b904a5f5ed007bef3a3f20c1ffd02ce8e544b

AI Insights & Alternatives

Description

A comprehensive overview of this resource

The PostHog surveys.js script is designed to enable websites and applications to present interactive surveys to their users directly within the user interface. It handles the logic for triggering surveys based on predefined criteria, displaying various survey formats (e.g., NPS, multiple-choice, open-ended), and capturing user responses. This script facilitates the collection of valuable user feedback without requiring users to navigate away from the current page. The collected data is then sent to the PostHog platform for analysis, helping product teams understand user sentiment, gather insights, and make data-driven decisions about product development and user experience improvements. It typically works by injecting survey UI elements into the host webpage, managing their visibility, and sending user interactions and responses back to PostHog's backend.

Key Features

Core functionalities and capabilities of this resource

  • In-App Surveys
  • User Feedback Collection
  • Targeted Surveys
  • Survey Display Logic
  • Response Capture

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation