{"id":110365,"date":"2023-07-10T11:39:23","date_gmt":"2023-07-10T15:39:23","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=110365"},"modified":"2025-08-08T12:36:02","modified_gmt":"2025-08-08T16:36:02","slug":"how-to-use-the-inactivitysensor-in-optinmonster","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-use-the-inactivitysensor-in-optinmonster\/","title":{"rendered":"How to Use the InactivitySensor\u2122 in OptinMonster"},"content":{"rendered":"\n<p>OptinMonster makes it easy to recover abandoning website visitors and turn them into subscribers and customers. Our InactivitySensor\u2122 feature allows you to grab the attention of disengaged and abandoning visitors on any device (mobile, tablet, and desktops).<\/p>\n\n\n\n<p>In this article, you\u2019ll learn how to use OptinMonster&#8217;s InactivitySensor\u2122 to trigger a campaign.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column alert alert-info is-layout-flow wp-block-column-is-layout-flow\">\n<p><strong><em>Before you start<\/em><\/strong>, this feature is available with a <a href=\"https:\/\/optinmonster.com\/pricing\" target=\"_blank\" rel=\"noopener\" title=\"Pro and higher subscription\">Plus and higher subscription<\/a>.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p><em><strong>InactivitySensor\u2122 cannot be used with <a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-an-after-post-or-in-line-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Inline campaigns<\/a>.<\/strong><\/em><\/p>\n\n\n\n<p>InactivitySensor\u2122 detects the lack of activity on your site (like scrolling, clicking, etc) and triggers your targeted campaign.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">Configure InactivitySensor\u2122<\/h2>\n\n\n\n<p>When you&nbsp;<a href=\"https:\/\/optinmonster.com\/docs\/creating-your-first-optin\/\" target=\"_blank\" rel=\"noopener\" title=\"\">create a campaign<\/a> in OptinMonster you can capture abandoning leads by triggering it to appear using InactivitySensor\u2122.<\/p>\n\n\n\n<p>To enable InactivitySensor\u2122 on your campaign, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to the <strong>Display Rules<\/strong> view in the campaign builder.<br><img decoding=\"async\" width=\"800\" height=\"560\" class=\"alignnone size-full wp-image-180093\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view.jpg\" alt=\"Navigate to the Display Rules in the OptinMonster campaign builder.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view-300x210.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/06\/display-rules-view-768x538.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, when adding or editing a rule select <strong>When (Triggers)<\/strong> from the left-hand list and select the <strong>InactivitySensor\u2122 (Seconds of Inactivity)<\/strong> option.<br><img decoding=\"async\" width=\"800\" height=\"565\" class=\"alignnone size-full wp-image-180418\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-rule.jpg\" alt=\"InactivitySensor rule in OptinMonster.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-rule.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-rule-300x212.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-rule-768x542.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Choose the operator from the dropdown and adjust the time in seconds as desired.<br><img decoding=\"async\" width=\"686\" height=\"118\" class=\"alignnone size-full wp-image-180415\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-options.jpg\" alt=\"InactivitySensor options.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-options.jpg 686w, https:\/\/optinmonster.com\/wp-content\/uploads\/2023\/04\/inactivity-options-300x52.jpg 300w\" sizes=\"(max-width: 686px) 100vw, 686px\" \/><\/li>\n\n\n\n<li>When you&#8217;re finished, <strong>Save<\/strong> the campaign.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Examples<\/h2>\n\n\n\n<p>The most effective way to use this rule is to <a href=\"https:\/\/optinmonster.com\/docs\/how-to-do-page-level-targeting-with-optinmonster\/#example-mobile\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"How to Target Mobile Users\">target desktop and mobile users separately<\/a> since mobile and desktop visitors behave differently. Study <a href=\"https:\/\/optinmonster.com\/docs\/how-to-view-optinmonster-reports-on-google-analytics\/\" target=\"_blank\" rel=\"noopener\" title=\"How to Target Mobile Users\">your Google Analytics data<\/a> for your site and test your how many seconds of inactivity produce the best results for your site.<\/p>\n\n\n\n<p>Mobile visitors often scroll while they are actively engaged on your site, Also, many phone screens will dim after 30 or 60 seconds of inactivity on their own, and you&#8217;ll want your campaign to show before that happens. You will want to set a short inactive time period for mobile devices, like the one below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visitor inactive time is at least 10 seconds<br>AND<\/li>\n\n\n\n<li>Visitor&#8217;s device is mobile<\/li>\n<\/ul>\n\n\n\n<p>For desktop users, your delay may need to be longer, as visitors&#8217; monitors will not automatically dim or close like a mobile phone is more likely to do. Your Display Rules would look like this:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visitor inactive time is at least 60 seconds<br>AND<\/li>\n\n\n\n<li>Visitor&#8217;s device is desktop<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"faq\">FAQs<\/h2>\n\n\n\n<h5 class=\"wp-block-heading\">What&#8217;s the best way to use InactivitySensor\u2122 to get more subscriptions?<\/h5>\n\n\n\n<p>We recommend the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Combine this rule using an <strong>OR<\/strong> condition with <a href=\"https:\/\/optinmonster.com\/docs\/how-to-activate-exit-intent-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\"><strong>Exit-Intent<\/strong><\/a> to target users who get ready to leave OR stop browsing.<\/li>\n\n\n\n<li><a href=\"https:\/\/optinmonster.com\/docs\/how-to-create-a-split-test-in-optinmonster\/\" target=\"_blank\" rel=\"noopener noreferrer\" title=\"How to Create a Split Test in OptinMonster\">Create split tests<\/a> so you can determine the best time of inactivity for your site or type of visitor, for the most impressions, and more importantly a higher conversion rate.<\/li>\n\n\n\n<li>Set <a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-monstereffects-animations-to-your-lightbox-popup\/\" target=\"_blank\" rel=\"noopener\" title=\"\">MonsterEffects<\/a> and <a href=\"https:\/\/optinmonster.com\/docs\/how-to-add-sound-effects-to-your-campaign\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Sounds<\/a> to catch your distracted visitor&#8217;s attention.<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Is this the same as Mobile Exit-Intent?<\/h5>\n\n\n\n<p>No, InactivitySensor\u2122 triggers a campaign when a certain amount of time has passed and the visitor has not taken any action.<\/p>\n\n\n\n<p><a href=\"https:\/\/optinmonster.com\/how-to-create-a-mobile-exit-intent-popup\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Mobile Exit-Intent<\/a> is a separate feature that triggers a campaign when a visitor actively scrolls up on a mobile device, or clicks the browser &#8220;Back&#8221; button, depending on the rule&#8217;s sensitivity settings.<\/p>\n\n\n\n<p><a href=\"https:\/\/optinmonster.com\/docs\/how-to-activate-exit-intent-in-optinmonster\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Learn more about Mobile Exit-Intent<\/a>.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to recover abandoning website visitors and turn them into subscribers and customers. Our InactivitySensor\u2122 feature allows you to grab the attention of disengaged and abandoning visitors on any device (mobile, tablet, and desktops). In this article, you\u2019ll learn how to use OptinMonster&#8217;s InactivitySensor\u2122 to trigger a campaign. InactivitySensor\u2122 cannot be used&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[28201],"documentation\/tags":[31399,31498,31415,31856,31411,31456],"class_list":["post-110365","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-display-rules"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/110365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=110365"}],"version-history":[{"count":16,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/110365\/revisions"}],"predecessor-version":[{"id":197954,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/110365\/revisions\/197954"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=110365"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=110365"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=110365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}