PostHog / posthog-js

Send usage data from your web app or site to PostHog, with autocapture.
https://posthog.com/docs/libraries/js
Other
302 stars 126 forks source link

feat: Add customization to add all person profile properties as setPersonPropertiesForFlags #1517

Closed robbie-c closed 1 week ago

robbie-c commented 2 weeks ago

Changes

Add a customization to set all known person properties with setPersonPropertiesForFlags

Checklist

vercel[bot] commented 2 weeks ago

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

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Nov 11, 2024 2:55pm
github-actions[bot] commented 2 weeks ago

Size Change: +194 B (+0.01%)

Total Size: 3.01 MB

Filename Size Change
dist/array.full.es5.js 251 kB +22 B (+0.01%)
dist/array.full.js 342 kB +43 B (+0.01%)
dist/array.full.no-external.js 341 kB +43 B (+0.01%)
dist/module.full.js 342 kB +43 B (+0.01%)
dist/module.full.no-external.js 341 kB +43 B (+0.01%)
ℹ️ View Unchanged | Filename | Size | | :--- | :---: | | `dist/all-external-dependencies.js` | 193 kB | | `dist/array.js` | 168 kB | | `dist/array.no-external.js` | 167 kB | | `dist/dead-clicks-autocapture.js` | 12.8 kB | | `dist/exception-autocapture.js` | 8.8 kB | | `dist/external-scripts-loader.js` | 2.19 kB | | `dist/main.js` | 169 kB | | `dist/module.js` | 168 kB | | `dist/module.no-external.js` | 167 kB | | `dist/recorder-v2.js` | 102 kB | | `dist/recorder.js` | 103 kB | | `dist/surveys-preview.js` | 56.7 kB | | `dist/surveys.js` | 62.1 kB | | `dist/tracing-headers.js` | 1.33 kB | | `dist/web-vitals.js` | 10.3 kB |

compressed-size-action

robbie-c commented 1 week ago

I'm going to merge this now and add a couple of comments in a follow up, just as I'm in a few meetings this morning and it'd be good to get back to the customer asap