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

Save country code metadata in Sentry and Mixpanel #1784

Open
twistershark opened this issue Jan 27, 2025 · 0 comments
Open

Save country code metadata in Sentry and Mixpanel #1784

twistershark opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@twistershark
Copy link
Contributor

twistershark commented Jan 27, 2025

To have specific metrics for each country, we will leverage the SWC_LOCALE cookie that is created in our middleware logic to update the corresponding country code as metadata for Mixpanel and Sentry.

We also need to ensure that navigation between different country pages results in a full page reload. This will allow the initialization of Sentry and Mixpanel referencing the correct country code as metadata.

@twistershark twistershark added this to the SWC International milestone Jan 27, 2025
@twistershark twistershark self-assigned this Jan 28, 2025
@twistershark twistershark changed the title Save locale metadata in Sentry and Mixpanel Save country code metadata in Sentry and Mixpanel Jan 29, 2025
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

1 participant