With AnnounceKit, you can send targeted announcements, create targeted popup campaigns, and conduct targeted NPS surveys (and more targeted features coming up!
In this article, we will go through how to setup User Tracking and Segmentation for your project.
Please note that User Tracking & Segmentation are available on the Growth plan.
What is User Tracking & Segmentation?
User Tracking & Segmentation are enabled by implementing specific codes in your widget code.
User Tracking & Segmentation are special, customizable codes that you add to your widgets, which help you with:
Sending targeted posts to specific user groups in your feed and your widget
Sending emails to specific user groups via our Email Boosters
See analytics of specific user groups
Send instant Pop-ups to specific user groups
Send NPS surveys to specific user groups
User Tracking also helps with dropping cookies to your end-user's browsers so that they are not shown specific boosters and widget post notifications more than once.
1) Setting things up
User Tracking
AnnounceKit can monitor your website's users and provide you with information about what they do on your dashboard.
We make sure that users don't see the same notifications when they use different browsers or computers.
To make this work, you need to give each user a unique identifier in the code that embeds the AnnounceKit widget on your site. This identifier should always be the same for the same user.
On the example above, after the widget ID and selector, a USER field has been entered with USER ID, email and name.
When you provide the user ID like in the example above, we take care of the rest and start adding them to your Audience. We recommend including the user's email and name because it helps you get more useful reports about what your users are doing.
Segmentation
Apart from tracking users with their IDs, emails, and names, you can also give us custom information for organizing your users.
You can simply add any extra data you want to use for grouping users within the "data" section of the code.
All of the fields under DATA can be customizable, so feel free to add fields depending on your project and your use-case.
For instance, if you want to distinguish between your paid members and show them different posts, you can specify a property like this for a specific user.
โ
See above, "member_type: "trial_user"
After adding the segmentation code, remember to add it to your project by going to Settings > Segmentation.
Without adding the segmentation fields both in the widget code and dashboard, the users will not be segmented and registered for your project.
2) Getting started using segmentation
You can use the segmentation fields you have created above on the widget code here to target users and create rules within our dashboard.
You can also save these rules as a Segment Group and use them later.
โ
For example, if you have the segmentation field "user_type : free" you can create a segment group named "Free Users" and use that group later.
While creating posts
You'll see the option to add segmentation below the post-creation page, for you to send targeted posts.
Analyzing segmentations
Under Analytics, you can use the saved segmentation rules and analyze specific users within your project.
While creating Popups
You'll see the option to add segmentation below the Popup creation page. This way, you can make sure that Popups are seen by specific users.
While sending NPS Surveys
You'll see the option to add segmentation below the NPS survey settings page.
With this, you can send NPS surveys to specific users and get their responses.
You can also filter responses by groups