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.
trackOffline variable determines if you want to use offline tracking in your implementation.
You must configure your report suite to accept timestamped hits before enabling this variable. If a report suite does not accept timestamped hits and this variable is enabled, that data is lost and cannot be recovered.
When enabled, AppMeasurement uses the following process to send data to Adobe:
There is not a dedicated field in the Data Collection UI to use this variable. Use the custom code editor, following AppMeasurement syntax.
s.trackOffline variable is a boolean that enables or disables offline tracking. Its default value is
false. Set this value to
true if you want to enable offline tracking.
s.trackOffline = true;