How to integrate Mixpanel to a website
To get Mixpanel Project Token:
- Register at https://mixpanel.com/register/;
- Open https://mixpanel.com/;
- Press "Gear" button at the bottom left of the page;
- Navigate to Settings – Project Settings;
- Copy Project Token.
To insert Mixpanel Project Token to your website:
- Open website builder;
- Navigate to Settings – Settings;
- Open "Analytics" tab;
- Provide Mixpanel data residency (EU/India/US) in "Mixpanel Project Token" section;
- Add your copied Mixpanel Project Token;
- Press "Apply" button.
To integrate Mixpanel to your website:
- Open website builder;
- Choose the element you wish to integrate with Mixpanel;
- In the Right toolbar expand “Advanced” section;
- Add Mixpanel event code to “onClick JS event” field.