Skip to content

Commit 0f99471

Browse files
committed
Added ga
1 parent e4b73ea commit 0f99471

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nuxt.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module.exports = {
1010
** Environment variables
1111
*/
1212
env: {
13-
accessToken: process.env.MAPBOX_TOKEN
13+
accessToken: process.env.MAPBOX_TOKEN,
14+
ga: process.env.GA
1415
},
1516

1617
/*

plugins/ga.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default ({ app }) => {
1515
/*
1616
** Set the current page
1717
*/
18-
ga('create', process.env.GA, 'auto')
18+
ga('create', process.env.ga, 'auto')
1919
/*
2020
** Every time the route changes (fired on initialization too)
2121
*/

0 commit comments

Comments
 (0)