# How the app tracks

What the app changes on your Mac, what it reads, when games are sent, and what it keeps on the computer.

The app reads Hearthstone’s own log files and nothing else of the game. It never changes the game, and nothing it does is sent to the game.

## What it changes

- **log.config**: In `~/Library/Preferences/Blizzard/Hearthstone/`. The app turns on the **[Power]** and **[Decks]** logs and keeps everything else in the file. It checks the file each time it opens.
- **client.config**: In the Hearthstone install folder. The app lifts the log’s 10 MB size limit with **[Log]**, so a long session’s Power.log is not cut off mid-game. It keeps everything else in the file.

Hearthstone reads these files only when it starts. When the app has just turned logging on, it says **Restart Hearthstone**. Restart it once and the next session is logged.

## Where it looks

The app looks for Hearthstone in `/Applications/Hearthstone`. If yours is elsewhere, choose **Find Hearthstone**, or **Choose folder…** in **Settings › Hearthstone**, and pick the folder Hearthstone is installed in. Each time Hearthstone starts, it writes a new session folder under **Logs** there; the app reads the newest.

## When games are sent

- When a game ends, the app reads it in full and sends it to your account with the deck you queued.
- While a game is in progress, it uploads what both players can see at the table, turn by turn: each side’s health, armour and mana, how many cards each holds and has left in their deck, and the cards played face up in the last few turns. Never your hand or your deck list. These uploads are deleted a day after the game.
- Offline or signed out, finished games wait on the computer and go up as soon as they can. **Settings › Sending** shows what is waiting, and **Send now** tries at once.
- A game whose result the app needs from you waits on **Home**: choose **Win**, **Loss**, **Draw** or **Don’t count it**. **Settings › Sending › Give results** takes you there.

Your ranked games count in the [community stats](https://www.gankly.com/docs/community-stats) unless you turn that off on the web. Hearthstone’s log does not say your rank, so the app asks: see [Your rank](https://www.gankly.com/docs/mac/settings#your-rank).

## Earlier sessions

Hearthstone keeps each session’s logs. If logging was already on before you installed the app, **Settings › Hearthstone › Earlier sessions › Import their games** reads them and sends the games it finds. Games already on your account are never added twice.

## What stays on the computer

- Your settings, the games waiting to send, the recent games list, the decks from your collection, and the overlays’ positions. The app’s sign-in is encrypted by macOS’s Keychain.
- The newest 200 finished games, turn by turn, with each mulligan: what the **Luck** tab in [Data](https://www.gankly.com/docs/mac/views#data) reads. Your account keeps each game’s cards, not its turns.
- A copy of your account’s latest answers, so the app still shows them, marked as of when they were fetched, when gankly.com cannot be reached. It is cleared when you disconnect.

## When games do not arrive

- **Settings › Hearthstone** shows four checks under **Ready to track**: Hearthstone found, logging on, Hearthstone open, and your account connected. The one that has not passed says what to do.
- If it says **Restart Hearthstone**, quit Hearthstone and open it again.
- If it says **Hearthstone not found**, choose **Find Hearthstone** and pick its install folder.
- **Settings › Sending** lists games waiting to send, and under **Turned away**, any games Gankly did not keep, with its reason.
- Still stuck: **Settings › About › Copy diagnostics**, and send what it copies to [support@stacklumen.com](mailto:support@stacklumen.com). **See what’s copied** shows it first.
