Activity Tracking

How to implement activity tracking within your application to enable segmentation based on content views


The PushSDK provides methods that allow you to track the type of content a subscriber is viewing within your application. This information can then be used in the Pushly platform to create cohorts of subscribers that have visited specific URLs or screens with tags based on the number of visits and visit recency.

For example: "Subscribers who have visited a page/screen tagged with "Astrology" at least 4 times in the last 30 days".



To track a URL or screen visited along with its keyword/tag metadata:

PushSDK.UserProfile.trackActivity("myapp://dashboard", ["my-tag"]);

Or if there are no tags to be provided omit the tags parameter:


Last updated