CellWall Logo

Surveys

PostHog

Surveys
Needs review
v91eeba0f
A script for deploying and managing user surveys directly within a web application to gather feedback.
Updated 10/23/2026
https://us-assets.i.posthog.com/static/1.438.19/surveys.js
Overall Score
89

Recorded Observations

11

For this resource version

File Size

109.51 KB

Download size

Load Time

25.98ms

Network latency

Execution Time

5.63ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v91eeba0fLatest
Span: 1 day
Score: 79
Size: 109.51 KB

Exposure & Risks

Security Score

Overall Security79 / 100
Security RatingNeeds review

Risk Assessment

Critical Risks0
Total Observations1

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_distinct_id1 year
Identifies a unique user across sessions for analytics and survey targeting.
ph_session_id30 minutes
Tracks a user's session on the website for analytics and survey state management.
ph_survey_*1 year
Stores the state of specific surveys (e.g., whether a survey has been shown, dismissed, or completed) to prevent repeated displays and manage survey logic.

Local Storage

ph_survey_shown_*
Records which surveys have been shown to the user to manage display frequency and prevent re-showing completed or dismissed surveys.
ph_surveys_completed_*
Stores identifiers for surveys completed by the user to prevent re-display and track completion status.
ph_survey_responses_*
Temporarily stores partial survey responses before submission, in case a user navigates away and returns.

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 Time25.98ms

Runtime Performance

Execution Time5.63ms
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
11
Is Mirror
No
Network Requests
0
Resource Hash
91eeba0f517ae4eb6f6a3b082f3321488e4df77c4292cc0f3d7d4e7e5ab0063a

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script, part of the PostHog platform, is responsible for enabling and managing in-app surveys. It loads survey definitions configured in the PostHog dashboard and displays them to target users based on predefined conditions (e.g., page views, user properties, events). It handles the presentation of survey questions (multiple choice, open text, etc.), collects user responses, and submits them back to the PostHog analytics platform. The script ensures surveys are displayed at appropriate times and manages state to prevent repeat displays or to save partial progress. It operates client-side, interacting with the DOM to render survey widgets and capturing user input. Data collected is sent to PostHog's backend for analysis and reporting.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted distribution
  • Response collection
  • Real-time insights
  • Product improvement
  • Sentiment analysis

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation