Closed noahps closed 6 months ago
Thanks for the report. Can you please provide a reproducible example? Please use a template below to create a minimal reproduction: 👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz 👉 https://codesandbox.io/p/github/nuxt/starter/v3-codesandbox
Thanks in advance!
Ok, will do. I wasn't sure if there was something obvious I was missing that makes this not a bug but just not seeing something in the docs. I'll put together a reproduction.
It turns out the issue was on my end. Apologies for submitting the ticket prematurely! Thanks for a great package!
@noahps Thanks a lot for the feedback. 🙂
First off, awesome plugin - so easy to install and get started!
I installed and configured with just the basic settings. Data instantly started collecting when running my site in development mode. However, when I use static site generation to render and publish a static site, data is not collecting on the output site.
Here's what my config looks like.
For my generated site, the environment variable
APP_USE_SSR
is set toTRUE
Is there something I need to configure differently in order for tracking to take place with SSG rendered pages? Do I need to turn off SSR for static generated pages?
Thanks for any help!