Skip to content

Commit e818ab4

Browse files
committed
fix ga-id
1 parent e28961c commit e818ab4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tutorcruncher-socket",
3-
"version": "1.3.4",
3+
"version": "1.3.5",
44
"description": "TutorCruncher socket",
55
"author": "Samuel Colvin <[email protected]>",
66
"private": false,

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const google_analytics = (history, config) => {
5050
} else {
5151
ga_prefixes.push('')
5252
}
53-
window.ga('create', process.env.GA_ID || '-', 'auto', tcs_ga_name)
53+
window.ga('create', process.env.REACT_APP_GA_ID || '-', 'auto', tcs_ga_name)
5454
window.ga(tcs_ga_name + '.set', 'dimension1', config.mode)
5555
window.ga(tcs_ga_name + '.set', 'dimension2', config.router_mode)
5656

0 commit comments

Comments
 (0)