Fixed gtag update

pull/2491/head
Cagatay Civici 2022-04-22 10:08:58 +03:00
parent e2c5cc7f0e
commit dda9a56610
1 changed files with 2 additions and 5 deletions

View File

@ -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', {
window['gtag']('config', 'UA-93461466-1', {
'page_path': '/primevue' + to.path
});
}
});
this.sidebarActive = false;
DomHandler.removeClass(document.body, 'blocked-scroll');