Total Complexity | 2 |
Complexity/F | 1 |
Lines of Code | 15 |
Function Count | 2 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import Vue from 'vue' |
||
2 | import VueGtag from 'vue-gtag' |
||
3 | |||
4 | export default function ({ app }) { |
||
5 | Vue.use(VueGtag, { |
||
6 | config: { |
||
7 | id: app.$config.rsl.ga |
||
8 | }, |
||
9 | pageTrackerTemplate () { |
||
10 | return { |
||
11 | page_title: window.document.title |
||
12 | } |
||
13 | } |
||
14 | }, app.router) |
||
15 | } |
||
16 |