Store a map of user's flow online

Send the following properties inside of the heartbeat:

  • Tab Id: The tab’s ID. Tab IDs are unique within a browser session.
  • openerTabId: The ID of the tab that opened this tab, if any.

By storing this data in datastr, we can gather a map of how certain websites prompt user to go other websites.

Could be useful for:

  • Distractions. See what websites typically got you to go to unproductive websites(especially once apps/websites can be categorized productive/unproductive)
  • Similarly analyzing productivity
  • Could be useful in an ML context

This issue is relevant

Since both are already available in the webextension API it should be trivial to implement, great idea!