How-to articleMethodology & analyticsMedicine & healthcare

Analysing usage and engagement data from digital health interventions: the AMUsED framework

How to turn the log data from an app or website intervention into meaningful usage measures and testable research questions, using the three-stage AMUsED framework of Miller et al. (2019) and the wider evidence on engagement.

What you will learn

  • Explain the difference between usage, engagement and adherence in digital health research
  • Describe the three stages of the AMUsED framework and what each produces
  • Choose usage measures that are grounded in how the intervention is meant to work
  • Write descriptive, bivariate and multivariate research questions about usage
  • Prepare log data for analysis: linking, cleaning, missing data and an analysis plan

What you will unlearn

  • More use of an intervention is always better.The level of use needed depends on the intervention; effective engagement is the use sufficient to achieve its intended outcomes.
  • Log-ins and time on site measure engagement.They measure part of usage; engagement also has a subjective side, such as attention and interest, that logs cannot capture.
  • Dropout from a digital trial means the intervention failed.Attrition is expected in online interventions and has two forms, stopping use and stopping follow-up, which need separate analysis.
  • Usage analysis can wait until the trial is over.Usage measures and questions should be planned during development, or the data needed to answer them may never be captured.

Skills you will practise

  • Defining usage measures
  • Linking log and outcome data
  • Writing usage research questions
  • Handling attrition and missing data
  • Separating exploratory and confirmatory analysis

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).

  1. 1Stage 1: Familiarisation with the data and identification of variables
  2. 2Stage 2: Selection of usage measures and generation of research questions
  3. 3Stage 3: Preparation for analysis
Figure 1. The three stages of the AMUsED framework, redrawn from Miller et al. (2019; CC BY 4.0).

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.

Usage data analysis framework for digital interventions
Figure 2. Analysing usage data in digital interventions.
Stages of usage and engagement analysis
Figure 3. Stages of usage analysis.

Choosing usage measures

Usage measures for a digital health intervention
MeasureWhat it capturesCaution
Log-ins or visitsFrequency of returnA visit may last seconds; combine with depth
Core content completedExposure to the active ingredientsRequires a decision on which components are core
Time spentDurationIdle tabs inflate time; consider trimming or capping
Pages or tools usedBreadth and depth of useDifferent routes can deliver the same content
Point of last useNonusage attritionDistinguish from loss to follow-up
Self-reported engagementAttention and interestComplements 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.

Illustrative usage questions for a hypothetical stress programme
AMUsED levelIllustrative research questionPossible analysis
DescriptiveWhat proportion of participants completed the four core sessions, and where did use stop?Proportions; a plot of last session completed
BivariateIs completing the core sessions associated with lower stress at 8 weeks?Regression adjusted for baseline stress
BivariateAre baseline stress or age associated with completing the core sessions?Logistic regression
MultivariateDoes 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).

Illustration on usage data analysis

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.

Illustration on data analytics

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

Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A statistician reviews your work with you
  3. 3You get a plan and a quote
Quantitative analysis

References

  1. Eysenbach, G. (2005). The law of attrition. Journal of Medical Internet Research, 7(1), e11. https://doi.org/10.2196/jmir.7.1.e11
  2. Michie, S., Yardley, L., West, R., Patrick, K., & Greaves, F. (2017). Developing and evaluating digital interventions to promote behavior change in health and health care: Recommendations resulting from an international workshop. Journal of Medical Internet Research, 19(6), e232. https://doi.org/10.2196/jmir.7126
  3. Miller, S., Ainsworth, B., Yardley, L., Milton, A., Weal, M., Smith, P., & Morrison, L. (2019). A framework for Analyzing and Measuring Usage and Engagement Data (AMUsED) in digital interventions: Viewpoint. Journal of Medical Internet Research, 21(2), e10966. https://doi.org/10.2196/10966
  4. National Institute for Health and Care Excellence. (2022). Evidence standards framework for digital health technologies (Corporate document ECD7; updated August 2022). https://www.nice.org.uk/corporate/ecd7
  5. Nosek, B. A., Ebersole, C. R., DeHaven, A. C., & Mellor, D. T. (2018). The preregistration revolution. Proceedings of the National Academy of Sciences, 115(11), 2600–2606. https://doi.org/10.1073/pnas.1708274114
  6. Perski, O., Blandford, A., West, R., & Michie, S. (2017). Conceptualising engagement with digital behaviour change interventions: A systematic review using principles from critical interpretive synthesis. Translational Behavioral Medicine, 7(2), 254–267. https://doi.org/10.1007/s13142-016-0453-1
  7. Sieverink, F., Kelders, S. M., & van Gemert-Pijnen, J. E. W. C. (2017). Clarifying the concept of adherence to eHealth technology: Systematic review on when usage becomes adherence. Journal of Medical Internet Research, 19(12), e402. https://doi.org/10.2196/jmir.8578
  8. Skivington, K., Matthews, L., Simpson, S. A., Craig, P., Baird, J., Blazeby, J. M., Boyd, K. A., Craig, N., French, D. P., McIntosh, E., Petticrew, M., Rycroft-Malone, J., White, M., & Moore, L. (2021). A new framework for developing and evaluating complex interventions: Update of Medical Research Council guidance. BMJ, 374, Article n2061. https://doi.org/10.1136/bmj.n2061
  9. Sterne, J. A. C., White, I. R., Carlin, J. B., Spratt, M., Royston, P., Kenward, M. G., Wood, A. M., & Carpenter, J. R. (2009). Multiple imputation for missing data in epidemiological and clinical research: Potential and pitfalls. BMJ, 338, b2393. https://doi.org/10.1136/bmj.b2393
  10. Yardley, L., Spring, B. J., Riper, H., Morrison, L. G., Crane, D. H., Curtis, K., et al. (2016). Understanding and promoting effective engagement with digital behavior change interventions. American Journal of Preventive Medicine, 51(5), 833–842. https://doi.org/10.1016/j.amepre.2016.06.015

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2020, June 4). Analysing usage and engagement data from digital health interventions: the AMUsED framework. PhD Research Lab. https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research/

PhD Research Lab Academy. “Analysing Usage and Engagement Data from Digital Health Interventions: The AMUsED Framework.” PhD Research Lab, 4 June 2020, www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research. Accessed [access date].

PhD Research Lab Academy (2020) Analysing usage and engagement data from digital health interventions: the AMUsED framework. PhD Research Lab. Available at: https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research/ (Accessed: [access date]).

PhD Research Lab Academy. “Analysing Usage and Engagement Data from Digital Health Interventions: The AMUsED Framework.” PhD Research Lab. June 4, 2020. https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research.

PhD Research Lab Academy, ‘Analysing Usage and Engagement Data from Digital Health Interventions: The AMUsED Framework’ (PhD Research Lab, 4 June 2020) <https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research> accessed [access date].

PhD Research Lab Academy. Analysing usage and engagement data from digital health interventions: the AMUsED framework [Internet]. PhD Research Lab; 2020 Jun 4 [cited [access date]]. Available from: https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research/

PhD Research Lab Academy, “Analysing usage and engagement data from digital health interventions: the AMUsED framework,” PhD Research Lab, June 4, 2020. [Online]. Available: https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research. [Accessed: [access date]].

@online{selection_of_articles_using_data_analytics_for_behavioral_dissertation_research_2020,
  author = {{PhD Research Lab Academy}},
  title = {{Analysing usage and engagement data from digital health interventions: the AMUsED framework}},
  organization = {PhD Research Lab},
  date = {2020-06-04},
  url = {https://www.phdassistance.com/blog/selection-of-articles-using-data-analytics-for-behavioral-dissertation-research},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Analysing usage and engagement data from digital health interventionsNeed help applying it to your study?
Quantitative analysis