diff --git a/public/index.html b/public/index.html index ec79dae..c8de91e 100644 --- a/public/index.html +++ b/public/index.html @@ -10,6 +10,10 @@
+ + + diff --git a/src/gtm.js b/src/gtm.js new file mode 100644 index 0000000..6b86af5 --- /dev/null +++ b/src/gtm.js @@ -0,0 +1,5 @@ +(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': +new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], +j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= +'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); +})(window,document,'script','dataLayer','GTM-WBRJ8KX'); \ No newline at end of file diff --git a/src/main.js b/src/main.js index f26f408..abdaba9 100644 --- a/src/main.js +++ b/src/main.js @@ -1,6 +1,7 @@ import Vue from 'vue' import App from './App.vue' import vuetify from './plugins/vuetify' +import './gtm.js' Vue.config.productionTip = false