How to Add and Edit User Attributes or Data Tags
We walk you through how to add, remove, and edit data tags or user attributes
Data tags are powerful to allow you personalized, timely and triggered messages for your audience. They allow you to accelerate your success with OneSignal. Check out your plan details, for the number of data tags your plan is entitled to.
Once you've integrated OneSignal in your app or website, you can begin to implement tags in the following ways:
Option | Details |
---|---|
SDK Methods - sendTag - sendTags | Recommended: Quickly add, remove, or update tags in almost real time when users perform actions or events on your site or mobile app. |
API Edit device | Server REST API endpoint for directly updating the tags parameter on single devices with player_id or [external_user_id](https://documentation.onesignal.com/docs/external-user-ids) . |
API Edit tags with external user id | Server REST API endpoint for directly updating the tags parameter on single devices with player_id or [external_user_id](https://documentation.onesignal.com/docs/external-user-ids) . |
User Profile page | Quickly add and update data tags from the User Profile page UI in the OneSignal dashboard. |
Web Category Prompt | If you are integrating OneSignal into your website, then you can add data tags by using our category slide-down prompt. This enables you to capture user interest around what type of messages they'd be interested in. |
In-App Messages | When you send in-app messages, you can collect data tags based on user engagement through clicks and our click actions. Additionally, data tags can also be used to trigger an in-app. |
Journeys | Data Tags are automatically added within a Journey workflow, as a user moves through a journey. |
Integrations Overview | Hubspot has a "Edit Tags" workflow option. Segment Integration syncs tags. * Mixpanel syncs first_name and last_name properties as data tags. |
Importing User Attributes or Tags | Upload a CSV of user data through the OneSignal Dashboard with the player_id or external_user_id . This enables you to migrate existing data sources into OneSignal. |
Bulk Updating Data Tags | Learn how to bulk update your tags by exporting your subscriber attributes. |
Updated about 1 month ago