Sébastien Chopin

Results 954 comments of Sébastien Chopin

Do you have a reproduction @djave-co ?

Have you try to use `$gtm.push({ event: 'myEvent', ...someAttributes })` in the page `asyncData`?

It is weird since it does send in router.afterEach + a setTimeout: https://github.com/nuxt-community/gtm-module/blob/master/lib/plugin.js Do you have a small reproduction or your current website using GTM module?

Are you using the fetch() hook to fetch data if your pages or asyncData?

Normally with `asyncData` it should be fine since it is blocking vue-router so `afterEach` will have the correct data. I can happen if you are using `fetch` (non blocking on...

Do you have an example of the page using `head` ?

Do you mind sharing also the `~/mixins/pageview.js` file please?

Actually `$metaInfo` is `undefined`. Can you try to read the title with `this.$meta().refresh().metaInfo.title` in your mixin? ```js export default { // mounted is called only on client-side mounted() { this.$nextTick(()...

Does this solves your issue?