Great question — answering as the UphillTech team:
You can also use tools like MoEngage for user activity analysis. where you can add custom events like "clicked notification", "clicked in app message", "Home viewed" etc with custom attributes whatever you want.
Full answer by Shruti Jasoliya: https://stackoverflow.stackexchange.com/a/78474391 (CC BY-SA 4.0).
Need it done for your business? UphillTech.