Skip to main content

Overview

Track Better’s data sync feature allows you to export your complete workout history as a JSON file and import it on another device. This is essential for:
  • Backing up your fitness data
  • Transferring data to a new device
  • Syncing progress across multiple devices
  • Keeping a permanent record of your journey
Always export your data before performing a hard reset or clearing your browser data. Once deleted, local data cannot be recovered.

Exporting Your Data

Export creates a complete snapshot of your workout journey:

How to Export

  1. Navigate to the Settings tab
  2. Find the Sync Your Data section
  3. Click the Export Data button
  4. A JSON file will automatically download to your device

Export File Details

The exported file is named with a timestamp for easy identification:
workout-journey-2026-03-07.json
Export your data regularly (weekly or monthly) to maintain up-to-date backups.

Data Structure

The exported JSON file contains all your workout data in a structured format:
{
  "userName": "John Doe",
  "exportDate": "2026-03-07T12:34:56.789Z",
  "completedExercises": {
    "2026-03-07": {
      "ex-101": [
        { "reps": 15, "loggedAt": "2026-03-07T08:30:00.000Z" },
        { "reps": 12, "loggedAt": "2026-03-07T08:32:00.000Z" },
        { "reps": 10, "loggedAt": "2026-03-07T08:34:00.000Z" }
      ],
      "ex-102": [
        { "reps": 20, "loggedAt": "2026-03-07T08:36:00.000Z" },
        { "reps": 18, "loggedAt": "2026-03-07T08:38:00.000Z" }
      ]
    },
    "2026-03-06": {
      "ex-301": [
        { "reps": 15, "loggedAt": "2026-03-06T09:00:00.000Z" },
        { "reps": 15, "loggedAt": "2026-03-06T09:02:00.000Z" },
        { "reps": 12, "loggedAt": "2026-03-06T09:04:00.000Z" }
      ]
    }
  },
  "summary": {
    "totalDaysTracked": 2,
    "totalSetsCompleted": 4,
    "currentStreak": 2
  }
}

Data Structure Breakdown

Your profile name set in the User Profile section.
ISO 8601 timestamp of when the data was exported.
Object containing all your logged exercises, organized by date (YYYY-MM-DD format). Each date maps exercise IDs to arrays of set logs with reps and timestamps.
Pre-calculated statistics including total days tracked, total sets completed, and current streak at the time of export.

Importing Your Data

Restore your workout history on any device by importing a previously exported JSON file:

How to Import

  1. Navigate to the Settings tab
  2. Find the Sync Your Data section
  3. Click the Import Data button
  4. Select your exported JSON file
  5. Wait for the success confirmation message
Successful import: “Data imported successfully! Your profile has been synced.”

Import Validation

Track Better validates the imported file to ensure data integrity:
  • File Format Check: Verifies it’s valid JSON
  • Structure Validation: Confirms the completedExercises object exists
  • Data Type Check: Ensures data structure matches the expected format

Common Import Errors

“Invalid file format”: The file doesn’t contain the required completedExercises field. Make sure you’re using a file exported from Track Better.
“Failed to parse file”: The file isn’t valid JSON or is corrupted. Try exporting your data again.
“Invalid data structure”: The data format doesn’t match what Track Better expects. Ensure you haven’t manually edited the JSON file.

Sync Workflow Examples

Scenario 1: New Device Setup

  1. Export data from your current device
  2. Transfer the JSON file to your new device (email, cloud storage, etc.)
  3. Open Track Better on the new device
  4. Import the JSON file
  5. All your progress is now synced

Scenario 2: Regular Backups

1

Weekly Export

Every Sunday, export your workout data
2

Store Safely

Save the file to cloud storage (Google Drive, Dropbox, etc.)
3

Keep Multiple Versions

The dated filename makes it easy to maintain multiple backup versions

Scenario 3: Multi-Device Usage

  1. Use Track Better on your phone during workouts
  2. Export data at the end of the day
  3. Import on your desktop to view detailed analytics
  4. Keep devices in sync with daily exports

Best Practices

Export Regularly

Set a weekly reminder to export your data

Store in Cloud

Save exports to cloud storage for access anywhere

Date Your Backups

The automatic timestamp helps track backup history

Test Imports

Occasionally test importing on a different device to ensure backups work

Data Portability

Your exported JSON file is:
  • Human-readable: Open in any text editor
  • Machine-readable: Easy to parse programmatically
  • Portable: Works across all devices and browsers
  • Future-proof: Standard JSON format ensures long-term compatibility
Because Track Better uses standard JSON format, you could even build your own tools to analyze or visualize your workout data.

Privacy & Security

Your workout data never leaves your device unless you manually export and share it.
  • No automatic cloud sync
  • No external servers involved
  • Complete control over your data
  • Choose where and how to store backups
See Profile Settings to learn more about your data and statistics.

Build docs developers (and LLMs) love