> [!example]
> [[My Habits]]
> [[My Habits Board.canvas|My Habits Board]] (canvas)
> [[My habit]]
## Why
[[My Resources/My MOCs/Habits]] help us consistently make progress towards our ideal life, goals, and projects.
Part of [[USV and Life Design]]
## What
### Types
There are two types of habit tracking metrics:
- Task (concrete), which is whether you completed something or not
- Metric (variable), which is for tracking some numerical value
#### Task
For when your habit is a specific action that you do or not do.
Did you brush your teeth or did you not?
This naturally integrates into the tasks I have in my routines in [[Daily Template#Today]]
However, the line between the two types of tracking metrics can be blurry; Some goals like following your calorie intake can be concrete metrics, but I personally think that variable metrics would be better for that for nuance in the tracked value.
#### Metric
For when you want to see a spectrum of how close you were to achieving your target, which helps you gain insights on the quantitative statistics tracking of your habit.
By seeing the variability, your results aren't black and white, and you can see how close you were to following your ideal metrics.
When I was tracking my calories and protein intake, I used a variable input since I also used it to keep track as the day progresses.
I put these fields in the bottom of my daily notes in [[Daily Template#Reflection]], and I set up [[Implementation intentions]] to remember to track them after a situation where I needed to.
These would then be tracked by adding it into your [[Daily notes#Trackers]] field.
## How
To see how I create habits in Obsidian, see [[My habits workflow]]
To see how I track habits, see [[My habit tracking workflow]]
### Structure
#### Habits
### Metadata
#### Goal
Linking it to an area will let it show in [[Areas#Goals]]
#### Area
Linking it to an area will let it show in [[Areas#Habits]]
#### Frequency
How often you want to do the habit
#### HabitGroup
If you wanted to group a habit alongside other ones. In my case, I use this field to determine when I usually do this habit:
- `Fitness` would have `HabitGroup` `Afternoon`
- [[Eat greens]] has `HabitGroup` `Post-shower`
#### Tracking related
The following metadata is used for [[My habit tracking workflow]]
##### HabitId
The metadata field you have in your daily notes for tracking this metric
ex. `Meditate`
##### HabitType
The type of habit the metadata field is:
- `number`
- `checkbox`
You will still need to configure the property field itself to the correct type if it's the first time you're adding the field to a note, but it should persist across other notes after. To do this, just click on the icon to the left of the property name, click `Property type`, set to what you want it to be.
##### HabitLabel
The display name of the label to show in the habit tracker.
##### HabitEmoji
The emoji to represent your habit in the habit tracker.
##### HabitUnit
The unit to display in the statistic views. You can see existing units and add your own at [[My Habits Config]].
##### HabitDailyGoal
(Required if the habit has [[#HabitType]] set to number)
The number required to consider a number-based habit as completed for a given day.
When clicking on a habit in the tracker view, it will automatically set the value to this value (checkbox habits will just be toggled checked/unchecked).
##### HabitQuarterlyGoal
The value you want to hit for the current quarter.
If set, this will also show a weekly goal based, and will show your progress for the 7 days since the date chosen.