Post Impression
Last updated
Last updated
The Post Impression feature in our Amity Social Cloud SDK is a tool designed to collect valuable data regarding post interactions for analytics and reporting purposes. This feature empowers users to gain insights into how their content is performing and who is actively engaging with it. With this feature, users can mark specific posts as viewed and access information about impressions, reach, and the list of users who have viewed each post.
Impressions represent the number of users who viewed the post, while reach represents the number of unique users who viewed the post. Please keep in mind that post impression data won't be updated in real-time but rather almost in real-time.
The SDK provides an ability to mark any post as viewed by invoking markAsViewed()
method within post.analytics
, which will increase the impression and reach count of specific posts. Additionally, users can easily access the impression
and reach
counts directly from the post
object within the SDK.
The SDK provides an ability to query a list of unique users who have viewed the specific post. This functionality is available through invoking getViewedUsers(postId)
within the UserRepository
and will return the live collection of user objects.