Next.js Discord

Discord Forum

Need help with GA4 in NextJS

Unanswered
weeblet posted this in #help-forum
Open in Discord
I want to track the usage of a specific button on my webapp, I have initialised GA4 in Next using the third-parties pacakge and its getting data. But I am unable to use the sendGAEvent function.

sendGAEvent({ event: 'run_code', value: 'notebook' })

1 Reply

Yacare Caiman
did you resolve?