We used to have EventLogging for impressions (views) of notifications and clicks on notification links, but that went away in the notification popup rewrite.
Description
Details
Related Objects
- Mentioned In
- T113626: Measure the number of different wikis from which users have unread notifications
rECHO3e00d496c391: Follow-up f9e8c5057: fix JS error
rMWf4090b84a7e5: Updated mediawiki/core Project: mediawiki/extensions/Echo…
rECHO3e40b7769746: Follow-up f9e8c5057: fix JS error
rMWd98592b62950: Updated mediawiki/core Project: mediawiki/extensions/Echo…
rECHO983c7a246381: Follow-up f9e8c5057: fix JS error
rMEXTd94e4a56d775: Updated mediawiki/extensions Project: mediawiki/extensions/Echo…
rMWbea7abba3a96: Updated mediawiki/core Project: mediawiki/extensions/Echo…
rMW6220b9fff0b4: Updated mediawiki/core Project: mediawiki/extensions/Echo…
rECHO3d60d5749ffb: Log notification impressions and clicks
rECHO6e105a92df18: Log notification impressions and clicks
rMEXT077ce5137dfa: Updated mediawiki/extensions Project: mediawiki/extensions/Echo…
rECHOf9e8c5057cc6: Log notification impressions and clicks - Mentioned Here
- rECHOf9e8c5057cc6: Log notification impressions and clicks
Event Timeline
Change 244057 had a related patch set uploaded (by Catrope):
Log notification impressions and clicks
Change 244079 had a related patch set uploaded (by Jforrester):
Log notification impressions and clicks
Change 244083 had a related patch set uploaded (by Jforrester):
Log notification impressions and clicks
Change 244097 had a related patch set uploaded (by Catrope):
Follow-up f9e8c5057: fix JS error
Change 244098 had a related patch set uploaded (by Catrope):
Follow-up f9e8c5057: fix JS error
Change 244099 had a related patch set uploaded (by Catrope):
Follow-up f9e8c5057: fix JS error
That would be because it was causing JS errors and breaking the notification popup for everybody. Sorry about that :S .
How about now?
research@s3-analytics-slave [log]> select distinct(event_action) from EchoInteraction_5782287 where timestamp between '20151002' and '20151006'; Empty set (0.00 sec)
research@s3-analytics-slave [log]> select distinct(event_action) from EchoInteraction_5782287 where timestamp between '20151003' and '20151007'; +-------------------------+ | event_action | +-------------------------+ | ui-badge-link-click | | notification-impression | | notification-link-click | +-------------------------+ 3 rows in set (0.00 sec)
@Catrope, when do you expect this to be in production? I'm still not seeing any events arrive in the database.
SELECT LEFT( timestamp, 10 ) as "hour", COUNT(*) FROM EchoInteraction_5782287 WHERE timestamp >= "20151007000000" GROUP BY hour; No error; 0 rows affected, taking 82.4 ms
Moving back to development - event_action were recorded only on Oct06:
research@s3-analytics-slave [log]> SELECT event_action, timestamp, count(*) FROM EchoInteraction_5782287 where timestamp>'20151001' GROUP BY event_action; +-------------------------+----------------+----------+ | event_action | timestamp | count(*) | +-------------------------+----------------+----------+ | notification-impression | 20151001131518 | 129 | | notification-link-click | 20151006071947 | 2 | | ui-badge-link-click | 20151006071934 | 4 | +-------------------------+----------------+----------+ 3 rows in set (0.00 sec)
Change 244605 had a related patch set uploaded (by Catrope):
Fix various bugs in mw.echo.Logger and its callers
Change 244605 merged by jenkins-bot:
Fix various bugs in mw.echo.Logger and its callers
It was blocked because we were waiting for some data to make sure we have the correct logging information.
If that is approved, we can close this.
mysql:research@s3-analytics-slave [log]> SELECT event_action, count(*) FROM EchoInteraction_5782287 where timestamp between '20151118' and '20151119' GROUP BY event_action; +-------------------------+----------+ | event_action | count(*) | +-------------------------+----------+ | notification-impression | 423415 | | notification-link-click | 8272 | | ui-badge-link-click | 17081 | | ui-help-click | 8 | | ui-prefs-click | 62 | +-------------------------+----------+ 5 rows in set (2.78 sec)
Looks good to me