建设中

你的这次采样正好赶上我们施工。

这些指南面向新版 ExpiWell 平台(v2),仍在撰写、校对和调整中——请谅解眼前的脚手架:页面可能在两次访问之间移动或更改。仍在使用旧版应用?其文档仍保留在旧的支持门户上。

打开旧版支持门户
知识库  /  来自 ExpiWell 团队

我们能帮你什么?

覆盖研究每一步的指南——从第一个项目到最终的数据导出。ExpiWell 知识库,服务于研究者网页平台与参与者移动应用。

29 个类别下共 102 篇指南 · 由 ExpiWell 团队维护更新
Help CenterAnalyzeIntegrations

Fitbit integration

Analyze · Integrations
Updated 2026年11月24日
Fitbit now connects through Google Health

Fitbit no longer connects to research apps directly, so ExpiWell collects Fitbit data through Google Health. Participants connect Google Health in the ExpiWell app, with a personal Google Account — university and workplace Google accounts are not supported. Participants who were connected through Fitbit need to reconnect once. Read what this means for your study.

Fitbit Integration

ExpiWell reads Fitbit data through Google Health, using access the participant grants once. They do not need to keep the device paired to their phone over Bluetooth, and you do not need to touch the device at all — but the data has to reach Google's servers first, which means the participant's Fitbit has to sync to their phone.

Before you start

  • One integration per study. The Integration step says it outright: Only one integration can run per study. Choosing Fitbit rules out Apple Watch, SensorKit and continuous location tracking.
  • Six metrics in total, across the daily, intraday and activity groups. The counter on the card reads 0 / 6.
  • A Google Account is required. Participants connect through Google Health, and it must be a personal account.
  • The card is called Google Health (Fitbit). It is the same integration with the same metrics; only the connection behind it changed.
The Integration step of project setup with Fitbit, continuous location tracking and Apple Watch listed, each showing a metric counter and an off toggle

Daily metrics

Six are offered, each a 24-hour summary.

MetricWhat it gives you
Heart rateDaily maximum and minimum heart rate zones, with calories burned in each
SleepThe sleep log summary and time spent in each stage
Heart rate variabilityRMSSD between heartbeats, for the day and for deep sleep
Breathing rateAverage breaths per minute during sleep
Temperature (core)The temperature logged for the day
Active zone timeTime spent in each heart-pumping activity zone
The Fitbit card expanded in project setup, showing six daily metric checkboxes, a Select all link and a Retrospective days field

Retrospective days collects history the participant's Fitbit already holds, up to 30 days back from when they join. Anything Fitbit no longer stores cannot be recovered.

Intraday and activity metrics

Below the daily set, the card has two more groups that break the day into intervals rather than summarizing it.

Intraday metrics — Heart rate · Active zone minutes · SpO2 · HRV · Breathing rate

Activity — Steps · Calories · Distance · Floors · Elevation

Each group has its own Select all, and all three groups draw on the same budget of six: the counter at the top of the card reads 6 / 6 METRICS once you have picked six, wherever they came from. At that point the remaining checkboxes gray out.

Intraday interval sits at the bottom and is a single setting for the whole card — 5 minutes or 15 minutes — not something you choose per metric.

The Fitbit card in project setup showing daily metrics, a retrospective days field, intraday metrics and activity metrics as three separate groups, six selected against a six-metric limit, and an intraday interval set to 5 minutes
Important

You cannot change any of this while the project is active. The Integration step shows a banner — Integrations are view-only while the project is active. Deactivate the project to make changes. Decide your metrics before you launch, because changing your mind later means taking the study down.

When data is collected

Collection runs on our servers, whether or not the participant opens the ExpiWell app. When they connect, their recent data and the retrospective days you set are collected straight away, usually within minutes. After that it syncs once a day, at 11:17 UTC.

Note

Data can only arrive once it has reached Google. If a participant's Fitbit has not synced to their phone, the daily sync has nothing new to collect for them. It catches up once the device syncs.

Retrospective intraday data

This one is not in project setup. It lives under Insights → Wearables → Fitbit Intraday, and nothing arrives until you ask for it — the page says so: Data must be fetched from Fitbit before downloading.

It is a table, one row per participant, and each row carries its own Start Date, End Date and Fetch Data button. Alongside them:

  • Status — where the participant is in the project
  • Wearable connection — whether they are connected through Google Health, still on the old Fitbit connection, or not connected (see who still needs to reconnect)
  • Data Download Availability — whether anything can be fetched for them
  • Project Start Date — when they joined, which bounds what is worth asking for

A participant only needs to have joined. They do not need to have answered anything.

The Fitbit Intraday page listing two participants, each row showing status, data download availability, project start date, its own start and end date pickers, a Fetch Data button and a grayed-out Download button
Important

One month per participant, per hour. Set a wider range and the page says so in red — Due to Fitbit API limits, you can only fetch and download a maximum of 1 month of Intraday data per participant per hour — and Fetch Data stays disabled. You are stopped before the request goes out rather than after it fails, so narrow the dates and try again. For participants connected through Google Health, each request can also end no later than tomorrow.

Note

A participant still on the old Fitbit connection cannot be fetched. Their row reads Moved to Google Health — reconnect needed until they reconnect in the app.

Pick a start date and end date on that participant's row, then Fetch Data. Both buttons stay grayed out until the range is set.

The Fitbit Intraday table with a start and end date more than a month apart entered on one participant's row, a red message about the one-month Fitbit API limit above the table, and the Fetch Data button grayed out

Fetching runs in the background — the button reads Fetching… and a toast confirms it has started. When it finishes, Download turns on and the row records what you asked for: Fetched Data from 2026-10-10 to 2026-10-11.

The Fitbit Intraday table after a successful fetch, with one participant's row showing a Fetched Data from and to date line and an enabled Download button, while the other participant's row is still empty and grayed out
Note

That line shows the most recent fetch, not everything you have ever fetched. Data accumulates on the ExpiWell server rather than replacing what came before — fetch 1–15 March, then 1–25 April, and the download gives you both periods collated into one file per parameter — but the row only ever names the last range, so keep your own note of what you have pulled.

What participants do

They enter the access code and enrol as normal. Because the project collects wearable data, the app asks them to connect Google Health before they can join, then opens their browser to sign in with Google — a Choose an account screen on accounts.google.com, listing whichever Google accounts the phone already knows plus Use another account.

A Google Choose an account screen on a phone showing only a Use another account option, served from accounts.google.com
Important

It must be the Google account their Fitbit account was moved to, and it must be a personal account. An account with no Fitbit behind it has no data to share.

Google then asks them to allow ExpiWell access to their activity and fitness, health metrics and measurements, and sleep data. Afterwards they come straight back to the app to finish joining. If access is not granted, they are not joined and can try again.

Every type the study needs has to be allowed. Anything they decline simply produces no data, and a participant who declines shows as Permission declined when you fetch their intraday data.

Important

The Fitbit has to sync. ExpiWell reads from Google's servers, not from the device. Data that has not reached Google yet cannot be collected, however recently it was recorded.

Participants should also wear the device for a full day including overnight — sleep-dependent metrics need it.

Participants who joined while the project still connected through Fitbit see a Keep your wearable data flowing prompt in the app, with a Reconnect button that runs the same Google sign-in. Until they reconnect, no new data arrives for them.

Downloading the data

Insights → Wearables → Fitbit, then Download per participant or Download All for everyone.

Each selected metric arrives as its own file, named for the participant and the metric. Six metrics means six files — …_heartRate_timeSeries.csv, …_heartRate_variability.csv, …_activeZone_timeSeries.csv, …_activitySteps.csv, …_intradayAZM.csv, …_intradayHeartRate.csv.

Note

Two downloads, two different things. This page gives you everything the project collects, daily and intraday together, for the whole study. The Fitbit Intraday page gives you only the intraday and activity metrics, for a date range you choose and fetch. Go to the Fitbit page for the study's data; go to Fitbit Intraday to reach back before a participant joined.

The Insights Fitbit page with a participant filter and a Download All button across the top, above four export rows spanning two participants, each tagged FILE 1 or FILE 2 with its own Download button

Intraday and activity metrics arrive as one file each, named for the participant and the metric — Participant 1_activitySteps.csv, Participant 1_intradayAZM.csv, Participant 1_intradayHeartRate.csv. Each is three columns: Date, Time, Value, with one row per interval.

The first rows of an intraday steps file, with Date, Time and Value columns and a row for every five minutes from midnight
Note

Rows of zeros are normal, not missing data. Every interval gets a row whether or not anything happened, so a sleeping participant produces hours of 0. An absent row means no data at all; a 0 means the device was reporting and the value was nothing.

Shapes differ by metric. A daily file is one row per zone per day — Out of Range, Fat Burn, Cardio, Peak — each with its calorie total, its bounds and the minutes spent in it, alongside columns for custom zones and resting heart rate.

A daily heart rate export with grouped columns for custom heart rate zones and heart rate zones, four rows per date named Out of Range, Fat Burn, Cardio and Peak, each with calories out, maximum, minimum and minutes

If a participant rejoins

Nothing is lost. Each enrolment gets its own export, and they appear as separate rows under the same name with a FILE 1, FILE 2 badge — the highest number being the most recent. You can see this in the list above: Participant 1 and Participant 2 each have two files.

Download them separately, or take the lot with Download All.

Common questions

Can data be collected even if they ignore the surveys? Yes. Collection runs on our servers once a day and does not depend on surveys being answered. Their Fitbit still has to sync first.

Does battery-saving mode break it? No. Data is read from Google Health, so once it has synced, how the phone behaves afterwards does not matter.

Does collection stop when they finish all their surveys? Yes — the project is marked complete.

Can it run passively, without the app? Yes. Once a participant has connected Google Health, collection runs on our servers without them opening the app.

What if they disconnect Google Health? No new data arrives, and they show as Disconnected in the Wearable connection column. The app prompts them to reconnect the next time they open it.

Which metrics need sleep? HRV, Breathing Rate, Sleep, Heart Rate Time Series and SpO2 all depend on Fitbit detecting at least three hours of sleep. A night without the device leaves them empty, and the same limit is why HRV cannot be collected during the working day. Google's own explanation of sleep data covers the detail.

How does Fitbit calculate steps, distance and calories? Google documents activity data, active zone minutes and heart rate, including the known sources of discrepancy.

Do participants need Fitbit Premium? No.

This walkthrough was recorded in the earlier ExpiWell interface — an updated video for the new dashboard is coming.

Was this helpful?
Start today

与 ExpiWell 团队的真人交流。

还没解决?我们的研究者团队既解答技术问题,也解答研究设计问题。