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

feat: Start tracking timezone offset and language prefix #1568

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

rafaeelaudibert
Copy link
Member

Changes

We've recently launched a new feature on Web Analytics where you can filter views/visitors by timezone/language. Even though that was possible to do already, it is not as fast as it could be. We'll start feeding this information into the database directly from the SDK, this will allow us to, in the future, update our logic to use these properties directly, ditching the slow code.

Checklist

  • Tests for new code (see advice on the tests we use)
  • Accounted for the impact of any changes across different browsers
  • Accounted for backwards compatibility of any changes (no breaking changes in posthog-js!)

We've recently launched a new feature on Web Analytics where you can filter views/visitors by timezone/language. Even though that was possible to do already, it is not as fast as it could be. We'll start feeding this information into the database directly from the SDK, this will allow us to, in the future, update our logic to use these properties directly, ditching the slow code.
Copy link

vercel bot commented Nov 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Nov 28, 2024 0:13am

@robbie-c robbie-c added the bump minor Bump minor version when this PR gets merged label Nov 28, 2024
Copy link

Size Change: +3.13 kB (+0.1%)

Total Size: 3.18 MB

Filename Size Change
dist/array.full.es5.js 257 kB +285 B (+0.11%)
dist/array.full.js 361 kB +285 B (+0.08%)
dist/array.full.no-external.js 360 kB +285 B (+0.08%)
dist/array.js 175 kB +285 B (+0.16%)
dist/array.no-external.js 174 kB +285 B (+0.16%)
dist/customizations.full.js 12.5 kB +285 B (+2.34%)
dist/main.js 176 kB +285 B (+0.16%)
dist/module.full.js 361 kB +285 B (+0.08%)
dist/module.full.no-external.js 360 kB +285 B (+0.08%)
dist/module.js 175 kB +285 B (+0.16%)
dist/module.no-external.js 174 kB +285 B (+0.16%)
ℹ️ View Unchanged
Filename Size
dist/all-external-dependencies.js 206 kB
dist/dead-clicks-autocapture.js 14.3 kB
dist/exception-autocapture.js 9.37 kB
dist/external-scripts-loader.js 2.29 kB
dist/recorder-v2.js 115 kB
dist/recorder.js 115 kB
dist/surveys-preview.js 57.6 kB
dist/surveys.js 63.2 kB
dist/tracing-headers.js 1.75 kB
dist/web-vitals.js 10.3 kB

compressed-size-action

@robbie-c robbie-c merged commit 019f224 into main Nov 28, 2024
20 checks passed
@robbie-c robbie-c deleted the start-tracking-timezone-offset-and-language-prefix branch November 28, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bump minor Bump minor version when this PR gets merged feature/web-analytics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants