CellWall Logo

Surveys

PostHog

Surveys
monitor Exposure
ve3ad29d5
A JavaScript library that enables the display and collection of in-app and website surveys to gather user feedback.
10M+ sites
Updated 9/3/2026
https://us-assets.i.posthog.com/static/1.425.1/surveys.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

100.20 KB

Download size

Load Time

125.55ms

Network latency

Execution Time

2.35ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

ve3ad29d5Latest
Span: 1 day
Score: 85
Size: 100.20 KB

Exposure & Risks

Security Score

Overall Security85 / 100
Exposure Levelmonitor

Risk Assessment

Critical Risks0
Total Observations1

Exposure Status

Monitor
Moderate behavioral concerns, review and mitigation 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 current session for analytics and survey state management.
ph_survey_shown_*1 year
Stores whether a specific survey has been shown to a user to prevent repeated displays.

Local Storage

posthog:ph_props
Stores 'super properties' that are sent with every event, including survey responses.
posthog:survey_*
Stores state information related to active surveys, such as survey progress or dismissals.

Third-party Connections

External domains this script connects to

No external connections detected

Permissions Required

Browser permissions and capabilities used

No special browser permissions required.

Privacy Observations

Privacy-related findings from analysis

No privacy observations recorded for this version

Technical & Performance Analytics

Load Performance

File Size100.20 KB
Load Time125.55ms

Runtime Performance

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

No API access detected

Technical Details

Compressed
Yes
CDN Delivery
No
Total Views
16
Is Mirror
No
Network Requests
0
Resource Hash
e3ad29d53e6a59557cd654ab04b8eb808876931a159705bc7d079639bc297179

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is part of the PostHog platform, specifically designed to power its survey feature. When integrated into a website, it allows administrators to create and deploy targeted surveys to collect feedback directly from users. The script monitors user behavior, page views, or specific events to trigger surveys at opportune moments. It handles the rendering of survey forms, manages user interactions with the survey, and securely transmits the collected responses back to the PostHog backend for analysis. The surveys can be customized in appearance and logic, supporting various question types and conditional display rules. The script operates client-side, interacting with the DOM to display survey modals or embedded forms. It captures user input from these forms and bundles it with relevant user and session data (e.g., distinct user ID, session ID, referrer) before sending it to PostHog's data ingestion endpoints. This enables product teams to understand user sentiment, identify pain points, and gather insights for product improvement based on real-time feedback.

Key Features

Core functionalities and capabilities of this resource

  • User Surveys
  • In-App Feedback
  • Website Surveys
  • Customizable Questions
  • Behavioral Triggering
  • NPS Surveys
  • Product Feedback
  • Data Collection

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation