Closed ghost closed 8 years ago
Maybe just doing locale=en-GB is safer? Geo is... dicey
@rayborn,
Lots of news.
common/heartbeat/ui.js
to expose this for the 'real deploy'@rayborn, simpler solution.
if you just want to 'ping home', I think the right thing to do is in your run (after elibility), crib these sorts of lines (from https://github.com/mozilla/self-repair-server/blob/master/src/recipes/heartbeat-by-user-first-impression/index.js#L177-L189 and nearby)
// make and setup flow
let flow = new Flow(local); // create and update
flow.began();
maybePhonehome(flow);
If you do this for some small (known) % of users, right before you pop the message, then you have the denominator for your study :)
New algorithm:
You actually don't need
"You don't actuaally need".... what? I Don't know!
Another strategy is to get the aliveness from telemetry each day.
get_pings
but slower. (but has country)(So to make this a simple as possible)
- config
- sample and rest days. also exports marketing messages array?
- index
- lstore: marketing messages
- shouldRun() :
- checks the lstore (marketing) for restdays
- checks for 'already seen this particular message' ? # gross?
- run()
- NO phone home (use telemetry instead)
- pop the message
- record 'seen' in lstore
I think this is the fastest path to landing and launch.
closed in favor of #180
Population: