Skip to content

Conversation

westonruter
Copy link
Collaborator

The Google Analytics integration should not be part of WordPress core and thus not part of the PWA plugin. To achieve integration with Google Analytics, the code should be added to the service worker by another plugin that is responsible for Google Analytics (e.g. Site Kit).

  • Omit the workbox-offline-ga module.
  • Omit Google Analytics cache name logic from workbox-core
  • Omit Google Analytics from workbox-sw lazy-loading logic.

@westonruter westonruter changed the base branch from master to develop June 19, 2020 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant