fix: Added matomo to Embed app

This commit is contained in:
Alan Rynne
2021-09-08 18:03:47 +02:00
parent 02abdcd63c
commit bc4526a159
2 changed files with 12 additions and 1 deletions
+4 -1
View File
@@ -3,6 +3,9 @@
</template>
<script>
export default {
components: {}
components: {},
mounted() {
this.$matomo.trackPageView('embed/view')
}
}
</script>
+8
View File
@@ -4,6 +4,14 @@ import vuetify from './embedVuetify'
import router from './embedRouter'
Vue.config.productionTip = false
import VueMatomo from 'vue-matomo'
Vue.use(VueMatomo, {
host: 'https://speckle.matomo.cloud',
siteId: 4,
router: router
})
new Vue({
router,
vuetify,