Having trouble with Track Better? This guide covers the most common issues and how to resolve them.
App Not Loading
If the app fails to load or shows a blank screen:
Check Browser Compatibility
Track Better works best on modern browsers:
- Chrome/Edge 90+
- Firefox 88+
- Safari 14+
Clear Browser Cache
- Open your browser settings
- Navigate to Privacy or Clear browsing data
- Select Cached images and files
- Clear the cache for the last 24 hours
- Reload Track Better
Service Worker Issues
If the app was working but suddenly stopped:
- Open browser DevTools (F12)
- Go to Application > Service Workers
- Click Unregister next to the Track Better service worker
- Refresh the page
The service worker will automatically re-register and the app should load normally.
Data Not Saving
Check LocalStorage Availability
Track Better uses browser localStorage to save your data. If data isn’t persisting:
- Ensure you’re not in Private/Incognito mode (localStorage is restricted)
- Check that cookies and site data are not blocked for this domain
- Verify localStorage is enabled in browser settings
Storage Quota Exceeded
If you see errors about storage being full:
QuotaExceededError: Failed to execute 'setItem' on 'Storage'
Solution:
- Go to Settings tab in Track Better
- Export your data to create a backup
- Use Hard Reset All Data to clear old data
- Import your data to restore recent progress
See Data Management for more details on managing localStorage.
Verify Data is Saving
- Open browser DevTools (F12)
- Go to Application > Local Storage
- Look for entries like
completedExercises, userName, activeTab
- If these are present, data is saving correctly
Videos Not Playing
Exercise demonstration videos may fail to load for several reasons:
Network Connection
Videos require an internet connection to load (they’re not cached locally).
- Check your internet connection
- Try loading the video again
- If on mobile data, verify you have sufficient bandwidth
Ad Blockers
Some ad blockers may interfere with YouTube embeds:
- Temporarily disable your ad blocker
- Refresh the page
- Add Track Better to your ad blocker’s allowlist
YouTube Restrictions
In some regions or networks, YouTube may be restricted:
- Try accessing YouTube directly to verify it works
- Use a VPN if YouTube is blocked in your region
- If on a work/school network, videos may be blocked by firewall
PWA Installation Issues
The Install App button appears based on browser support:
Chrome/Edge:
- Button appears automatically when install criteria are met
- Must visit the app at least once
- Must not already be installed
Firefox:
- No native install prompt (use “Add to Home Screen” manually)
Safari (iOS):
- No install button (use Share > Add to Home Screen)
Manual Installation
On Desktop (Chrome/Edge):
- Click the install icon in the address bar
- Or go to menu > Install Track Better
On iOS (Safari):
- Tap the Share button
- Scroll down and tap Add to Home Screen
- Name it “Track Better” and tap Add
On Android (Chrome):
- Tap the menu (three dots)
- Select Add to Home Screen or Install app
- Confirm the installation
App Not Working After Install
If the installed PWA doesn’t work properly:
- Uninstall the app
- Clear browser cache and localStorage
- Visit the web version and verify it works
- Reinstall the PWA
Theme Not Switching
If toggling between light and dark mode doesn’t work:
Cache the Theme State
The theme preference is stored in localStorage as theme.
- Open DevTools > Application > Local Storage
- Find the
theme key
- Change the value to
"light" or "dark" manually
- Refresh the page
Clear Theme Cache
- Click the theme toggle button multiple times
- Refresh the page
- If still not working, clear localStorage:
- DevTools > Application > Local Storage
- Right-click > Clear
- Refresh and set theme again
Reset Today’s Workout Not Working
If the “Reset Today’s Workout” button doesn’t clear your progress:
Manual Reset
- Open DevTools (F12)
- Go to Application > Local Storage
- Find
completedExercises key
- Click to edit the JSON value
- Remove the entry for today’s date (format:
YYYY-MM-DD)
- Save and refresh the page
Streak Counter Incorrect
If your streak count seems wrong:
How Streaks Are Calculated
The app counts consecutive days with at least one completed exercise. The streak calculation in App.jsx:46-65:
- Starts from today and counts backward
- Breaks when it finds a day with no completed exercises
- Only checks the last 365 days
Fix Incorrect Streak
Your data in localStorage might have gaps or corruption:
- Export your data as backup
- Open DevTools > Application > Local Storage
- Review
completedExercises entries
- Look for missing dates or corrupted entries
- Manually fix JSON if needed (advanced users only)
Export/Import Not Working
Export Issues
If clicking Export Data doesn’t download a file:
- Check browser download settings
- Ensure pop-ups are not blocked
- Try a different browser
- Manually copy localStorage data (see Data Management)
Import Issues
If importing data shows an error:
“Invalid file format”:
- Ensure you’re uploading a JSON file exported from Track Better
- File must contain
completedExercises field
- Check that JSON is valid (use a JSON validator)
“Failed to parse file”:
- The JSON file may be corrupted
- Try opening the file in a text editor to verify format
- Re-export from the original source
Getting More Help
If your issue isn’t covered here:
- Check the FAQ for common questions
- Review Data Management for storage issues
- Open an issue on GitHub
- Contact the creator via social links in the Settings tab
Before performing a hard reset or clearing data, always export your data to create a backup. Data loss cannot be recovered without a backup.