Closed Phanatic closed 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 | Sep 13, 2024 6:59pm |
Size Change: +19.8 kB (+1.67%)
Total Size: 1.21 MB
Filename | Size | Change |
---|---|---|
dist/array.full.js |
346 kB | +4.96 kB (+1.45%) |
dist/array.js |
162 kB | +4.95 kB (+3.15%) |
dist/main.js |
163 kB | +4.95 kB (+3.14%) |
dist/module.js |
162 kB | +4.95 kB (+3.15%) |
Changes
This PR introduces a new extension to posthog-js called
web-experiments
which allows posthog to apply no-code experiments to elements on a web page. This PR needs https://github.com/PostHog/posthog/pull/24872 to merge so it can function.To enable this feature, developers have to opt-in by setting
disable_web_experiments
to false inposthog.init
while in Beta.There are multiple ways to target an experiment within the browser here :
exact, contains, not_contains, regex, not_regex
Checklist
Coming up in following PRs