The problem: rich log data, unclear questions
Digital health interventions, such as websites and apps that help people manage a condition or change a behaviour, record a great deal about how they are used: log-ins, pages viewed, time spent, tools completed and messages opened. A doctoral researcher evaluating such an intervention often receives this log data alongside trial outcomes and has to decide what to do with it. Totals such as "number of log-ins" are easy to compute but hard to interpret, and analyses chosen after looking at the data are prone to false positives.
(2019).
Usage, engagement and adherence
Three terms are often used interchangeably but should not be. Usage is what the system records. Engagement is broader: a systematic review defined it as both the extent of use (amount, frequency, duration and depth) and a subjective experience of attention, interest and affect (Perski et al., 2017). Adherence is the extent to which people use an intervention as intended by its designers.
Two ideas from this literature shape any analysis. First, more use is not necessarily better. Yardley et al. (2016) proposed the idea of effective engagement: enough engagement to achieve the intended outcomes, which may be brief for some interventions. Yet a systematic review of 62 eHealth evaluations found that most simply assumed more use was better, and very few justified the level of use they treated as adherence (Sieverink et al., 2017). Second, attrition is normal in online interventions. Eysenbach (2005) distinguished nonusage attrition, when participants stop using the intervention, from dropout attrition, when they stop completing follow-up assessments.
The AMUsED framework in three stages
AMUsED organises usage analysis into three stages, each supported by a checklist in the original paper. The stages are iterative, and the framework can be applied during development or after a trial (Miller et al., 2019).
- 1Stage 1: Familiarisation with the data and identification of variables
- 2Stage 2: Selection of usage measures and generation of research questions
- 3Stage 3: Preparation for analysis
Stage 1: Get to know the intervention and its data
Before choosing any measure, map how the intervention is meant to be used and how each part generates data. Miller and colleagues sort the available information into three kinds: intervention characteristics (the intended use, such as the number of sessions and expected log-ins), accrued data (what was recorded during the study, including log data and self-reports) and contextual data (earlier findings and outside events that could affect use, such as an outbreak of infection).
Stage 2: Choose usage measures and generate questions
Next, define usage variables that mean something for this intervention, preferably grounded in its theory of change rather than raw totals, and turn them into questions at three levels: descriptive (how was the intervention used?), bivariate (is usage related to participant characteristics, psychological determinants or outcomes?) and multivariate (do participant characteristics change the relationship between usage and outcomes?).
Stage 3: Prepare for analysis
Finally, consider resources such as time and analytic support, choose analysis methods and software, and prepare the data: merging the log files, transforming and cleaning them, and linking them to outcome data through a unique participant identifier. The authors note that subgroup analyses are often underpowered, and that visualisation and process mining can reveal patterns of use (Miller et al., 2019).
In practice, data preparation takes longer than most students expect. A short checklist helps:
- Understand the log format. Ask the developers what each event means, when it is recorded and which time zone the timestamps use. A "page view" may be logged on loading, on scrolling or not at all offline.
- Exclude test accounts created by the research team and developers, and record how many were removed.
- Define sessions. Decide how long a gap ends one session and starts another, and apply the rule consistently.
- Handle implausible values. Pages left open overnight produce extreme durations; decide in advance whether to cap or trim them.
- Link carefully. Match log data to questionnaire and outcome data through a study identifier, never through names or e-mail addresses, and keep the linking key separate in line with your ethics approval.
- Keep a data dictionary describing every derived usage variable and the script that creates it.
Analytics is often described as descriptive, predictive and prescriptive. The distinction is useful as context: most doctoral usage analyses are descriptive or explanatory, asking how an intervention was used and how use relates to outcomes. Predicting who will disengage is a separate prediction problem with its own validation demands, and recommending changes for individual users goes further still.


Choosing usage measures
| Measure | What it captures | Caution |
|---|---|---|
| Log-ins or visits | Frequency of return | A visit may last seconds; combine with depth |
| Core content completed | Exposure to the active ingredients | Requires a decision on which components are core |
| Time spent | Duration | Idle tabs inflate time; consider trimming or capping |
| Pages or tools used | Breadth and depth of use | Different routes can deliver the same content |
| Point of last use | Nonusage attrition | Distinguish from loss to follow-up |
| Self-reported engagement | Attention and interest | Complements logs; subject to recall bias |
Mixed measures are usually stronger than any single one. An international workshop on digital behaviour change recommended establishing what level of engagement is effective for each intervention, and combining automatically recorded usage with users' own accounts (Michie et al., 2017).
Worked example (illustrative)
Imagine a doctoral project evaluating an eight-session online programme for work-related stress, tested against a waiting-list control. The developers consider sessions 1 to 4, which teach the core techniques, to be essential. The platform records log-ins, sessions completed and time per page; stress is measured at baseline, 8 weeks and 6 months.
| AMUsED level | Illustrative research question | Possible analysis |
|---|---|---|
| Descriptive | What proportion of participants completed the four core sessions, and where did use stop? | Proportions; a plot of last session completed |
| Bivariate | Is completing the core sessions associated with lower stress at 8 weeks? | Regression adjusted for baseline stress |
| Bivariate | Are baseline stress or age associated with completing the core sessions? | Logistic regression |
| Multivariate | Does the association between core completion and outcome differ by baseline stress? | Interaction term; treat as exploratory if the subgroup is small |
Two cautions apply. Associations between usage and outcome are not causal: people who use more may differ in motivation or severity from those who use less. And participants who stop using the programme are often the ones who stop completing questionnaires, so missing outcome data should be handled with a principled method such as multiple imputation, with its assumptions stated (Sterne et al., 2009).

Where usage analysis fits in an evaluation
Usage analysis is one part of understanding how an intervention works. The Medical Research Council framework treats digital interventions as complex interventions, whose evaluation should ask how and for whom an intervention works as well as whether it works (Skivington et al., 2021). Usage data help answer those questions. In the UK, evidence about how a digital technology is used also features in the evidence standards that commissioners apply to digital health technologies (National Institute for Health and Care Excellence, 2022).
Because log data invite many possible analyses, write the usage measures and main questions into the protocol or a pre-registration, and label anything else as exploratory (Nosek et al., 2018). Related pages: using social media data in PhD health research and collecting clinical and epidemiological data for a PhD.

Common mistakes
- Reporting total log-ins or time on site without saying why that measure matters for this intervention.
- Assuming more use is better without defining effective engagement.
- Confusing nonusage attrition with dropout attrition.
- Interpreting usage-outcome associations as causal effects of using the intervention.
- Running many unplanned subgroup analyses and reporting only those that are significant.
- Leaving usage measures until after the trial, when the necessary data were never logged.
- Not documenting how sessions, test accounts and extreme durations were handled during cleaning.
Key takeaways
- Distinguish usage, engagement and adherence; engagement includes subjective experience as well as use (Perski et al., 2017).
- Define effective engagement for each intervention instead of assuming more use is better (Yardley et al., 2016; Sieverink et al., 2017).
- AMUsED moves from understanding the data, to choosing measures and questions, to preparing the analysis (Miller et al., 2019).
- Separate nonusage attrition from dropout attrition and handle missing data on principle (Eysenbach, 2005; Sterne et al., 2009).
- Pre-specify the main usage questions and label the rest as exploratory (Nosek et al., 2018).
