-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reader: Add the subscription count to all reader track events, if available #3517
Conversation
11a7f24
to
eea15a8
Compare
@@ -77,5 +79,9 @@ export function recordUnfollow( url ) { | |||
} | |||
|
|||
export function recordTrack( eventName, eventProperties ) { | |||
const subCount = SubscriptionStore.getTotalSubscriptions(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One potential risk is that, in #3418, we switch to incrementing totalSubscriptions
in the store and no longer use the subscription count from the first page of the response. This count mean that getTotalSubscriptions() reports 50, 100, 150.... as the subs get loaded in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmmm. We probably need to keep around the total number of subs. Sounds like we'll need to mod #3418.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think we can land this and fixup #3418?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I've added a note to #3418.
🚢 |
Reader: Add the subscription count to all reader track events, if available
This should help us determine how many subscriptions an active user has.