Hi, congrats for the job with the module. I'm trying to use it with the google-tag-manager module also made by the nuxt-community. My google tag manager already has a tag for google optimize. In my nuxt.config.js the modules look like:
['@nuxtjs/google-tag-manager', { id: 'GTM-XXXXXX', layer: 'dataLayer' }], 'nuxt-google-optimize',
And the google tag assinstant look like the image:
With that configuration, I put a console.log in a component to see if I have access to the $exp object: if (this.$exp) { console.log(this.$exp) return this.$exp.$classes.join(" ") }
I have configured the experiment files too and created the experiment and so on... but it does not log the $exp object. Thank you again and sorry about the English thing (not my native language).
Hi, congrats for the job with the module. I'm trying to use it with the google-tag-manager module also made by the nuxt-community. My google tag manager already has a tag for google optimize. In my nuxt.config.js the modules look like:![google_optimize](https://user-images.githubusercontent.com/7290281/61734057-882e3380-ad57-11e9-9ddf-9b3407f491e2.png)
['@nuxtjs/google-tag-manager', { id: 'GTM-XXXXXX', layer: 'dataLayer' }], 'nuxt-google-optimize',
And the google tag assinstant look like the image:With that configuration, I put a console.log in a component to see if I have access to the $exp object:
if (this.$exp) { console.log(this.$exp) return this.$exp.$classes.join(" ") }
I have configured the experiment files too and created the experiment and so on... but it does not log the $exp object. Thank you again and sorry about the English thing (not my native language).