maxNumberOfQueuedEvents
The maxNumberOfQueuedEvents() method sets the limit on the number of events stored in local storage. The default value is 500.
Syntax
[PiwikTracker sharedInstance].maxNumberOfQueuedEvents = events;
Parameters
events (number, required)
The limit on the number of events stored in local storage. Default value: 500. If set to 0, the size is unlimited.
Examples
To set the limit to 250 events:
[PiwikTracker sharedInstance].maxNumberOfQueuedEvents = 250;
Related methods
Updated 6 days ago