docs
docs copied to clipboard
Adding dynamic project token from url param projectToken
-
found a way of not using Router and use the window.location searchParams
-
needed to use useEffect because of the new tab functionality, switching between tabs changes the DOM and we need to update proj token accordingly
-
based on current
element structure, I couldn't find an alternative to querySelectorAll().find to select that DOM element. -
Applied the code only to the needed SDKs sections: Javascript, Android, Swift, Obj-C according to onboarding guide here: https://mixpanel.com/report/project_id/view/view_id/setup/
@santigracia is attempting to deploy a commit to the Mixpanel Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 7, 2024 0:09am |
Hi @santigracia , looks like the changes here were approved. Our team will be merging changes for smaller PRs moving forward. However, due to time elapsed, could you update the branch then merge the changes?
will create a new PR for this as this page has changed to: https://docs.mixpanel.com/docs/quickstart/install-mixpanel