Story Impressions
Last updated
Last updated
The Story Impressions feature is a tool designed to collect valuable data regarding story 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 stories as seen and access information about impressions, reach, and the list of users who have viewed each story.
Impressions represent the number of users who viewed the story, while reach represents the number of unique users who viewed the story. Please keep in mind that story impression data won't be updated in real-time but rather almost in real-time.
The 'markAsSeen()
' function in the Social Plus SDK serves to increase the impression and reach count of specific stories while promptly updating the 'isSeen' state of the story.
Info: In order to mark a story as seen, that story must be in sync state "SYNCED".
The 'markLinkAsClicked()
' function in the AmitySDK serves to increase the CTR of specific stories.
Info: In order to mark a story as seen, that story must be in sync state "SYNCED".
The 'queryReachedUsers
()' function within UserRepository
provides the ability to query a list of unique users who have viewed the specific story.
This function requires two parameters: viewedType, and viewedId.
Here's an explanation of the function parameters:
viewedType: Represents the type of content that has reached the users. In this case, it is type ‘STORY’.
viewedId: Corresponds to the ID of the viewed content. In this case, it is storyId.