Skip to content
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

Pixel id by domain/language #34

Open
ejpg opened this issue Mar 24, 2021 · 3 comments
Open

Pixel id by domain/language #34

ejpg opened this issue Mar 24, 2021 · 3 comments

Comments

@ejpg
Copy link

ejpg commented Mar 24, 2021

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.

@vana-dev
Copy link

same problem, missed option in config to set right language, any solution?

@sgsrra
Copy link

sgsrra commented Jun 25, 2021

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.

@ksolberg
Copy link

Same problem, seems to track both default and route pixel on configured routes. Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants