Parcourir la source

remove errors

ali il y a 3 ans
Parent
commit
c292ada8b8
2 fichiers modifiés avec 25 ajouts et 25 suppressions
  1. 4 4
      src-pwa/manifest.json
  2. 21 21
      src/boot/gtm.js

+ 4 - 4
src-pwa/manifest.json

@@ -14,22 +14,22 @@
       "type": "image/png"
     },
     {
-      "src": "icons/icon-192x192.png",
+      "src": "icons/logo.png",
       "sizes": "192x192",
       "type": "image/png"
     },
     {
-      "src": "icons/icon-256x256.png",
+      "src": "icons/logo.png",
       "sizes": "256x256",
       "type": "image/png"
     },
     {
-      "src": "icons/icon-384x384.png",
+      "src": "icons/logo.png",
       "sizes": "384x384",
       "type": "image/png"
     },
     {
-      "src": "icons/icon-512x512.png",
+      "src": "icons/logo.png",
       "sizes": "512x512",
       "type": "image/png"
     }

+ 21 - 21
src/boot/gtm.js

@@ -1,26 +1,26 @@
 import { boot } from 'quasar/wrappers'
-import { createGtm } from '@gtm-support/vue-gtm'
+// import { createGtm } from '@gtm-support/vue-gtm'
 // import router from 'src/router/index.js'
 
 export default boot(({ app }) => {
-  app.use(
-    createGtm({
-      id: process.env.GOOGLE_TAG_MANAGER_TOKEN, // Your GTM single container ID, array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy'] or array of objects [{id: 'GTM-xxxxxx', queryParams: { gtm_auth: 'abc123', gtm_preview: 'env-4', gtm_cookies_win: 'x'}}, {id: 'GTM-yyyyyy', queryParams: {gtm_auth: 'abc234', gtm_preview: 'env-5', gtm_cookies_win: 'x'}}], // Your GTM single container ID or array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy']
-      // queryParams: {
-      //   // Add URL query string when loading gtm.js with GTM ID (required when using custom environments)
-      //   gtm_auth: 'AB7cDEf3GHIjkl-MnOP8qr',
-      //   gtm_preview: 'env-4',
-      //   gtm_cookies_win: 'x'
-      // },
-      defer: false, // Script can be set to `defer` to speed up page load at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible). Defaults to false, so the script is loaded `async` by default
-      compatibility: false, // Will add `async` and `defer` to the script tag to not block requests for old browsers that do not support `async`
-      nonce: '2726c7f26c', // Will add `nonce` to the script tag
-      enabled: true, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie (optional)
-      debug: true, // Whether or not display console logs debugs (optional)
-      loadScript: true, // Whether or not to load the GTM Script (Helpful if you are including GTM manually, but need the dataLayer functionality in your components) (optional)
-      // vueRouter: router, // Pass the router instance to automatically sync with router (optional)
-      ignoredViews: ['homepage'], // Don't trigger events for specified router names (optional)
-      trackOnNextTick: false // Whether or not call trackView in Vue.nextTick
-    })
-  )
+  // app.use(
+  //   createGtm({
+  //     id: process.env.GOOGLE_TAG_MANAGER_TOKEN, // Your GTM single container ID, array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy'] or array of objects [{id: 'GTM-xxxxxx', queryParams: { gtm_auth: 'abc123', gtm_preview: 'env-4', gtm_cookies_win: 'x'}}, {id: 'GTM-yyyyyy', queryParams: {gtm_auth: 'abc234', gtm_preview: 'env-5', gtm_cookies_win: 'x'}}], // Your GTM single container ID or array of container ids ['GTM-xxxxxx', 'GTM-yyyyyy']
+  //     // queryParams: {
+  //     //   // Add URL query string when loading gtm.js with GTM ID (required when using custom environments)
+  //     //   gtm_auth: 'AB7cDEf3GHIjkl-MnOP8qr',
+  //     //   gtm_preview: 'env-4',
+  //     //   gtm_cookies_win: 'x'
+  //     // },
+  //     defer: false, // Script can be set to `defer` to speed up page load at the cost of less accurate results (in case visitor leaves before script is loaded, which is unlikely but possible). Defaults to false, so the script is loaded `async` by default
+  //     compatibility: false, // Will add `async` and `defer` to the script tag to not block requests for old browsers that do not support `async`
+  //     nonce: '2726c7f26c', // Will add `nonce` to the script tag
+  //     enabled: true, // defaults to true. Plugin can be disabled by setting this to false for Ex: enabled: !!GDPR_Cookie (optional)
+  //     debug: true, // Whether or not display console logs debugs (optional)
+  //     loadScript: true, // Whether or not to load the GTM Script (Helpful if you are including GTM manually, but need the dataLayer functionality in your components) (optional)
+  //     // vueRouter: router, // Pass the router instance to automatically sync with router (optional)
+  //     ignoredViews: ['homepage'], // Don't trigger events for specified router names (optional)
+  //     trackOnNextTick: false // Whether or not call trackView in Vue.nextTick
+  //   })
+  // )
 })