Integrating with Mixpanel is as easy as "copy and paste".
1. Copy your Mixpanel API Key, API Secret and Token to your clipboard.
You can find that information here.
2. Paste your Mixpanel API Key, API Secret and Token into Preact.
You can find the Mixpanel integration section here.
Ensure your Mixpanel events get into Preact by using the structure seen here.