# Tag/source folder based time tracking

**URL:** <https://forum.obsidian.md/t/tag-source-folder-based-time-tracking/51838>\
**Category:** Plugins ideas (Archival in progress)\
**Created:** [January 9, 2023, 7:48am UTC](https://forum.obsidian.md/t/tag-source-folder-based-time-tracking/51838 "2023-01-09T07:48:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iv3llios](https://forum.obsidian.md/user_avatar/forum.obsidian.md/iv3llios/32/36204_2.png) [@Iv3llios](https://forum.obsidian.md/u/Iv3llios)\
**Post date:** [January 9, 2023, 7:48am UTC](https://forum.obsidian.md/t/tag-source-folder-based-time-tracking/51838/1 "2023-01-09T07:48:46Z")

</div>

My biggest issue with all the time trackers out there is usually that they are either too broad (and will only provide me with the time spend in Obsidian, which isn’t very useful given I now use it for many many different aspects of my life/work), or too high workload (you have to manually toggles the various timers).

One approach I however have not seen anywhere though is a tag/source folder based one. All my notes are tagged based on their content and purpose. They are also classified in various folders based on a certain number of categories. A knowledge note will contain the field of studies, and a project related note will contain the project note. It turns out this is exactly the structure I would want reflected in the timer data breakdown.

If there was a way of simply logging when and how long a note was opened/edited for, it would be relatively trivial to then “categorise” these various duration into different projects based on the tags, source folder, and even date. An example of a log could be as follows:

2023-01-09\_08:12:11-08:28:34\_Note\_name

This could then be further enhanced with a bit of manual post-processing by being able to add tags to the logs themselves.

This would eventually allow for a robust time-tracking approach, it being fully “structure free” in the logging process, and the interpretation step/structuration of the data being determined based on each note’s current content and location. The system would still allow for modifying tags, the logs being tag-independent, and even note renaming (given the log file isn’t too big and can be parsed quickly to be adjusted.

Additionally, this logging approach is also local first, sticking by the Obsidian ethos and ensuring the data is also available for other tools to leverage if need be.

I do not have the technical background to put this together, but this approach I believe could prove very effective for unlocking accurate time tracking in obsidian!

If anyone has the knowledge and time to take it on, feel free to do so!

---

<div class="post-metadata">

**Author:** ![tophee](https://forum.obsidian.md/user_avatar/forum.obsidian.md/tophee/32/38947_2.png) [@tophee](https://forum.obsidian.md/u/tophee)\
**Post date:** [January 23, 2023, 8:22pm UTC](https://forum.obsidian.md/t/tag-source-folder-based-time-tracking/51838/2 "2023-01-23T20:22:56Z")

</div>

> [@Iv3llios](#):
>
> One approach I however have not seen anywhere though is a tag/source folder based one.

If you are on Mac, you may be able to achieve what you want with _Timing_:

> **[Timing Automatic Mac Time Tracker – Manual Timers Optional](https://timingapp.com/?lang=en)**
>
> Timing saves you time by automatically tracking your time. It logs apps, websites, and documents. It can also help you bill time and still do start/stop timers, if needed.

This app can’t read the tags inside your obsidian notes, but it does read the file name and path of the note. It then allows you to parse these paths and assign them to projects/ tasks.
