CellWall Logo

Surveys

PostHog

Surveys
monitor Exposure
vdaf2e5f4
A script for creating, displaying, and managing in-app or website surveys to collect user feedback.
10M+ sites
Updated 10/10/2026
https://us-assets.i.posthog.com/static/1.438.7/surveys.js
Exposure Score
89

Popularity

92%

Usage across websites

File Size

99.28 KB

Download size

Load Time

75.95ms

Network latency

Execution Time

3.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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vdaf2e5f4Latest
Span: 1 day
Score: 80
Size: 99.28 KB

Exposure & Risks

Security Score

Overall Security80 / 100
Exposure Levelmonitor

Risk Assessment

Critical Risks0
Total Observations2

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_phc_distinct_id1 year
Used by PostHog to identify a unique user across sessions and track their activity.
ph_current_session_id30 minutes
Used by PostHog to identify the current user session.
ph_survey_seen_*1 year
Tracks whether a specific user has seen a particular survey to prevent repeated displays.

Local Storage

ph_survey_response_*
May cache survey responses or state locally before submission to ensure data persistence across page loads.

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 Size99.28 KB
Load Time75.95ms

Runtime Performance

Execution Time3.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
Total Views
3
Is Mirror
No
Network Requests
0
Resource Hash
daf2e5f40411a852751012da24e375cb46d349584b7c210f659a8528136a020d

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is part of the PostHog suite, specifically designed to enable the deployment and interaction of surveys on a website or web application. It runs client-side in the user's browser, responsible for fetching survey configurations from the PostHog backend, dynamically rendering the survey UI elements, and capturing user responses. It integrates with the core PostHog analytics platform to associate survey responses with user profiles and events, allowing for targeted surveys and in-depth analysis of feedback. The script handles the logic for when and where surveys are displayed based on predefined criteria, ensuring a seamless feedback collection experience.

Key Features

Core functionalities and capabilities of this resource

  • User surveys
  • In-app feedback
  • Targeted prompts
  • Feedback collection
  • NPS surveys
  • CSAT surveys

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation