Submit a ticket My Tickets
Welcome
Login  Sign up
Open navigation

How to Integrate Mixpanel with your LearnWorlds School

Availability
Starter
Pro Trainer
Learning Center
High Volume & Corporate

Mixpanel is one of the various analytics and monitoring integrations available through our interface. This business analytics service tracks user interactions on web and mobile applications, providing tools for targeted communication. The collected data is utilized to create custom reports and evaluate user engagement and retention.


For Mixpanel our platform supports the following events:


Signup: we add the user to Mixpanel People (with the user's email and username) and we also send the type of account (email, Twitter, Facebook, LinkedIn).

Purchase Item: we send the product id, name, price, and type (bundle, subscription, course). We also increment a Lifetime Revenue counter and update the Last Item Purchase (date field that shows when the user last purchased a product) on your user's Mixpanel Profile. All charges are added to your Mixpanel Revenue Report which in return lets you segment Lifetime Value and Average Revenue per Paying User in Mixpanel People.

Page View: this event is only triggered on certain pages (course, bundle, subscription, payment pages, and those created with our page builder), and depending on the type of the page, additional parameters are also added (such as product id, product type, title, and slug). All page view events are tagged with a "Page Type" so you can easily filter pages you want to focus on.


Follow the instructions in this article, to integrate your LearnWorlds school with Mixpanel.


1. Go to Settings â†’ Integrations â†’ Analytics. Activate Mixpanel and paste the token of the Mixpanel integration in the appropriate text field. 

To create a Mixpanel project token, follow the instructions here.

2. Save your changes.

  • The user should have accepted the analytics cookies in the school and not have any ad/cookie add-ons in their browser for the Mixpanel events to be triggered.
  • For an event to be triggered (e.g. a Sign-up event), the user needs to navigate to a different page inside the school. Keep in mind that manual enrollment is not triggered as a sign-up event.

Automations with Mixpanel

In case you want to send more events except the ones mentioned above (Signup, Purchase Item, Page View), you can utilize automations. Those events are called Server-Side and are sent via the Mixpanel API from LearnWorld’s server, ensuring higher data accuracy and reliability. Let's say you would like to create an event when a user completes a course the steps you need to follow are,

1. Navigate to Users â†’ Automations and create a new automation.

2. Choose the trigger of your choice, in this case, When a user completes a course

3. As action choose Send mix panel event. It should look like this

You also have the option to use only if conditions with your automations related to GDPR. You can choose to send the event only if the user has accepted cookies or if they are subscribed to marketing emails.

By following the steps above, you can create events for all available actions within your automations. Îťote that this feature is available for Learning Center plans and above, as automations are required.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.