I am trying to answer the below question given by the business (The business generates revenue from multiple apps through customer pay model) The business is interested in the below questions
- new users (trend with respect to previous months)
- daily active users
- Day 1 retention I came up with the below DM
Dimension: users, app, deviceid, useractions, plan, date
Fact: fact_activity(userid, appid,deviceid, actionid)
Actions could be: app installed, app launch, registered, completed purchase, postedcomments, playgame etc
The questions I have is
- should the fact table contain action_type instead of the actionid into the fact (to avoid join with useractions)
- Definition of day 1 retention: No of apps installed/ app launches next day how do to avoid multiple counting of single user using multiple devices
- Would it be advisable to have device details in the user dimension or separate.
- If I need to measure average session duration, should I use another fact at session level or tweak the activity fact?