CellWall Logo

Surveys

PostHog

Surveys
Needs review
v55b1d2a8
A JavaScript library for deploying and managing user feedback surveys within web applications.
Updated 10/22/2026
https://us-assets.i.posthog.com/static/1.438.16/surveys.js
Overall Score
89

Recorded Observations

3

For this resource version

File Size

109.47 KB

Download size

Load Time

34.65ms

Network latency

Execution Time

22.45ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v55b1d2a8Latest
Span: 1 day
Score: 79
Size: 109.47 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_*, ph_*: A unique identifier used by PostHog to track individual users and their sessions, allowing survey responses to be associated with specific user profiles.1 year
A unique identifier for a user or session, used by PostHog to track and associate survey responses with a specific user profile and session.
ph_session_id30 minutes
Tracks the current user session, helping to group events and survey interactions within a single visit.

Local Storage

ph_*_distinct_id
Stores the distinct ID used to identify the user for PostHog analytics and survey targeting, ensuring consistent user identification. This key is typically prefixed with the project ID.
ph_*_session_id
Stores the current session ID, similar to the cookie, for consistent session tracking across page loads. This key is typically prefixed with the project ID.
ph_*_surveys_shown
Records which surveys have already been displayed to the user to prevent repeat displays and manage survey fatigue. This key is typically prefixed with the project ID.

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.47 KB
Load Time34.65ms

Runtime Performance

Execution Time22.45ms
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
55b1d2a84c9571693b9ec2705ef08f1b02132e4adf8ca5f89ad067865902f519

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is part of the PostHog suite, specifically designed to enable the deployment of in-app surveys. It allows website owners to collect direct feedback from users by displaying targeted survey widgets. The script initializes the survey functionality, fetches survey configurations from the PostHog backend, determines when and to whom a survey should be shown based on predefined criteria, and renders the survey interface. It captures user responses, which are then sent back to the PostHog platform for analysis. The script ensures that survey display logic, user targeting, and response collection are handled efficiently within the browser environment, contributing to user experience and product development.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted survey display
  • NPS surveys
  • Customizable survey widgets

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation