Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Getting a bunch of new KPIs ready #1807

Merged
merged 4 commits into from
Jun 26, 2012
Merged

Getting a bunch of new KPIs ready #1807

merged 4 commits into from
Jun 26, 2012

Conversation

shane-tomlinson
Copy link

  • 'number_emails'
  • 'sites_signed_in'
  • 'sites_visited'
  • 'orphaned'
  • 'new_account'
  • 'email_type'

issue #1667
issue #1730

* 'number_emails'
* 'sites_signed_in'
* 'sites_visited'
* 'orphaned'
* 'new_account'
* 'email_type'

issue #1667
issue #1730
@@ -97,6 +107,10 @@ BrowserID.State = (function() {
handleState("new_user", function(msg, info) {
self.newUserEmail = info.email;

// Add new_account to the KPIs *before* the staging occurs allows us to
// know when we are losing users due to the email verification.
mediator.publish("kpi_data", { new_account: true });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Yes, we have to publish data pretty early so we don't have nay blind spots. Good call.

@ozten
Copy link
Contributor

ozten commented Jun 20, 2012

Just one question before r+...

Otherwise, Code looks great. I didn't run locally. I can't find test output on Travis CI.

@@ -95,7 +95,12 @@
timestamp: now,
local_timestamp: now,
lang: "bar",
secret: "Attack at dawn!!!"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sigh.

@lloyd
Copy link
Contributor

lloyd commented Jun 26, 2012

afaict we need one more commit on this PR to address the "new var 'current' instead of 'controller.getCurrent()' here".

I'll re-read, but I can't see any other major issues. I'll add a patch, test and merge in about 2 hrs if there's no response before then.

@lloyd
Copy link
Contributor

lloyd commented Jun 26, 2012

with the last patch, r+ - checking tests and merging..

@lloyd
Copy link
Contributor

lloyd commented Jun 26, 2012

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants