offlineHitLimit
- Topics:
- Variables
CREATED FOR:
- Admin
- Developer
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.
Offline hit limit using the Web SDK
The Web SDK does not support offline tracking.
Offline hit limit using the Adobe Analytics extension
There is not a dedicated field in the Adobe Analytics extension to use this variable. Use the custom code editor, following AppMeasurement syntax.
s.offlineHitLimit in AppMeasurement and the Analytics extension custom code editor
The s.offlineHitLimit
variable is an integer representing the maximum number of hits that a device stores while they are offline. If this variable is not defined, it defaults to 10
. You can set it to any integer value. When setting high values, be mindful of local storage caps in a visitor’s browser. This limit is typically 5 - 10 MB.
s.offlineHitLimit = 100;
Analytics
- Implement Adobe Analytics
- Analytics Release Notes
- AppMeasurement release notes
- Analytics variables, functions, and methods
- Overview
- Configuration variables
- Configuration variables overview
- abort
- account
- ActivityMap.linkExclusions
- ActivityMap.regionExclusions
- ActivityMap.regionIDAttribute
- charSet
- collectHighEntropyUserAgentHints
- cookieDomain
- cookieDomainPeriods
- cookieLifetime
- currencyCode
- decodeLinkParameters
- dynamicVariablePrefix
- fpCookieDomainPeriods
- linkDownloadFileTypes
- linkExternalFilters
- linkInternalFilters
- linkLeaveQueryString
- linkTrackEvents
- linkTrackVars
- linkURL
- offlineHitLimit
- offlineThrottleDelay
- trackDownloadLinks
- trackExternalLinks
- trackingServer
- trackingServerSecure
- trackInlineStats
- trackOffline
- useBeacon
- useLinkTrackSessionStorage
- usePlugins
- visitorID
- visitorNamespace
- writeSecureCookies
- Page variables
- Functions and methods
- Plug-ins
- Plug-ins overview
- addProductEvar
- addProductEvent
- apl
- cleanStr
- formatTime
- getAndPersistValue
- getGeoCoordinates
- getNewRepeat
- getPageLoadTime
- getPageName
- getPercentPageViewed
- getPreviousValue
- getQueryParam
- getResponsiveLayout
- getTimeBetweenEvents
- getTimeParting
- getTimeSinceLastVisit
- getTimeToComplete
- getValOnce
- getVisitDuration
- getVisitNum
- inList
- manageVars
- Numbers suite
- p_fo
- pt
- removeFromList
- Integrate module
- Prepare to implement Adobe Analytics
- Implement Analytics using Experience Platform Edge
- Implement Analytics using the Adobe Analytics extension
- Implement Analytics using JavaScript
- Implement Analytics on other platforms
- Implement Analytics on mobile devices
- Implementation use cases
- Validate your implementation
- Frequently asked questions
- Review your implementation