weaveworks / service

☁️ Images for Weave Cloud (R) (TM) (C) ☁️
https://cloud.weave.works
2 stars 2 forks source link

Notify marketing about logins, not page loads #2746

Closed ozamosi closed 2 years ago

ozamosi commented 2 years ago

We used to notify marketing about user activity every single time we loaded a page from the server. That's a bit excessive.

Granted, because our sessions were infinite, it's hard to do it any other way. However, we do expire sessions these days - I've stripped out the auto-renew from sessions. Not very often mind you, but it does happen. As marketing isn't all that excited about finding out every single page load, why don't we just notify them whenever a user actually logs in?