{"id":732,"date":"2025-02-12T14:07:48","date_gmt":"2025-02-12T14:07:48","guid":{"rendered":"https:\/\/essays-in-software.com\/good-day\/?post_type=docs&#038;p=732"},"modified":"2025-03-12T14:36:53","modified_gmt":"2025-03-12T14:36:53","password":"","slug":"add-new-habit","status":"publish","type":"docs","link":"https:\/\/essays-in-software.com\/good-day\/docs\/web-good-day\/add-new-habit\/","title":{"rendered":"Add new habit"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Clicking on the &#8216;Add&#8217; action panel button will change the data area to show the &#8216;Add new habit&#8217; form.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"537\" src=\"https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123-1024x537.png\" alt=\"\" class=\"wp-image-972\" style=\"width:1200px;height:auto\" srcset=\"https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123-1024x537.png 1024w, https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123-300x157.png 300w, https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123-768x402.png 768w, https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123-360x189.png 360w, https:\/\/essays-in-software.com\/good-day\/wp-content\/uploads\/2025\/02\/image-123.png 1483w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">A new habit will required a number of key fields to be input.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What\/title:   A short description of what the habit represents<\/li>\n\n\n\n<li>Start:  when the habit is start being tracked,  either as a relative or specific date.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finish: when habit tracking will finish.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Frequency:  the habit tracking frequency.   This is either daily, weekly or monthly.   The frequency determines when the habit tracking &#8216;pass&#8217;  or &#8216;fail&#8217; will be checked.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Complete by:   the method by which habit tracking will be collected.    There are three options:\n<ul class=\"wp-block-list\">\n<li>Done\/not done:  This is a simple yes\/no boolean check on whether the habit was completed for that frequency.  For example, if the habit is defined as &#8220;Go for a long walk every day&#8217;, then the tracking will ask the user to confirm whether a walk was completed each day. <\/li>\n\n\n\n<li>Count:  This is used when habit tracking is counting a number of instances occurring during a tracking frequency period.  For example,  drinking three glasses of water every day.<\/li>\n\n\n\n<li>Accumulation:  This is used to track the accumulation of a value over the tracking frequency period.   The user will be prompted to enter the target value and the measure type (i.e. distance, weight, money).   For example,  a habit for cycling 100km a week. <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Adoption pass %:    At the set frequency period,  the user will be prompted to record whether the habit tracking target method was reached\/passed or not.  The Adoption pass percentage is the target set for the number of times a pass is required over an assessment period.   For instance,  the habit might be defined as &#8220;Drink water 3 x times day&#8221;, with a pass percentage of 90% over 66 days.  This means that the target adoption pass is the user meeting the habit target 60 times over a rolling 66 days period<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Assessment period:  This is period over which the adoption pass percentage will be assessed.  By default, this is set to 66 days, as all the research adoption suggests that this is the required period for a new habit to become accepted and routine. <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Some examples of habit definitions would include:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Habit title: <em>Eat 5 pieces of fruit every day for 30 days<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The frequency would be set a &#8216;daily&#8217;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The &#8216;Complete by&#8217; field would be set to &#8216;Count&#8217; with a target of 5<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The assessment period would be 30 days and the adoption pass % would be 100%<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Habit: <em>Read a fiction book every day<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The frequency would be set a &#8216;daily&#8217;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The &#8216;Complete by&#8217; field would be set to &#8216;Done\/not done&#8217; <\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The assessment period would be left at 66 days with a 90% adoption rate<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Habit: <em>Take a long walk three times a week for the next 3 months<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The frequency would be set a &#8216;weekly&#8217;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The &#8216;Complete by&#8217; field would be set to &#8216;Count&#8217; with a target of 3<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The assessment period would be 3 months and the adoption pass % would be 95%<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Habit: <em>Cycle 100km every week for 12 weeks<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The frequency would be set a &#8216;weekly&#8217;<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The &#8216;Complete by&#8217; field would be set to &#8216;Accumulation&#8217; with a target of distance and 100km<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The assessment period would be 12 weeks and the adoption pass % would be 100%<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">When the new habit is fully defined, the user should click on the &#8216;Save&#8217; button at the bottom of the form to save the details,<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note:  a newly created habit can only be tracked if the current date is after the new habit start date. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Clicking on the &#8216;Add&#8217; action panel button will change the data area to show the &#8216;Add new habit&#8217; form. A new habit will required a number of key fields to be input. Some examples of habit definitions would include: Habit title: Eat 5 pieces of fruit every day for 30 days Habit: Read a fiction [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"doc_category":[11],"glossaries":[],"doc_tag":[19],"knowledge_base":[28],"class_list":["post-732","docs","type-docs","status-publish","hentry","doc_category-habits","doc_tag-web","knowledge_base-web-good-day"],"year_month":"2026-05","word_count":572,"total_views":"301","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"davout","author_nicename":"dkknamugfgsc","author_url":"https:\/\/essays-in-software.com\/good-day\/author\/dkknamugfgsc\/"},"doc_category_info":[{"term_name":"Habits","term_url":"https:\/\/essays-in-software.com\/good-day\/docs\/mobile-good-day\/habits\/"}],"doc_tag_info":[{"term_name":"web","term_url":"https:\/\/essays-in-software.com\/good-day\/docs-tag\/web\/"}],"knowledge_base_info":[{"term_name":"Web Good Day","term_url":"https:\/\/essays-in-software.com\/good-day\/docs\/web-good-day\/","term_slug":"web-good-day"}],"knowledge_base_slug":["web-good-day"],"_links":{"self":[{"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/docs\/732","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/comments?post=732"}],"version-history":[{"count":3,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/docs\/732\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/docs\/732\/revisions\/974"}],"wp:attachment":[{"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/media?parent=732"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/doc_category?post=732"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/glossaries?post=732"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/doc_tag?post=732"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/essays-in-software.com\/good-day\/wp-json\/wp\/v2\/knowledge_base?post=732"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}