π Installation
Installing the Gleap SDK takes only a few seconds. We do offer the following two installation methods. Code snippet: This method always loads the latest version of Gleap and is suitable for all use cases. npm / yarn: This method allows you to install the Gleap SDK locally and ship it together with your application. This method is usually used with frameworks like Angular, React or Vue.js.- Code snippet
- npm / yarn
Add the following code snippet to the
<head>-tag of your website or web app. Replace API-KEY with your API key. The snippet below will load the Gleap widget asynchronously, to ensure it wonβt affect your page speed.Code snippet
Congrats! You are now all set π Report your first bug by using the feedback
button
π Data region
Gleap stores and processes your data in the region you selected at signup: EU (default) or US. If your project lives in the US region, select the region before initializing the SDK (requires SDK v18.0.0 or newer). EU projects donβt need this call.window.Gleap.setRegion("us"); right before window.Gleap.initialize("API_KEY").
See Data regions for all hosts and details.