4. Install the Logger
Add the Metalitix Logger to your Unreal experience
The Metalitix Logger for Unreal Engine 5.0.3 or higher is currently only supported on Windows.
Download and unzip the Metalitix Unreal Engine Plugin. Navigate to the folder of your Unreal project. If within there a
Plugins
folder does not already exist, create it. Place the unzippedMetalitix
folder into thePlugins
folder.Reload the project by closing it then opening it. You will see the Metalitix icon in the toolbar. If you see a notification Project file out of date, click
Update
. You may also see a notification New plugins are available. You can also optionally clickManage Plugins...
to verify theMetalitix
plugin appears.
Within your project settings in the Metalitix dashboard you will find an
API Key
. Copy it then return to your Unreal project. Click the Metalitix icon in the toolbar and select Logger Settings. Paste yourAPI Key
underneathAPI Key
.
Next, from the actor panel place the
MetalitixLogger
actor into your game level. Afterwards, select theMetalitixLogger
actor you just added and instead its Details set theLoggerSettings
andSurveySettings
. You can select the first suggestion in each dropdown unless you have created customized settings.
Navigate to your level's camera or pawn and add a
TrackingEntity
component. This will track the user's movement and send it to Metalitix. In some cases, your pawn may be part of a Blueprint or your GameMode. You can find thePlayer Pawn
by navigating to theWorld Settings
and navigating to the asset in theGameMode
field.
Finally, initialize and start Metalitix tracking using either Blueprints or C++. Obtain the class from the
MetalitixLogger
actor and callInitialize
andStartSession
functions. The latter takes in aTrackingEntity
parameter, but if none is specified it will use the first available in your project. To learn more about Metalitix functions, please see the API section below.
Metalitix is now configured to gather analytics on your project! 🎉
You can find example Blueprints for Metalitix by enabling the Show Plugin Content
option in the Settings of the Content Browser. The Settings icon is found in the top-right. Then navigate to /Plugins/Metalitix Content/Metalitix/Example
in the content drawer.
Last updated