UWS – Lockdown Lowdown

UK University Assesses the Effects of Lockdown with Fitbit

A first-of-its-kind project: a website for the University of the West of Scotland that connected to Fitbit’s servers in California and collected intraday activity data for research into the effects of the Covid-19 lockdown.
Sportswoman tracker

The challenge

This was one of the more interesting discovery meetings we held during lockdown: an opportunity to help university researchers understand the effects the Covid-19 pandemic was having on the public’s physical and mental wellbeing.

The project was initiated by Professor Nick Sculthorpe and aimed to explore adults’ physical activity levels before and after lockdown, using data from wearable activity trackers such as Fitbit. It was collectively funded by the University of the West of Scotland, the Chief Scientist Office and NHS Scotland.

The technical challenge: gather the supporting information for each participant, have them grant access to their Fitbit data anonymously, convert the collected data to JSON, and deliver it to a secure server on the university campus — stored in a user-accessible format and recorded in real time for researchers to review.

Extensive research turned up no working public example of this anywhere. We committed to delivering it regardless.

Our approach

First, we developed a clean website design that respected the UWS brand and the design system of the main university website. We then built an advanced multi-step form comprising more than 80 collection fields, with extensive conditional logic and repeater fields.

Then came Fitbit access. We registered an application on the Fitbit developer platform and used its OAuth 2.0 protocol to access each participant’s data — held on Fitbit’s servers in California — through a unique authorisation grant flow, embedded via a URL callback carrying the query parameters and authorisation required for the intraday data.

All of that happens within a single mouse click. Behind it sits custom PHP and advanced WordPress automation; in front of it, the participant follows a few simple instructions, presses the Fitbit button, and is connected within seconds:

The one-click Fitbit connection step on the UWS study website

This remains one of the most enjoyable projects Tecology has completed, and one we are genuinely proud of. If you have a research idea that needs an unusual build, we would love to hear about it.

What we delivered

Custom Website Development
Advanced API Design — Fitbit
Advanced Multi-step Form Design
Data Capture and Storage Automation
Google Sheets API Integration

Project details

Sector

Universities

Service

Website Development

Built with

Native WordPress CMS
·
Fitbit OAuth 2.0 API
·
Custom PHP Automation
·
Custom Tecology Admin Dashboard

Year

2021

Results like these start with a conversation about your work.

Related work

Young professional programmer
Private enterprise
HRC Recruitment
2022
Emergency Website Recovery with Peace of Mind
asian-sportswoman-using-smart-watch-and-smartphone-during-4436296
Universities
UWS
2022
Battling Long Covid with Adaptive Pacing
Pragmatic
Academic non-profits
PEPAH
2021
Developing a Global Alumni Social Network

Know someone who’d benefit from working with us?

If there’s an academic, society, or research organisation you think we could help, introduce us — and take advantage of our generous referral rewards programme.

Start a conversation

Tell us about the work you’re doing.

The best projects start with understanding the academic work behind them. Book a 30-minute call — no pitch deck, no pressure, just a conversation about what you’re trying to do.

Or email [email protected] — we reply within one working day.

Privacy Settings
This website uses cookies to enhance your browsing experience on our website and our services. You may revoke or change your consent settings at any time.

Accept all Essential only