-
Notifications
You must be signed in to change notification settings - Fork 8
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 with Nuxt 2 #12
Comments
This module currently supports Nuxt 2 (with Bridge) or Nuxt 3. You can find out more about how to use Bridge here. |
is there any plan to support Nuxt2? or with vue-gtag? |
I have demo with Nuxt2 but it doesn't support Router |
Would be nice to support Nuxt2 without us having to change our project to implement Bridge |
@danielroe Package.json { nuxt.config.js export default defineNuxtConfig({ // Global CSS: https://go.nuxtjs.dev/config-css // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins // Auto import components: https://go.nuxtjs.dev/config-components // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules // Modules: https://go.nuxtjs.dev/config-modules // Build Configuration: https://go.nuxtjs.dev/config-build |
@avinean Would you try upgrading your |
@danielroe it looks like I use the latest version of @nuxt/bridge. isn't it? What about using without bridge? Is there any prediction when it will be possible? |
@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 Also, when I try official test for GTM https://partytown.builder.io/tests/integrations/gtm/ it doesn't work for me when I do this in console log (this follows GTM's guideline)
Code that I wrote to support Router, It doesn't work but you can take a look https://github.com/itsmnthn/nuxt2-partytown |
Experimental Nuxt 2 support is available in 1.2.1. Give it a try and let me know how it works for you! |
How to implement GTM preview mode in your code? Preview Mode is we used GTM code for staging. |
Just to validate so the module does work with: Nuxt 2, Nuxt 2 bridge and Nuxt 3 right? I did try to use it in a nuxt 2 application and I could see some partytown logs being debugged so just wanted to check about the support, thanks 👌 Edit: |
It actually works fine with changing package.json nuxt dependency to nuxt-edge without using bridge. When I try to use with nuxt dependency it throw errors unknown file extension as |
Could you provide sample setup of Nuxtjs 2? Thank you. |
Is there any updates here? |
any updates regarding working with Nuxt2? |
No description provided.
The text was updated successfully, but these errors were encountered: