Gleap Documentation home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Javascript
Environment
Documentation
API Reference
Website
Helpcenter
Roadmap
Blog
Get Started
Introduction
SDKs
Javascript
Introduction
User identity
Callbacks
AI tools
Replays
Forms
Feedback button
Push notifications
In-app notifications
Audio recording
Console logs
Custom actions
Ticket attributes
Custom data
Track pages
Track events
Tags
Custom URL handler
Network logs
Translations
Widget control
Prefill the widget form
Privacy controls
Cookies
Environment
Content Security Policy (CSP)
Rendering issues
Widget apps
UI components
iOS
Android
ReactNative
Flutter
FlutterFlow
Ionic / Capacitor
Cordova
Server-side event tracking
NodeJS
REST
Guides
Enforce identity verification
Javascript
Environment
Gleap allows you to set the environment. The environment will be displayed along the environment data.
Copy
Gleap
.
setEnvironment
(
"dev"
);
The environment is set to ‘prod’ as default value. Possible values are: “dev” | “staging” | “prod”.
Cookies
Content Security Policy (CSP)
Assistant
Responses are generated using AI and may contain mistakes.