Heartbeat events are sent:
every 2 minutes if you are actively using your text editor
when you switch between files
every time you write to a file
Heartbeat events contain data such as:
path of the currently opened file, website, or app
project names
branch names
editor names, for example ‘Vim’ or ‘VS Code’
languages, for example ‘Python’ or ‘JavaScript’
libraries/imports used, for example ‘Django’ or ‘Rails’
line counts of opened files
position of your cursor in opened files
your computer’s hostname, like ‘MacbookPro.local’ or ‘HOME-PC’
category, for example ‘Debugging’, ‘Building’, or ‘Coding’
your computer’s operating system name
your computer’s timezone
…and of course, timestamps