CellWall Logo

Surveys

PostHog

Surveys
Needs review
v8894cc88
A JavaScript library designed to display in-app surveys and collect user feedback on websites.
Updated 11/25/2026
https://us-assets.i.posthog.com/static/1.454.2/surveys.js
Overall Score
89

Recorded Observations

9

For this resource version

File Size

146.55 KB

Download size

Load Time

37.59ms

Network latency

Execution Time

17.91ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v8894cc88Latest
Span: 2 days
Score: 79
Size: 146.55 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 by PostHog to store a distinct ID for the user and track their session and events. This ID is essential for correlating survey responses with user behavior.

Local Storage

posthog_distinct_id
Stores the unique identifier for the user to ensure consistent tracking across sessions.
posthog_last_feature_flags
May store the last fetched feature flags, potentially influencing survey display logic or targeting.
posthog:surveys:*
Stores state related to survey display or completion for the current user to prevent repeated displays of already completed surveys.

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 Size146.55 KB
Load Time37.59ms

Runtime Performance

Execution Time17.91ms
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
9
Is Mirror
No
Network Requests
0
Resource Hash
8894cc88c2b770dfd51b83ee42e245d145a66f397753d564331e56d015fb392d

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script enables websites to deploy and manage surveys directly within their user interface. It detects when and where to present surveys based on configured rules (e.g., specific pages, user actions, time on site). When a survey is triggered, the script renders the survey UI, captures user responses, and sends this data back to the PostHog platform for analysis. It allows website owners to gather valuable qualitative feedback to understand user sentiment, improve features, or collect demographic information. It operates by inserting HTML elements into the DOM and listening for user interactions with the survey interface, ensuring that feedback is collected seamlessly and contextually within the user's experience.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted survey delivery
  • Customizable survey forms
  • NPS surveys
  • Sentiment analysis data collection

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation