CellWall Logo

Surveys

PostHog

Surveys
Needs review
v9873668a
A JavaScript library for displaying and managing user surveys on a website.
Updated 10/30/2026
https://us-assets.i.posthog.com/static/1.442.1/surveys.js
Overall Score
89

Recorded Observations

10

For this resource version

File Size

109.52 KB

Download size

Load Time

134.95ms

Network latency

Execution Time

7.16ms

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

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

Uptime History

Average response time over time

Version History Details

Detailed information for each version

v9873668aLatest
Span: 1 day
Score: 79
Size: 109.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_survey_*Session or short-term
Used to track the state of displayed surveys and user interaction with them.
ph_survey_answer_*Session
Stores user answers for a survey temporarily before submission.
ph_opt_out1 year
Indicates if a user has opted out of PostHog tracking.
ph_ph_session_id30 minutes
Identifies a user's session for analytics and survey consistency.

Local Storage

ph_survey_shown_*
Records which surveys have been shown to the user to prevent repeat displays. No wildcard is used as a new key is added per survey.
ph_distinct_id
Stores a unique identifier for the user to maintain their identity across sessions. No wildcard is used as it is a constant key.

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 Size109.52 KB
Load Time134.95ms

Runtime Performance

Execution Time7.16ms
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
10
Is Mirror
No
Network Requests
0
Resource Hash
9873668a785e2f6d498f7faca22f5b2cbabc3b031de2fb938b248536804d0e6d

AI Insights & Alternatives

Description

A comprehensive overview of this resource

This script, `surveys.js`, is part of the PostHog suite of product analytics tools. Its primary function is to enable websites to present interactive surveys to their users directly within the application interface. The script operates by detecting predefined triggers or conditions to display survey prompts, collecting user responses, and then transmitting this feedback data back to the PostHog platform. This allows site administrators to gather qualitative insights into user experience, feature satisfaction, and other product-related feedback. It handles the rendering, interaction logic, and data submission for in-app surveys, integrating directly with a website's existing content.

Key Features

Core functionalities and capabilities of this resource

  • User Surveys
  • In-app Feedback
  • Targeted Questionnaires
  • Response Collection
  • Product Feedback

Alternatives

Similar libraries you might consider

Documentation & Resources

Official Documentation