Open ejpg opened 3 years ago
same problem, missed option in config to set right language, any solution?
Same problem.
you could user this code
{ modules: [ 'nuxt-facebook-pixel-module', ], facebook: { pixelId: 'DEFAULT_PIXEL_ID', pixels: [ { pixelId: 'FACEBOOK_PIXEL_ID', routes: [ '/en', '/en/*' ] } ] }, }
but the problem is that the load the default pixel and the pixel by router at the same time.
Same problem, seems to track both default and route pixel on configured routes. Any updates?
Is your feature request related to a problem? Please describe. I have an app that has multiple domains and by domain has a different language and a different pixel_id code. Im using the nuxt-i18n package to manage this, but i cannot get the actual language from the nuxt.config file.
Describe the solution you'd like An option, similar to the one for routes, but by domains.