fix: Added matomo to Embed app
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
components: {}
|
||||
components: {},
|
||||
mounted() {
|
||||
this.$matomo.trackPageView('embed/view')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user