Skip to content

Update mixpanel.js (visual_experiments: true) - #76

Merged
dorgos merged 1 commit into
mainfrom
dorgos-patch-1
Sep 23, 2026
Merged

dorgos merged 1 commit into
mainfrom
dorgos-patch-1

Conversation

@dorgos

@dorgos dorgos commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Enable visual xp for World summit AI demo Amsterdam
(Amit Picker and Dor Gorel Workshop)

Enable visual xp for World summit AI demo
@dorgos
dorgos requested a review from ak--47 September 23, 2026 15:35
@dorgos
dorgos merged commit ed98fed into main Sep 23, 2026
8 checks passed
@dorgos
dorgos deleted the dorgos-patch-1 branch September 23, 2026 15:35
ak--47 added a commit that referenced this pull request Sep 23, 2026
#76 added `visual_experiments: true` to mixtape's init, but mixtape still
loaded `${MIXPANEL_PROXY}/lib.min.js`. That build is plain 2.83.0 and has
no visual experiments code, so the SDK stored the option and ignored it
(`get_config('visual_experiments')` was true, `mixpanel.experiments` was
undefined).

Point MIXPANEL_CUSTOM_LIB_URL at the same build the main app uses since
#75: `${MIXPANEL_PROXY}/libs/mixpanel-2.83.0-ve-alpha-1.min.js`. Dor's
init option stays as is.

Verified locally: SDK loads from the new URL, `mixpanel.experiments`
exists, the paywall flag resolves, no console errors.

Co-authored-by: Claude <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant