Skip to main content
Latest
interface ITrackingManagerConfig
import { type ITrackingManagerConfig } from "https://deno.land/x/flagship_io_js_sdk@3.3.2/config/TrackingManagerConfig.ts";

Properties

optional
batchIntervals: number

Define a regular interval in seconds to trigger batch processing

Note:

  • The process will batch all hits from the pool whether poolMaxSize is reached or not
  • Must be between 1sec and 10800s (3hours). Otherwise default value will be applied
optional
poolMaxSize: number

Define the minimum number of hits the pool must reach to automatically batch all hits in the pool and send it

Note:

  • Must be greater than 5 otherwise default value will be used
  • Having a large poolMaxSize can lead to performance issues
optional
cacheStrategy: CacheStrategy

Define the strategy that will be used for hit caching