Offline tracking is an optional way to collect data in Adobe Analytics. If a visitor disconnects from the internet but continues to browse your site, hits are stored in an offline queue until the device reconnects to the internet. Offline tracking is mostly used for mobile applications.
The offlineHitLimit
variable places a cap on the number of hits the device stores locally. This variable only works if trackOffline
is enabled.
There is not a dedicated field in the Adobe Analytics extension to use this variable. Use the custom code editor, following AppMeasurement syntax.
The s.offlineHitLimit
variable is an integer representing the maximum number of hits a device stores while they are offline. If this variable is not defined, there is no limit to the number of hits a device stores while offline.
s.offlineHitLimit = 100;