Skip to main content

browser-tracker.localstorageeventstoreconfigurationbase

Home > @snowplow/browser-tracker > LocalStorageEventStoreConfigurationBase

LocalStorageEventStoreConfigurationBase interface

Signature:
interface LocalStorageEventStoreConfigurationBase extends EventStoreConfiguration 

Extends: EventStoreConfiguration

Properties

PropertyTypeDescription
maxLocalStorageQueueSize?number(Optional) The maximum amount of events that will be buffered in local storageThis is useful to ensure the Tracker doesn't fill the 5MB or 10MB available to each website should the collector be unavailable due to lost connectivity. Will drop events once the limit is hit
useLocalStorage?boolean(Optional) Whether to use localStorage at all Default is true