getDispatchInterval
The getDispatchInterval() method returns dispatch interval time. The default dispatch interval time is 30 seconds – batches are sent every 30 seconds.
Syntax
const currentDispatchInterval = await PiwikProSdk.getDispatchInterval();
Returns
Current dispatch interval, in seconds, or a negative number if automatic dispatch is disabled.
Examples
To get the dispatch interval time:
const currentDispatchInterval = await PiwikProSdk.getDispatchInterval();
Realated methods
Updated 6 days ago