Learn how to automatically track page visits by topic and use custom tags to send highly relevant Web Push notifications with OneSignal.
Most apps offer a wide range of content, but not every visitor is interested in everything. You can track what topics users explore and how often they return to those topics with OneSignal’s SDK by tagging them.
Example use cases:
By tracking the pages and topics users visit most, you can deliver more personalized messaging—boosting relevance, click-throughs, and satisfaction.
Start by identifying the content categories or topics you want to track. These might be:
sports
, finance
, or entertainment
laptops
, accessories
, or premium
You can tag users based on the number of times they visit a given topic. In the provided examples, we do the following:
Once tags are applied to users, you can target them using:
gaming >= 3
)Example use cases:
console.log()
before launching campaignsCongrats on enriching your user data with contextual information! Additional resources:
Learn how to automatically track page visits by topic and use custom tags to send highly relevant Web Push notifications with OneSignal.
Most apps offer a wide range of content, but not every visitor is interested in everything. You can track what topics users explore and how often they return to those topics with OneSignal’s SDK by tagging them.
Example use cases:
By tracking the pages and topics users visit most, you can deliver more personalized messaging—boosting relevance, click-throughs, and satisfaction.
Start by identifying the content categories or topics you want to track. These might be:
sports
, finance
, or entertainment
laptops
, accessories
, or premium
You can tag users based on the number of times they visit a given topic. In the provided examples, we do the following:
Once tags are applied to users, you can target them using:
gaming >= 3
)Example use cases:
console.log()
before launching campaignsCongrats on enriching your user data with contextual information! Additional resources: