I have a route called create-event in my nuxtJs project and in this page I have an event form that has some steps.
I want to track those steps in the google tag manager.
If I move from one route to another when clicking on the next button that time it's working.
http://localhost:4444/create-event-dynamic-url to http://localhost:4444/create-event-dynamic-url/step-musician-type that time google tag manager tracked it correctly.But when I want to do the same thing without route changing using this.$gtm.push({ 'event': 'nuxtRoute', 'pagePath': process.env.SERVER_BASE_URL + this.$nuxt.$route.path+'/step-musician-type' }) that time it's not working.
Now actually,I want to replace the original nuxt route path in the google tag manager using $gtm.push({}).
Is it possible? Can anyone help me with it?