Skip to main content
Gym traffic counts the visit check-ins at your locations: how many check-ins each day or hour, and how many teammates came each week. It is aggregate only. It never names a teammate, and a figure that describes too few people is withheld. Your key needs insights:read. A test key reads test locations and test teammates; a live key reads live ones. The two never mix.

Who is counted

Only claimed teammates who allow usage_insights for your organization are counted. The answer is read at every request, so a teammate who turns it off is gone from every figure at your next request, past weeks included. Placeholders that were never claimed, teammates who said no or never answered, and teammates who left are not counted, even when you sent their check-ins yourself.

Read traffic

Figures are reported for whole weeks, Monday to Sunday, in each location’s own time zone. A week can be read once it has ended everywhere, two days after its Sunday. A range is split into its weeks and each week is reported on its own: there is no total across weeks. An hourly answer, shortened to two of the week’s hours (the real answer lists every hour of every day, and a second week for this range):
200
Every day (or every hour of every day) of the week is listed, whether or not anyone came. For the whole organization, location and time_zone are null and each check-in counts on its own location’s date.

Withheld figures

A figure is withheld when showing it could single out a teammate. A withheld figure has withheld: true and a null value. It is never rounded and never shown as zero.
  • Small groups. A check-in figure for fewer than min_group_size teammates (5, the same for every organization) is withheld. An hour nobody came looks the same as an hour one teammate came.
  • Totals. A day total is withheld when subtracting the figures you can see from it would give a withheld figure, for example a day with one shown busy hour and one quiet hour. The same applies to the organization’s day against its locations’ days.
  • Active teammates. A location’s figure is withheld below 5. The organization’s figure is also withheld when it would show, by subtraction, a group of 1 to 4 teammates, such as the few who went only to one small location.
Because a withheld figure stays withheld, totals of the figures you can see may be less than a shown total. That gap is the withheld part.

Errors

Requests count toward your key’s rate limits like any other.