Closed runemadsen closed 1 year ago
Hi @runemadsen and thanks for this!
I tried all events and everything seems to be working ✨
Note: one event doesn't appear on the screenshot below because of pagination.
Once @fdoflorenzano gives this PR the thumbs up on the code side, I'll happily merge and release.
I had a closer look at the code, and it looks good to me! @fdoflorenzano do let me know if you notice anything that needs changing. In the meantime I'll go ahead with the merge. Thanks again for your help on this @runemadsen.
This PR fixes #460 by tracking download events in Fathom Analytics. I implemented this with the
useGoal
that is a part of thegatsby-plugin-fathom
package. It's a little annoying that we need to run a hook per goal, but the library handles a lot of stuff around dev/prod and SSR so I'd rather rely on that.Adding @fdoflorenzano so they can take a look.
CC @SableRaf