You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question
How can I go about initializing an imported script? Specifically, I'm trying to implement Offline Google Analytics.
There's documentation for importing the script but I'm not sure how to initialize afterward: importScripts('path/to/offline-google-analytics-import.js'); goog.offlineGoogleAnalytics.initialize();
The text was updated successfully, but these errors were encountered:
I also like to know how to initialize the imported Scripts? I am trying to use sw-offline-google-analytics to store analytics in offline mode and send it after coming online.
webpack version:
1.14
sw-precache-webpack-plugin version:
0.11.4
Question
How can I go about initializing an imported script? Specifically, I'm trying to implement Offline Google Analytics.
There's documentation for importing the script but I'm not sure how to initialize afterward:
importScripts('path/to/offline-google-analytics-import.js'); goog.offlineGoogleAnalytics.initialize();
The text was updated successfully, but these errors were encountered: