CellWall Logo

Surveys

PostHog

User Feedback
Needs review
vad23695b
A script for deploying and managing in-app surveys to collect user feedback and insights.
Updated 11/12/2026
https://us-assets.i.posthog.com/static/1.447.12/surveys.js
Overall Score
89

Recorded Observations

8

For this resource version

File Size

143.52 KB

Download size

Load Time

25.47ms

Network latency

Execution Time

30.76ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

vad23695bLatest
Span: 1 day
Score: 79
Size: 143.52 KB

Exposure & Risks

Security Score

Overall Security79 / 100
Security RatingNeeds review

Risk Assessment

Critical Risks0
Total Observations2

Security Rating

Needs review
Behavioral concerns detected; review and mitigation are 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_*1 year
Used to store a unique anonymous identifier for the user, allowing PostHog to track user activity and associate survey responses.
ph_session_id30 minutes
Used to store the ID of the current user session.

Local Storage

ph_*
Stores client-side state for PostHog features, which may include survey display status or completion information.

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 Size143.52 KB
Load Time25.47ms

Runtime Performance

Execution Time30.76ms
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
Recorded Observations
8
Is Mirror
No
Network Requests
0
Resource Hash
ad23695b0d7219587f6417729a4100d59b85e202c3926088cc202983c0bad88d

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script is responsible for displaying and managing in-app surveys on a website or application. It fetches survey configurations from the PostHog platform, determines when and to which users a survey should be presented based on predefined targeting rules, and renders the survey interface within the host page. The script handles user interactions with the survey, such as collecting responses from various question types (e.g., multiple choice, open text, NPS), and securely transmits this data back to PostHog's backend for analysis. It also manages the client-side state to ensure surveys are displayed appropriately, for example, by preventing repeated showings to the same user after completion or dismissal. The core functionality includes dynamically injecting survey elements, handling form submissions, and integrating with PostHog's analytics to associate survey responses with user profiles and other behavioral data.

Key Features

Core functionalities and capabilities of this resource

  • In-app surveys
  • User feedback collection
  • Targeted survey delivery
  • NPS surveys
  • Customizable survey forms
  • Response data capture

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation