Delays after behaviors

24-hours after the user closes your application

{
    "context": {
      "foreground": false
    },
    "delay": 86400,
    "name": "24hours after closing app",
    "type": "all"
}

15 minutes after the user departs from work

{
    "context": {
      "departedFrom": {
        "type": "work"
      }
    },
    "delay": 1800,
    "name": "fifteen minutes after leaving work",
    "type": "all"
}

30 seconds after a custom in-app event

{
    "context": {
      "tracked": {
          "conditions": [
              {
                  "greaterThanCount": 1,
                  "inPastInterval": 86400
              }
          ],
          "event": "added-item-to-cart"
        }
    },
    "delay": 30,
    "name": "30 seconds after item added to cart",
    "type": "all"
}

Environment triggers

Arrived at home and on wifi

{
    "context": {
        "arrivedAt": {
            "type": "home"
        },
        "onWifi": true
    },
    "delay": 0,
    "name": "At home on wifi",
    "type": "all"
}

Charging but not on wifi

{
    "context": {
        "onWifi": false,
        "pluggedIn": true
    },
    "delay": 0,
    "name": "Power but no wifi",
    "type": "all"
}

Environment triggers

On any trip to home

{
    "context": {
        "onTrip": {
          "from": "any",
          "to": "home",
          "type": "any"
        }
    },
    "delay": 0,
    "name": "Any trip to home",
    "type": "all"
}

Departed any location

{
    "context": {
        "departedFrom": {
          "type": "any"
        }
    },
    "delay": 0,
    "name": "Any location departure",
    "type": "all"
}

At work late

{
    "context": {
        "atPlace": {
            "type": "work",
            "conditions": [
                "longerThanNormal",
                {"greaterThanCount": 5}
             ]   
        },
        "evening": true
    },
    "delay": 0,
    "name": "At work late",
    "type": "all"
}



Get in touch

results matching ""

    No results matching ""