cookie
cookie is an object with the following properties:
- key - the name of the cookie
- daysToExpire - the number of days until the cookie expires
Default
key: 'exit-intent' daysToExpire: 30
Example
useExitIntent({ cookie: { key: 'exit-intent', daysToExpire: 30 } })