docs
docs copied to clipboard
Mixpanel's Official Documentation
The current docs say to use `useEffect()` in the root layout, but that can't be done as the root layout is a special case, and is always server component, regardless...
Typo in Example Scenarios table
Add in calculation formula for Stat Sig
- Revised text for grammar and consistency - Added mappings for each tag to its respective JS SDK method - Added FAQ section
This is pretty wrong – it's not recommended in nextjs to "use client" for the root layout. Would save people some time not to recommend this pattern and to use...
https://github.com/mixpanel/docs/blame/9f2f5af480ddd09ad05ab3a0003d5252066caaa7/pages/docs/quickstart/install-mixpanel.mdx#L348