Change variable name for Google Analytics ID
This commit is contained in:
parent
f5d146df95
commit
c4c025d0cc
|
|
@ -46,11 +46,12 @@ Vue.use(VueScrollTo, {
|
|||
offset: -50
|
||||
});
|
||||
|
||||
if (process.env.GOOGLE_ANALYTICS_ID) {
|
||||
if (process.env.VUE_APP_GOOGLE_ANALYTICS_ID) {
|
||||
Vue.use(VueAnalytics, {
|
||||
id: process.env.GOOGLE_ANALYTICS_ID,
|
||||
id: process.env.VUE_APP_GOOGLE_ANALYTICS_ID,
|
||||
router
|
||||
});
|
||||
console.log(process.env.VUE_APP_GOOGLE_ANALYTICS_ID);
|
||||
}
|
||||
|
||||
// taken from https://stackoverflow.com/questions/36170425/detect-click-outside-element
|
||||
|
|
|
|||
Loading…
Reference in New Issue