Skip to main content

browser-tracker.eventstoreconfiguration.maxsize

Home > @snowplow/browser-tracker > EventStoreConfiguration > maxSize

EventStoreConfiguration.maxSize property

The maximum amount of events that will be buffered in the event store

This 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 old events once the limit is hit

Signature:
maxSize?: number;