CellWall Logo

Surveys

PostHog

User Feedback
monitor Exposure
v10d37a66
A JavaScript library for displaying targeted surveys to website visitors and collecting user feedback.
10M+ sites
Updated 10/8/2026
https://us-assets.i.posthog.com/static/1.438.3/surveys.js
Exposure Score
89

Popularity

92%

Usage across websites

File Size

99.28 KB

Download size

Load Time

842.35ms

Network latency

Execution Time

3.97ms

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

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

Uptime History

Average response time over time

No uptime history data available.

Version History Details

Detailed information for each version

v10d37a66Latest
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_current_session30 minutes
Used by PostHog to store information about the current user session.
ph_persistent1 year
Used by PostHog to store a unique identifier for a user over longer periods.
ph_survey_*Session or short-term
Used to track the state of specific surveys, such as whether a user has seen or completed a survey, to manage display frequency and prevent re-prompts.

Local Storage

ph_survey_shown_*
Stores information about which surveys have been shown to a user to manage display frequency.
ph_survey_last_seen_*
Stores the timestamp of when a user last saw a specific survey, used for rate limiting survey displays.

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 Time842.35ms

Runtime Performance

Execution Time3.97ms
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
10d37a66349e071d0bf3a2900df6c1f90eb9c6f4d11ac851eac216b6e509176a

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is an integral part of the PostHog platform, specifically designed to enable the deployment and management of in-app or on-site surveys. When loaded on a webpage, it allows website administrators to present various types of surveys (e.g., Net Promoter Score, multiple-choice, free-text) to specific segments of their user base or all visitors. The `surveys.js` script handles the client-side logic for rendering survey widgets, managing their display conditions (e.g., when to show, how often, to whom), capturing user responses, and securely transmitting this feedback data back to PostHog's analytics backend. It interacts with the Document Object Model (DOM) to overlay survey elements and might utilize local storage or cookies to maintain survey state, such as whether a user has already seen or completed a particular survey, to ensure a smooth user experience and prevent redundancy. The collected data is then used by the website owner for analytics, product improvement, and customer insights.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • On-site surveys
  • User feedback collection
  • Targeted audience surveys
  • Net Promoter Score (NPS)
  • Customizable survey forms
  • Client-side survey logic
  • Survey display management

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation