{"id":21595,"date":"2024-12-17T11:03:57","date_gmt":"2024-12-17T09:03:57","guid":{"rendered":"https:\/\/aivie.ch\/faq\/how-can-i-create-a-segment-with-all-contacts-who-have-been-active-in-the-last-2-weeks\/"},"modified":"2026-01-11T14:59:22","modified_gmt":"2026-01-11T12:59:22","slug":"how-can-i-create-a-segment-with-all-contacts-who-have-been-active-in-the-last-2-weeks","status":"publish","type":"faq","link":"https:\/\/aivie.ch\/en\/faq\/how-can-i-create-a-segment-with-all-contacts-who-have-been-active-in-the-last-2-weeks\/","title":{"rendered":"How can I create a segment with all contacts who have been active in the last 2 weeks?"},"content":{"rendered":"\n<p>Aivie allows the use of relative dates such as &#8220;<strong>-2 weeks<\/strong>&#8221; when creating and filtering segments for active contacts.<\/p>\n\n<!--more-->\n\n<p>Here is an example of how to filter out all leads that have been active in the last 2 weeks:<\/p>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1920\" height=\"625\" src=\"https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-1920x625.png\" alt=\"Filtering segments for active contacts\" class=\"wp-image-14215\" title=\"\" srcset=\"https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-1920x625.png 1920w, https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-960x312.png 960w, https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-768x250.png 768w, https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-1200x390.png 1200w, https:\/\/cdn.aivie.ch\/media\/wp\/2023\/07\/18125019\/image-480x156.png 480w\" sizes=\"auto, (max-width: 1920px) 100vw, 1920px\" \/><\/figure>\n\n<p>Other possible values are e.g.  <\/p>\n\n<p>+1 day \/ 1 day<\/p>\n\n<p>-2 days \/ 2 days ago<\/p>\n\n<p>+1 week \/ -2 weeks \/ 3 weeks ago<\/p>\n\n<p>+5 months \/ -6 months \/ 7 months ago  <\/p>\n\n<p>+1 year \/ -2 years \/ 3 years ago<\/p>\n\n<p><\/p>\n\n<p>Note: If the relative value is not recognized, the current date is displayed after saving.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Aivie allows the use of relative dates such as &#8220;-2 weeks&#8221; when creating and filtering segments for active contacts.<\/p>\n","protected":false},"featured_media":0,"template":"","categories":[],"tags":[],"FaqCategories":[296,390],"FaqTags":[911,289],"class_list":["post-21595","faq","type-faq","status-publish","hentry","FaqCategories-data-evaluation","FaqCategories-segments","FaqTags-report-en","FaqTags-segment-en"],"acf":[],"featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","post-thumbnail":"","aiv_480w":"","woocommerce_thumbnail":"","woocommerce_single":"","woocommerce_gallery_thumbnail":""},"post_excerpt_stackable_v2":"<p>Aivie allows the use of relative dates such as &#8220;-2 weeks&#8221; when creating and filtering segments for active contacts. Here is an example of how to filter out all leads that have been active in the last 2 weeks: Other possible values are e.g. +1 day \/ 1 day -2 days \/ 2 days ago +1 week \/ -2 weeks \/ 3 weeks ago +5 months \/ -6 months \/ 7 months ago +1 year \/ -2 years \/ 3 years ago Note: If the relative value is not recognized, the current date is displayed after saving.<\/p>\n","category_list_v2":"Uncategorized","author_info_v2":{"name":"","url":""},"comments_num_v2":"0 comments","_links":{"self":[{"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/faq\/21595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/types\/faq"}],"version-history":[{"count":2,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/faq\/21595\/revisions"}],"predecessor-version":[{"id":27677,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/faq\/21595\/revisions\/27677"}],"wp:attachment":[{"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/media?parent=21595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/categories?post=21595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/tags?post=21595"},{"taxonomy":"FaqCategories","embeddable":true,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/FaqCategories?post=21595"},{"taxonomy":"FaqTags","embeddable":true,"href":"https:\/\/aivie.ch\/en\/wp-json\/wp\/v2\/FaqTags?post=21595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}