7 Interact on Wait
Description
In this example we will show you how to initiate an interaction by creating a timeout.
Note: We are using events built in to this API. No JavaScript is required.This page will automatically engage when it encouters a wait time exceeding 25 seconds. 0
<p>This page will automatically engage when it encouters a wait time exceeding 25 seconds. <span id="onwait-counter" class="text-success">0</span></p> <div data-fs-sequence="example-onwait"> <div data-fs-etag="onwait:interactions/interact-on-wait" data-fs-wait="interactions/interact-on-wait" data-fs-count="25" data-fs-params='{ "trigger": { "moduleid": "module-2410d449e70cdb75a0fccd29e7880c17" }, "rel": { "interaction": { "subject":"Example Interaction", "description": "Interact when wait time exceeds 25 seconds" } } }' data-fs-el="@module-2410d449e70cdb75a0fccd29e7880c17" data-fs-opt='{ "placement": "top", "theme": "white-translucent", "size": "md", "up": 40 }'></div> </div>