CellWall Logo

Surveys

PostHog

Surveys
monitor Exposure
v25095782
A JavaScript library that enables embedding and managing in-app surveys to gather user feedback and sentiment.
10M+ sites
Updated 7/27/2026
https://us-assets.i.posthog.com/static/surveys.js?v=1.407.3
Exposure Score
92

Popularity

92%

Usage across websites

File Size

95.44 KB

Download size

Load Time

30.25ms

Network latency

Execution Time

13.75ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v25095782Latest
Span: 1 day
Score: 85
Size: 95.44 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
Used by PostHog to identify a unique user across sessions.
ph_session_id30 minutes
Used by PostHog to group events and survey interactions into a single user session.
ph_survey_*Varies (often session-based or short-term)
Used by PostHog to track the state, display, or completion of specific surveys for a user, preventing repeated displays or remembering progress.

Local Storage

ph_survey_seen_ids
Stores a list of survey IDs that the user has already seen or interacted with, to manage display logic.
ph_*
Generic PostHog local storage keys for internal state management, potentially including feature flags or survey display preferences.

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 Size95.44 KB
Load Time30.25ms

Runtime Performance

Execution Time13.75ms
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
4
Is Mirror
No
Network Requests
0
Resource Hash
250957822c929ad13e7905f1812a415779b9ec595e5a8d90489e73e9f648dbf0

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script integrates PostHog's survey functionality directly into a website or application. It allows website owners to display targeted surveys (such as NPS, multiple-choice, or free text) to specific user segments directly within their product or site interface. The script handles the rendering of survey prompts, manages their display logic (e.g., when and to whom a survey should be shown based on user behavior or properties), collects user responses, and securely transmits this feedback data back to the PostHog platform for comprehensive analysis. It interacts with the browser's Document Object Model (DOM) to overlay survey modals or banners without requiring page reloads, providing a seamless user experience. This script ensures that user feedback is captured efficiently and consistently, feeding directly into the broader PostHog analytics suite.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted surveys
  • NPS surveys
  • Customer sentiment analysis
  • Feedback data transmission

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation