Manthankumar Satani
Manthankumar Satani
**qnp's** answer solved the issue. Also, wrapping `` with `` solves the issue but it's to much.
I faced this same issue while implementing this with `Nuxt2`. Initial event works well but using `window.dataLayer.push(event)` doesn't trigger GTM request for that event. I've created simple implementation here [nuxt2-partytown-demo](https://github.com/itsmnthn/nuxt2-partytown)...
I ran gtag integration test locally and it seems button click is not sending event as it suppose to send `{ event: 'button-click', from: 'partytown' }` `test/integration/gtag` at https://github.com/BuilderIO/partytown/blob/main/tests/integrations/gtm/index.html` Also...
Check this demo [nuxt2-partytown-demo](https://github.com/itsmnthn/nuxt2-partytown) I tried using hidden input on main thread and dispatchEvent('change') on button click and listen the same input change event in `text/partytown` gtag script and use...
is there any plan to support Nuxt2? or with [vue-gtag](https://github.com/MatteoGabriele/vue-gtag)?
I have demo with Nuxt2 but it doesn't support Router [nuxt2-partytown](https://github.com/itsmnthn/nuxt2-partytown)
> @itsmnthn Hi! Did you manage to solve issue with Router? I tried with nuxt2 I got partytown working. To support Router we need to send custom event something like...
So instead building them I am using bundleless, or just copy assets/components as it is by removing `src/index` as below ```javascript entries: [ // bundling // 'src/index', // bundleless, or...
Still giving same error but now for templates ```bash ... frame: '1: \n' + ' ^\n' + ... ```