How to simply integrate Fathom Analytics?
Hey guys, I am trying to figure it out how to implement Fathom Analytics as plugin in Nuxt3 without any other package. I created plugin in my plugins folder:
fathom.client.ts
, but I am not sure if I am right. Can you help me?
If it is possible I want to define variables in my nuxt.config.ts
file like this:
4 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
you can just load the script via the
app.head
configGitHub
harlanzw.com/nuxt.config.ts at main · harlan-zw/harlanzw.com
My personal website built with Nuxt v3 and Nuxt Content v2. - harlanzw.com/nuxt.config.ts at main · harlan-zw/harlanzw.com
or are you trying to build a module or something