CellWall Logo

Surveys

PostHog

Surveys
Needs review
v9d4e44c9
A JavaScript library enabling websites to display and manage user surveys and collect feedback directly on their pages.
Updated 11/26/2026
https://us-assets.i.posthog.com/static/1.454.4/surveys.js
Overall Score
89

Recorded Observations

2

For this resource version

File Size

146.55 KB

Download size

Load Time

28.04ms

Network latency

Execution Time

41.20ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v9d4e44c9Latest
Span: 2 days
Score: 79
Size: 146.55 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_distinct_id1 year
Used by PostHog to store a unique identifier for each user, allowing for tracking of distinct users across sessions.
ph_session_id30 minutes
Identifies a single user session within PostHog, grouping user events during a continuous period of activity.
ph_survey_*Session or Short-Term (e.g., 90 days)
Cookies used to manage the state of surveys, such as whether a user has seen or responded to a particular survey, or to store temporary survey responses.

Local Storage

ph_survey_*_seen
Stores state information about which surveys have been shown to the user to prevent repeated displays.
ph_survey_*_response
Temporarily stores partial or pending responses for a survey before submission.

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 Size146.55 KB
Load Time28.04ms

Runtime Performance

Execution Time41.20ms
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
2
Is Mirror
No
Network Requests
0
Resource Hash
9d4e44c95520bba5997f60fcf329de1f3db6cb7c702678eb272f7a5fd03e82ec

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script integrates PostHog's survey functionality into a website. It allows site owners to create, target, and deploy various forms of user feedback mechanisms, such as pop-up surveys, embedded widgets, or full-page questionnaires. The script handles the dynamic rendering of survey content based on configurations defined in the PostHog platform, captures user responses, and securely transmits this data back to PostHog for analysis. It operates client-side to evaluate display rules, manage survey states (e.g., preventing repeated displays), and ensure the collection of relevant feedback from targeted user segments. This service is crucial for gathering qualitative data to complement quantitative analytics, helping businesses understand user sentiment and drive product improvements. Key aspects include the ability to customize survey appearance to match branding, support for various question types (e.g., multiple choice, free text, NPS), and the integration of survey responses with existing user profiles and event data within PostHog. The script helps provide a seamless feedback collection experience for users while offering powerful targeting and analysis tools for website administrators.

Key Features

Core functionalities and capabilities of this resource

  • User Surveys
  • In-App Feedback
  • Targeted Surveys
  • Customizable Templates
  • NPS Surveys
  • Feedback Collection
  • Behavioral Triggers

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation