From 19bf93e0ec9c8602f2717dfb8d4e25e2908622e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Mestres?= Date: Mon, 23 Oct 2023 17:14:15 +0200 Subject: [PATCH] fix: try to fix gtag issue --- app/routes/app.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/routes/app.ts b/app/routes/app.ts index d855e1c..3fb4b68 100644 --- a/app/routes/app.ts +++ b/app/routes/app.ts @@ -13,10 +13,13 @@ export default class AppRoute extends Route { @service declare intl: IntlService; @service declare router: Services['router']; @service declare fontManager: FontManagerService; + @service declare gtag: GTagService; constructor(props: object | undefined) { super(props); this.router.on('routeDidChange', (transition: Transition) => this.updateMeta(transition)); + // Jut get the gtatg service to trigger Google script injection + this.gtag; } async model({ locale }: { locale: string }) {