The open source plugin for productivity metrics, goals, leaderboards, and automatic time tracking.
Inside Brackets select to File → Extension Manager….
Search for WakaTime, then click Install.
Enter your API key
Use Brackets like you normally do and your time will be tracked for you automatically.
Visit https://wakatime.com/dashboard to see your coding activity.