![]() |
Google Analytics Measurement Protocol 1.1.2
Google Analytics plugin for Unreal Engine, using a native cross-platform implementation of the Measurement Protocol.
|
Google Analytics Measurement Protocol is a plugin for Unreal Engine that adds support for Google Analytics, using a native cross-platform implementation of the Measurement Protocol. The plugin doesn't require any third-party dependency and it's compatible with all the platforms supported by Unreal Engine (including desktop and consoles). It's also a provider for the standard In-Game Analytics system of Unreal Engine.
In addition to the basic event reporting functionalities, the plugin supports a number of advanced features like automatic instrumentation, session tracking, detailed purchases reporting, etc.
NOTE: This product is not made by, or affiliated with, Google Inc in any way.
MARKETPLACE: https://www.unrealengine.com/marketplace/google-analytics-measurement-protocol
Changelog: Changelog
Discord server: https://discord.gg/PuAyhDctHp
Support forum: https://forums.unrealengine.com/t/google-analytics-measurement-protocol-cross-platform-plugin-desktop-consoles-supported/253259
Video tutorial: https://youtu.be/SlDt3ObbuKI
The plugin allows you to easily log application and game events to Google Analytics, using a native cross-platform implementation (not requiring any third-party dependency). It supports advanced features like the automatic instrumentation, that automatically logs key events without the need of any specific code. The simple API provides all you need to log custom events and detailed purchase transactions.
Supported features:
Note Google Analytics 4 (GA4) protocol version is not currently supported by the plugin: GA4 is in Alpha state at the moment and its current Limitations don't allow proper user sessions tracking outside of a Web Browser.
Setting up the plugin and using it is very easy: you must simply configure the plugin and set the Tracking ID of your Google Universal Analytics property.
Thanks to the automatic instrumentation, your game will already log important events to Google Analytics! Including user sessions, maps loaded, operating system details, etc.
Here the detailed step-by-step guide to configure the plugin:
The plugin is now ready to be used to send data to your Google Analytics property.
For the best experience, we suggest to configure your Google Analytics property creating a Mobile App View, enabling the Ecommerce and the Enhanced Ecommerce features, enabling the User-ID feature. Please refer to the official Google Analytics documentation for its configuration and usage.
If you leaved the default automatic instrumentation enabled, simply playing the game now and stopping it a few seconds later will be enough to send some key events to the Google Analytics back-end (including users sessions, operating system details, maps loaded, etc.). The Google Analytics back-end could require few minutes to process the received data and show them in the Realtime reports.
You can then easily record custom events with the plugin API, look at UGoogleAnalyticsMPStatics for the complete list of available methods. For example this is how to record a simple event:
Google Analytics Universal events are based on Category/Action/Label/Value tuples, but you can log custom properties using Custom Dimensions and Metrics. Read more about them here:
The plugin provides dedicated APIs to track purchases in your game/application, this will allow you to take advantage of the Google Analytics E-commerce reporting system. This is an example on how to record a simple purchase in your game (applied prices and currencies should be retrieved from your payment processor):
Under Project Settings > ... > Google Analytics MP, you can customize several settings of the plugin. Go over each setting with the mouse pointer to open a tooltip with the detailed description. Detailed documentation for each option can be found in the class UGoogleAnalyticsMPSettings.
You can define a custom filter to freely manipulate every logged attribute. Read more in the section Event Attributes Filter.