CellWall Logo

Surveys

PostHog

Surveys
Needs review
v5d829a41
A JavaScript library for displaying and managing in-app user surveys.
Updated 11/5/2026
https://us-assets.i.posthog.com/static/1.446.0/surveys.js
Overall Score
89

Recorded Observations

3

For this resource version

File Size

140.60 KB

Download size

Load Time

55.27ms

Network latency

Execution Time

46.77ms

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

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

Uptime History

Average response time over time

No uptime history data available.

Version History Details

Detailed information for each version

v5d829a41Latest
Span: 1 day
Score: 79
Size: 140.60 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_*:_posthog1 year
Used by PostHog to identify unique users, sessions, and store survey state or preferences for a specific project. This helps in ensuring surveys are not shown repeatedly and responses are linked to the correct user.

Local Storage

ph_*:_posthog
Used by PostHog to store information about the user's session, feature flags, or survey state to ensure consistent experience across page loads.

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.60 KB
Load Time55.27ms

Runtime Performance

Execution Time46.77ms
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
5d829a415b6e671b4b0b2c85a382793a7b661b5cdd1f6a505dcd56ba8d399719

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is part of the PostHog platform and is specifically designed to handle user surveys. It enables websites to define, target, and display surveys directly within their application or website. When integrated, the script loads survey configurations, determines if a user qualifies for a survey based on defined criteria (e.g., user properties, events), and renders the survey interface. It then collects user responses and transmits them back to the PostHog analytics backend for analysis. This allows product teams to gather direct feedback from users without requiring them to leave the application. The script operates by listening for specific user behaviors or page loads that trigger survey display. It manages the survey's lifecycle, from presentation to submission, and ensures that data is captured accurately. It typically works in conjunction with the main PostHog analytics script to leverage existing user data for precise survey targeting and to link survey responses with user profiles and behavior.

Key Features

Core functionalities and capabilities of this resource

  • In-app Surveys
  • User Feedback
  • Targeted Surveys
  • Survey Response Collection
  • Product Feedback
  • NPS Surveys

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation