-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using in Nuxt 3 project. page_view
works, but trackEvent
doesn't
#324
Comments
Please make sure that you are in browser context and you have correctly enabled it You can test/debug/log The debugging is performed (by design) even if the trigger gets not executed |
@Shinigami92,
Looks like everything is ok but still not working |
Okay, sadly in that case I don't know what's going on |
The datalayer gets new records every time the event is called, as expected |
Then the issue is not anymore on the plugin's side, but on something with GTM itself |
I'm using
@gtm-support/vue-gtm
in Nuxt 3 AppInfo
vue-gtm.client.js
:Then
page_view
works. Then I try usetrackEvent
in thesetup
:composables/useGTM.js
:myComponent.vue
:When I'm adding item to cart nothing's happened in the Googlу Analytics. There is also no new request in the "Network". But in the console I see
What am I doing wrong?
The text was updated successfully, but these errors were encountered: