rokwire / illinois-app

Source code repository of "Illinois" App - the official mobile app of the University of Illinois.
https://app.illinois.edu/
Apache License 2.0
23 stars 20 forks source link

[FEATURE] Radio Stations Analytics #4335

Closed cschwin2 closed 1 week ago

cschwin2 commented 3 weeks ago

Hello,

We would like to request some additional information for user actions associated with the Radio Stations. The screenshot below shows an example log of when a user tapped either Play or Pause.

Screenshot 2024-09-04 at 2 16 47 PM

Two requests we have:

  1. Can we please see which radio station the log is associated with?
  2. Is there a way to distinguish between whether the user pressed "Play" vs. "Pause"? Right now, either action results in a general "Play/Pause" value.

Thank you!

Cameron @vburgett

mihail-varbanov commented 1 week ago

This was implemented in 6.0.46. I added "radio_station" attribute with radio station name. Play/Pause is separated as well. Here is a sample log of showing ration stations popular, play, pause and close:

{"name":"select","target":"Radio Station: WILL Classical & More","source":null,"page":"HomePanel","feature":"Home"}
{"name":"page","page_name":"RadioPopupWidget","page_feature":"Radio Stations","previous_page_name":"HomePanel","previous_page_feature":"Home","radio_station":"WILL Classical & More","page":"RadioPopupWidget","feature":"Radio Stations"}
{"name":"select","target":"Play","source":"RadioPopupWidget","radio_station":"WILL Classical & More","page":"RadioPopupWidget","feature":"Radio Stations"}
{"name":"select","target":"Pause","source":"RadioPopupWidget","radio_station":"WILL Classical & More","page":"RadioPopupWidget","feature":"Radio Stations"}
{"name":"select","target":"Close","source":"RadioPopupWidget","radio_station":"WILL Classical & More","page":"RadioPopupWidget","feature":"Radio Stations"}
{"name":"page","page_name":"HomePanel","page_feature":"Home","previous_page_name":"RadioPopupWidget","previous_page_feature":"Radio Stations","page":"HomePanel","feature":"Home"}
cschwin2 commented 1 week ago

Fantastic! This looks perfect. Thank you.