Analytics
How to integrate external analytics providers into your project
Last updated
Was this helpful?
How to integrate external analytics providers into your project
Last updated
Was this helpful?
This guide will help you integrate an analytics solutions into your project, providing a self-serve way of collecting, extracting and evaluating user data.
Follow the guide below to learn about how you can start sending events to your own Mixpanel project via your Unreal Project, and via your external webpage!
Before beginning implementation:
When pasted, this will generate an authorization header of the form Basic <base64-encoded string>
. Copy the base64 encoded value of your project token after "Basic", as you will need this when setting headers in your Unreal project.
To learn about sending events via your web app, check out:
For sending events via your Unreal project in Blueprints, check out:
Successfully sent events can be viewed immediately in the Events tab on Mixpanel. These will be sorted by time sent:
You can also view users' profiles and their associated events here:
We will be using as our example 3rd party analytics platform, but this approach should work for any analytics solution of your choice.
Mixpanel has a number of useful features that makes it an attractive option for any projects looking to track how their users interact with the platform, from their first visit to the webpage through to in-game events. A data point is represented as an , which can contain a number of custom properties that you can define.
Each event is also associated with a unique , allowing you to analyse an individual user's or similarly grouped users' behaviour in a number of powerful ways.
One particularly powerful feature of Mixpanel is the ability to compute automatically via a timeout-based method.
To get started, create a , where you will be prompted to set up your organization and first project. You should be met with a page like this on successful creation:
Ensure you have your to hand. This will be used at various points for authentication when trying to send events to mixpanel (specifically for web-based track events). You can find this under project settings:
Once retrieved, head to the in mixpanel's docs. You should see section where you can paste your project token into the authorization.