Google Analytics in Quasar SSR the corrrect way [SOLVED BY Scott]
-
Does anyone have a tip/example on how to implement Google Analytics in Quasar SSR the corrrect way?
-
I believe this is where it was added to the Quasar docs. https://github.com/quasarframework/quasar/commit/95af5b451b743dda09beeb45f57b8f64b6d59eaf
Also, please don’t cross post.
Scott
-
@s-molinari due to my lack of skills i presumed that all instructions mentioning SPA was not the right tread so i’m sorry for cross posting.
Please tell me if you want me to remove any post?
Just to be clear. Will following the codes you showed here be enough or do i need a boot file as well?
Sorry again.
And also, i bought you a coffee
-
Thanks. On your other post, don’t worry, I took care of it.
To be honest, I’ve never worked with GA and adding it to a Quasar app. The docs is an SSR to handover to PWA currently, so I’d suppose it is what is needed. It is only an assumption on my part though and offered only as an example. I don’t think you need a boot file, as GA embedded code would just go into the html, as the example code is doing.
Scott