CellWall Logo

Surveys

PostHog

User Feedback
monitor Exposure
v31f55a9b
A JavaScript library for displaying and managing in-app surveys, gathering user feedback.
10M+ sites
Updated 9/16/2026
https://us-assets.i.posthog.com/static/1.433.4/surveys.js
Exposure Score
89

Popularity

92%

Usage across websites

File Size

101.52 KB

Download size

Load Time

36.89ms

Network latency

Execution Time

20.05ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v31f55a9bLatest
Span: 2 days
Score: 80
Size: 101.52 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_*1 year (distinct ID), 30 minutes (session ID)
PostHog's primary cookies for user identification and session tracking. They store a distinct ID to track user activity across sessions and a session ID to group events within a single browsing session.
ph_opt_out1 year
Records a user's preference to opt out of PostHog tracking.

Local Storage

ph_*
Stores various PostHog-related configuration and state information, including feature flags, surveys already shown to the user, or other internal state for the PostHog JS client to manage survey presentation and data collection.

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 Size101.52 KB
Load Time36.89ms

Runtime Performance

Execution Time20.05ms
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
21
Is Mirror
No
Network Requests
0
Resource Hash
31f55a9b28b378eb14a9756f0d3b12573368f1a29062fb9cc874df4331eacd7e

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script enables websites to implement and manage in-app surveys powered by PostHog. It handles the display logic, user targeting, and submission of survey responses. When integrated, it detects user interactions and conditions defined in the PostHog platform to trigger specific surveys, collecting valuable feedback directly within the user experience. The script facilitates the presentation of various survey types (e.g., NPS, multiple-choice, open-ended) and ensures that responses are correctly attributed and sent back to the PostHog analytics backend for analysis. It interacts with the PostHog client to manage survey states and prevent repeated displays for the same user or conditions.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted surveys
  • Survey display logic
  • Response submission
  • NPS surveys
  • Multiple-choice surveys

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation