From 1693834a9917c64564723102265fb8d854f4b523 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Tue, 20 Dec 2022 11:55:49 +0300 Subject: [PATCH] router check added for gtag --- layouts/default.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/default.vue b/layouts/default.vue index ab0a2dcbd..e6577f428 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -49,6 +49,10 @@ export default { return; } + window['gtag']('config', 'UA-93461466-1', { + page_path: '/primevue' + to.path + }); + this.sidebarActive = false; DomHandler.removeClass(document.body, 'blocked-scroll'); this.$toast.removeAllGroups();