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

Wrong 'title/url' for page event #41

Open
kwolniak opened this issue Mar 7, 2022 · 2 comments
Open

Wrong 'title/url' for page event #41

kwolniak opened this issue Mar 7, 2022 · 2 comments

Comments

@kwolniak
Copy link

kwolniak commented Mar 7, 2022

I have default settings for nuxt-segment so it sends automaticaly page event on navigation (route change). But in segment debugger I see that it sets wrong title.

Somehow it sets title and url from previus route...

EDIT: I see it is related if we use head function to set title etc.

@kwolniak kwolniak changed the title Wrong 'title' for page event Wrong 'title/url' for page event Mar 7, 2022
@campbellchri
Copy link

@kwolniak did you find a workaround for this? I've been experiencing the same

@kwolniak
Copy link
Author

kwolniak commented Mar 14, 2022

@kwolniak did you find a workaround for this? I've been experiencing the same

@campbellchri yes, I created my own nuxt plugin implementation and override basic page properties via segment middleware
https://segment.com/docs/connections/sources/catalog/libraries/website/javascript/middleware/#using-source-middlewares
so, I no longer use this package

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

No branches or pull requests

2 participants