This page describes how to use Adobe Analytics with Progressive Web Apps (PWAs).
PWAs can provide a native app experience, as well as offline capabilities, for a website. Usually PWAs include a service worker, caching provisions, and a manifest file, all of which can help with faster load times, easier navigation, and responsive behavior.
Adobe Analytics works as seamlessly with PWAs as it does with traditional websites. Although PWAs have a few more requirements to behave progressively in and of themselves, they do not create any barriers or limitations on how Analytics gathers or reports data from them any differently than traditional websites. In fact, because Analytics already includes offline tracking capabilities, PWAs can help you leverage this built-in feature more easily than with traditional websites.
To collect and analyze your PWA data with Analytics, you do not need to make any configuration changes. Analytics automatically provides all the same functionality and features as it would with a traditional website.
You can increase the effectiveness of your PWA by using Adobe Analytics offline tracking capabilities with it. By default, this feature is turned off, but you can add the following property to the AppMeasurement.js file to turn it on:
For example, in the following AppMeasurement.js file, the property is added to the end of the
For more information about configuring the AppMeasurement.js file, see Configuration variables overview and the individual variable-specific pages in the same subchapter.