Skip to content

Commit f829300

Browse files
author
Brylie Christopher Oxley
committed
Merge branch 'pr/yaya-usman/391'
2 parents b7c3d69 + aa5463b commit f829300

File tree

3 files changed

+0
-42
lines changed

3 files changed

+0
-42
lines changed

package-lock.json

-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
"sass": "^1.45.1",
3838
"sass-loader": "^8.0.2",
3939
"vue": "^2.6.14",
40-
"vue-analytics": "^5.22.1",
41-
"vue-hotjar": "^1.2.0",
4240
"vue-i18n": "^8.27.0",
4341
"vue-scrollto": "^2.20.0",
4442
"vuex": "^3.6.2"

src/main.js

-17
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,11 @@ import VueVocabulary from '@creativecommons/vocabulary-components';
66

77
// Analytics
88
import * as Sentry from '@sentry/vue';
9-
import Hotjar from 'vue-hotjar';
10-
import VueAnalytics from 'vue-analytics';
119

1210
Vue.config.productionTip = false;
1311
Vue.use(VueVocabulary);
1412
Vue.use(VueScrollTo);
1513

16-
if (process.env.NODE_ENV === 'production') {
17-
Vue.use(VueAnalytics, {
18-
id: 'UA-2010376-41',
19-
autoTracking: {
20-
screenview: true,
21-
},
22-
});
23-
}
2414

2515
Sentry.init({
2616
dsn:
@@ -30,13 +20,6 @@ Sentry.init({
3020
logErrors: process.env.NODE_ENV !== 'production', // Only log errors in dev env
3121
});
3222

33-
// Production only since we only have a prod id
34-
if (process.env.NODE_ENV === 'production') {
35-
Vue.use(Hotjar, {
36-
id: '1803702',
37-
isProduction: true,
38-
});
39-
}
4023

4124
if(process.env.VUE_APP_CC_OUTPUT!=='embedded') {
4225
new Vue({

0 commit comments

Comments
 (0)