Fixed gtag update
parent
e2c5cc7f0e
commit
dda9a56610
|
@ -41,12 +41,9 @@ export default {
|
|||
$route: {
|
||||
immediate: true,
|
||||
handler(to) {
|
||||
let route = window.location.href.split('/#')[1];
|
||||
if (to.path === route) {
|
||||
window['gtag']('config', 'UA-93461466-1', {
|
||||
'page_path': '/primevue' + to.path
|
||||
});
|
||||
}
|
||||
|
||||
this.sidebarActive = false;
|
||||
DomHandler.removeClass(document.body, 'blocked-scroll');
|
||||
|
|
Loading…
Reference in New Issue