Gleap Documentation home page
Search...
⌘K
Dashboard
Dashboard
Search...
Navigation
Javascript
Tags
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
On this page
Set tags
Javascript
Tags
Gleap allows you to set tags with every feedback item sent from the SDK. To set tags, simply pass an array of Strings to the
setTags
method of the SDK.
Set tags
Set tags to be sent with every feedback item.
Copy
Gleap
.
setTags
([
"Company"
,
"Subscribed"
]);
If you want to update or remove the tags, simply call the method with the updated string array.
Track events
Custom URL handler
Assistant
Responses are generated using AI and may contain mistakes.