Manually include local google analytics file.
This removes vue-analytics dependency.
This commit is contained in:
4
config/env/lottery.config.example.js
vendored
4
config/env/lottery.config.example.js
vendored
@@ -7,5 +7,7 @@ module.exports = {
|
||||
hours: 15,
|
||||
apiUrl: undefined,
|
||||
gatewayToken: undefined,
|
||||
vinmonopoletToken: undefined
|
||||
vinmonopoletToken: undefined,
|
||||
googleanalytics_trackingId: undefined,
|
||||
googleanalytics_cookieLifetime: 60 * 60 * 24 * 14
|
||||
};
|
||||
@@ -83,7 +83,9 @@ const webpackConfig = function(isDev) {
|
||||
__DATE__: env.date,
|
||||
__HOURS__: env.hours,
|
||||
__APIURL__: JSON.stringify(env.apiUrl),
|
||||
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false)
|
||||
__PUSHENABLED__: JSON.stringify(require("./defaults/push") != false),
|
||||
__GA_TRACKINGID__: JSON.stringify(env.googleanalytics_trackingId),
|
||||
__GA_COOKIELIFETIME__: env.googleanalytics_cookieLifetime
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user