iFit: Apple Health, Strava, Garmin and Google Fit sync

How a Brocoders backend team synced workouts between the iFit app and fitness services, February 2021 to March 2022

Industry
Fitness software
Location
USA
Client since
2021
Status
Finished, March 2022
54.8K
members connected Apple Health
18.7K
members connected Strava
17.9K
members connected Garmin
8.1K
members connected Google Fit

Our client, iFit, is a major training equipment manufacturer that develops fitness software to help people work out at home or on the go and achieve their fitness goals, in a community of like-minded people. Its equipment brands include NordicTrack, ProForm and Freemotion.

Initially, they only made exercise equipment, but with the advance of technology, the company began to provide video training, and later, developed fitness software.

The software gives users access to trainers, classes, and a community, making workouts more interesting. The equipment connects directly to the software, and as a result, gives customers pleasure from working out.

From February 2021 to March 2022, a Brocoders team owned the backend of iFit's third-party integrations: the services that synced workouts between the iFit app and Apple Health, Strava, Garmin, Google Fit, Oura Ring and Amazon Halo. A frontend team on iFit's side built the app screens on our endpoints. A second Brocoders team worked on iFit's bug backlog and microservices, described in its own case study.

iFit at a glance

Client
iFit (formerly ICON Health and Fitness), Logan, Utah, USA
Product
Connected-fitness subscription platform: trainer-led classes and global routes on connected treadmills, bikes, ellipticals and rowers
Platform scale
Over 6.1 million members in more than 120 countries (iFit's IPO filing, August 2021)
Goal
Members keep all their workout data in one app, or in every app they use
Our domain
The backend of the third-party integrations, Feb. 1, 2021, to March 2022
Sync
Apple Health, Strava and Google Fit both ways, Garmin one way, plus Oura Ring and Amazon Halo
Approach
An ETL pipeline: extract from the source service, transform, load into the target
Team
A team lead and 2 senior backend engineers, a QA engineer and a PM
Stack
Node.js, JavaScript

The situation: iFit's live workout platform

The company had already completed the development of software for their equipment, as well as the possibility of training on the equipment of competitors. Buyers could already work with a trainer, choose classes worldwide, as well as run, swim and race along the most beautiful routes in the world. It was already a full-fledged working product. By August 2021, iFit reported over 6.1 million members in more than 120 countries.

This kind of large-scale, always-on platform is what our SaaS development work is built to support: extending a live product.

But physical activity goes beyond training on the equipment. So, to achieve the best results, it’s necessary to factor in nutrition, sleep, activity, and other health indicators like heart rate and respiration. Luckily, data from apps and wearables can provide this information. Based on user requests, our client’s business analysts decided to integrate with Strava and Garmin.

After Strava and Garmin, Brocoders proposed to integrate with Google Fit because this app is also very popular. The client agreed, and after implementing these integrations, we expanded the list to include Oura Ring and Amazon Halo. The client's goal was to help members keep all their workout data in one app, or in every app they use.

Read more about integration with the Google Fit and Apple Health APIs and how it can benefit your app.

Working process: the iFit integrations team

To achieve the best result, we started by examining existing APIs, building a mapping for synchronizing data from different sources and eliminating data duplication.

The most important part of the working process was building the team's collaboration. iFit found Brocoders through Google search and reviews and interviewed our team before the start. Our engineers then joined iFit's planning and talked to iFit's team in Slack during its core hours. Brocoders owned the backend. A frontend team on iFit's side built the screens on our endpoints, and both teams settled each integration in joint technical meetings.

The collaboration ran on good old-fashioned communication, clarification of tasks and goals, knowledge exchange, and of course, Jira.

We implemented the data exchange with other services in a separate module, which simplified testing and interaction between teams. We built it as an ETL pipeline, in three steps:

  1. Extract

    On a sync request, the service signs in to the source app, downloads the data by API and saves the original.

  2. Transform

    It filters the data by business rules, such as dropping duplicate activities and activity types iFit does not use, finds and corrects erroneous data, and converts it to the target's format, pictures included.

  3. Load

    It signs in to the target app, uploads the data by API and saves the sync result.

Our QA engineer tested the integrations before launch.

Michelle Bowser
5.0

“They worked very closely together with our team and were involved in our planning processes.”

Read full review on Clutch
Michelle Bowser
Director of Technical Operations, iFit

Which services synced with iFit, and in which direction

iFit
Apple Health
Both ways
Strava
Both ways
Garmin
One way
Google Fit
Both ways
Added laterOura RingAmazon Halo

We added Oura Ring and Amazon Halo later. iFit's analytics view below does not count them.

  • Apple Health54.84K
  • Strava18.73K
  • Garmin17.87K
  • Google Fit8,108
iFit members with a third-party app connected, unique, 12-month view. Source: iFit analytics.
Connecting Apple Health in the iFit app
Connecting Apple Health in the iFit app

Key challenges in the iFit integrations

Data mapping and sync caused most of the difficulty, including how long an activity took to move from one system to another, for example from iFit to Strava. Google Fit caused the most.

Strava rate limits

Strava limits API usage per application, with both 15-minute and daily request limits. At the time, the default rate limit allowed 100 requests every 15 minutes, with up to 1,000 requests per day.

As the number of users grew, iFit's requests reached these limits. Our team responded in time and solved the problem by spacing out requests. That is, we increased the frequency of requests but decreased the number of requests at a given time.

Over-sized data packets

The second challenge was related to the over-sized data packets.

Our task was to draw diagrams in a picture that we downloaded from Strava. According to the Strava guide, charts are drawn on top of pictures, so the exchange of graphic information exceeded the data packet size. We solved the problem by creating an assembly that changed how activity data was processed, which cut the size of the data packets.

Corrupted data from third-party services

Data from Strava, Garmin and Google Fit sometimes arrived corrupted. The pipeline's transform step includes finding and correcting erroneous data.

Google Fit

A Google Fit sync took about 2 hours. Google Fit also read some values in its own way: an activity's average speed could differ from iFit's by a few seconds, because Google calculated it differently and did not publish the formula. At the time, Google Fit offered support through public forums only.

Delivered solution: wearable integrations for the iFit app

The Brocoders team developed a reliable integration for managing numerous activities during workouts of any type.

We built and maintained the backend from February 2021 to March 2022.

The client received:

  • New users

    Apple Health and Google Fit advertise apps on their homepages, which gives the app an additional advertising channel.

  • New data

    After connecting the app to a fitness service like Google Fit or Strava via API, the customer got access to large amounts of data from these services. Subsequently, this also provides an opportunity to build multiple additional features based on big data.

  • Increased interaction with the application

    Users can analyze all activities on one app.

Tablet and phone presenting detailed cycling workout

How activity looks in the Fitness app

Tablet and two phones showing GF Prod Biking activities

Activities that came from Google Fit to the Fitness app

Strava app screens on tablet and two phones showing a short cycling activity

This is how the activity was synced to Strava

Two iPhones displaying dark-mode fitness app screens

This is how the activity was synced to Google Fit

Tablet and phone presenting Garmin Connect running activity

Activities created in Garmin

Strava app screens on tablet and phone showing a manual run activity

Synchronization with Strava

What the iFit integrations do for users

  • Members connected Apple Health, Strava, Garmin, Google Fit, Oura Ring or Amazon Halo to their iFit account.

  • Workouts from the iFit app went to Apple Health, Strava and Google Fit, and our team drew workout charts on Strava activity pictures.

  • The pipeline mapped data from every source and removed duplicates, so each activity showed once.

Fitness App Cost Calculator

Get an estimation
Fitness app calculator illustration

Our team: the iFit integrations team, 2021 to 2022

We provided our client with a team of experienced Node.js developers, a QA engineer and a PM. Our work process was based on agile practices: we tested every release in several iterations before publishing it to production. Through the close collaboration of Brocoders and the iFit team, we delivered a well-tested version of the integrations to customers.

The team arrived already working together and joined iFit's process. That is how our senior engineering pods work.

  • Team lead
  • Senior backend engineers
  • QA engineer
  • Project manager
  1. December 2020 to January 2021

    iFit finds Brocoders, interviews the team and signs.

  2. Feb. 1, 2021

    The backend team starts on the integrations.

  3. April 2021

    A QA engineer joins the team.

  4. March 2022

    The team finishes its work for iFit.

Two people intensely running on steep incline treadmills in a gym

FAQ: the iFit Strava, Garmin and Google Fit integrations

The backend: the services that synced workouts between the iFit app and Apple Health, Strava, Garmin, Google Fit, Oura Ring and Amazon Halo, from Feb. 1, 2021, to March 2022, 14 months. A frontend team on iFit's side built the screens on our endpoints. The team ran as one of our senior engineering pods.

Apple Health, Strava and Google Fit synced both ways: workouts went from iFit to the service and from the service to iFit. Garmin synced one way. We added Oura Ring and Amazon Halo later.

In a 12-month view of iFit's analytics, about 54,800 members connected Apple Health, about 18,700 connected Strava, about 17,900 connected Garmin and about 8,100 connected Google Fit. These are unique members per service. One member could connect more than one.

It was an ETL pipeline. It extracted data from the source app by API, transformed it and loaded it into the target app, then saved the sync result. The transform step dropped duplicate activities, found and corrected erroneous data, and converted formats and pictures before anything reached the target app.

At the time, Strava allowed 100 requests every 15 minutes and 1,000 per day by default. As iFit's user numbers grew, the team spaced out requests: more frequent requests, fewer at any one time.

Two reasons. Each sync took about 2 hours, and values such as average speed could be a few seconds off iFit's, since Google did not publish how it calculated them. Help came only from public forums at the time.

Yes. Our Node.js team builds integrations with fitness and health services and joins your process as a pod, next to your own frontend team.

More integrations and fitness work

Why choose us

85+
products shipped
87
engineers, about 60% senior
12
years of experience
40
reviews on Clutch, rated 5.0
  • Top Web Developers in Tallinn 2026 by Clutch
  • GoodFirms logo in blue and white colours
  • Top Software Development Company in USA by TechReviewer
  • Upwork top rates logo
  • DesignRush logo for Top outsourcing software development companies
  • CFWAP Compliancy Group Proficiency 2026/27
  • CHWP HIPAA Basics Compliancy Group Proficiency 2026/27

Want to develop something similar?

We are thrilled about the opportunity to provide software development services for your business

Rodion Salnik

Rodion Salnik

CTO and Co-founder at Brocoders

Pick a date that works for you to see available times to meet with me and discuss your project needs. Looking forward to meeting you!

Book a call