CellWall Logo

Surveys

PostHog

Surveys
monitor Exposure
v61047319
A JavaScript library for displaying in-app surveys and collecting user feedback directly within a website or application.
10M+ sites
Updated 9/2/2026
https://us-assets.i.posthog.com/static/1.422.5/surveys.js
Exposure Score
92

Popularity

92%

Usage across websites

File Size

100.20 KB

Download size

Load Time

115.96ms

Network latency

Execution Time

2.00ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v61047319Latest
Span: 5 days
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_*:_posthog1 year
Stores a unique identifier for the user to track their activity across sessions and provide personalized experiences within the PostHog platform. The * represents a dynamic project ID.
ph_session_id30 minutes
Identifies the user's current active session.
ph_permanent_session_id2 years
Identifies a user's permanent session for longer-term tracking.

Local Storage

ph_feature_flags
Stores the feature flags that are active for the current user, used to control feature rollouts.
ph_survey_shown_*
Stores a flag indicating which surveys have been shown to the user, to prevent repeated displays of the same survey. The * represents a dynamic survey ID.

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 Time115.96ms

Runtime Performance

Execution Time2.00ms
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
29
Is Mirror
No
Network Requests
0
Resource Hash
6104731912d3951f5dd262310382ecde68fe4c9e7d0ab5e2d3abd4cf958efa72

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is a component of the PostHog platform, specifically designed to enable and manage user surveys. It is responsible for dynamically loading survey configurations, presenting survey questions to users based on predefined targeting logic (e.g., user properties, events, page views), and securely capturing their responses. The script handles the rendering of various survey types (e.g., multiple choice, free text, NPS), manages the user's interaction with the survey interface, and ensures that collected data is transmitted back to the PostHog backend for analysis. It allows website and application owners to gather contextual feedback from their users to understand needs, preferences, and pain points without requiring users to navigate to external survey tools. The script operates by listening for specific triggers or conditions configured in the PostHog dashboard. Once a survey is triggered, it renders the survey widget on the page, collects user input, and sends the responses as events to the PostHog data ingestion API. This integration with PostHog's core analytics allows for deeper insights by correlating survey responses with user behavior data.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • Targeted feedback collection
  • User sentiment analysis
  • NPS surveys
  • Customizable survey questions
  • Response data collection
  • Behavioral survey triggers
  • User segmentation for surveys

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation