Skip to main content
This guide maps each part of Unity Analytics (Unity Gaming Services) to Manalens: events, custom events, audiences, and dashboards. It also lists the definitions that differ, so your numbers do not surprise you after the switch.
Your Unity Analytics history does not move. There is no import, so export what you want to keep before you switch it off. See Export your Unity Analytics data.

Steps

1

Install the Manalens Unity SDK

Add the package next to Unity Analytics. The two SDKs are separate packages with separate IDs, so one build can send to both. See the Unity SDK.
2

Replace the calls

Replace each RecordEvent with Manalens.Track, using the event mapping below. Move your consent handler and your player ID.
3

Run both SDKs for two weeks

Ship one build that sends to both tools. Two weeks give you two of each weekday to compare. Compare trends, not totals: see Definitions that differ.
4

Rebuild your audiences and dashboards

Create the segments from the audience mapping, and start from the Game KPIs template.
5

Remove Unity Analytics

Remove every AnalyticsService call and the Analytics package, then ship a build without them.

Event mapping

The Manalens SDK sends the session events for you, as Unity does. You record purchases, ads, and your own game events in code. Use flat snake_case names, such as level_complete. The game event conventions list the names that the game reports read.

Custom events

Replace each RecordEvent call with one Track call. In Unity Analytics, you create the event and its parameters in the Event Manager first, and write a matching Event class, because events that do not match a schema are rejected. In Manalens, you send a name and a dictionary of properties. There is no Event Manager and no schema.
Property values are strings, numbers, booleans, or null. Send a date as an ISO 8601 string. The SDK drops lists, dictionaries, and objects, and logs a warning.

Purchases

Send one purchase event with a numeric revenue property. The Revenue metric sums it.
Unity IAP 4.2 or later sends transaction events to Unity Analytics for you. Send the Manalens purchase yourself, from your Unity IAP callback. If you also connect Stripe or Paddle, the provider record wins for that player, so a sale counts once.
During the move, one consent handler can drive both SDKs. With ConsentRequired = true, the Manalens SDK sends nothing and stores no ID until SetConsent(true), and it remembers the choice for the next launch. See Consent mode.

Audience mapping

Unity ships 12 standard audiences. Manalens has lifecycle stages, player filters, and built-in segments. Build each Unity audience as a saved segment on the Players page. Manalens also has stages that Unity has no audience for: Resurrected (back in the last 7 days after a gap of 28 days or more) and Active. The built-in Regulars segment is players active on 3 or more of the last 7 days.
“Churned” means different things. In Unity, Churned is 14 days or more without a session. In Manalens, Churned is 28 days or more, and 14 to 27 days is Dormant. If you compare the Churned count alone, you see fewer churned players after the switch, and retention looks better than it is. Compare Dormant and Churned together with Unity’s Churned.
Two more differences:
  • Stages do not overlap. Each player has one lifecycle stage, checked in a fixed order. Unity audiences overlap: one player can be Engaged, a Recent Spender, and a Veteran at once. Saved segments in Manalens can overlap too.
  • Where they apply. People filters and built-in segments work on the Players page. Saved segments also work in funnel, retention, and user path charts. Unity audiences also target Game Overrides and Remote Config; Manalens has no remote config.
For purchase in a Behavior filter, paid Stripe, Paddle, and itch.io payments also count. Steam sales have no player, so they do not count.

Dashboard mapping

Unity’s built-in dashboards are fixed. Manalens templates are editable boards that you save and change.

Definitions that differ

Expect the totals to differ during the two weeks of overlap. These are the main reasons:

Export your Unity Analytics data

Do this before you switch Unity Analytics off. Unity keeps raw event data for 13 months, then deletes it.
  • Dashboard reports: export to PNG or CSV from Unity.
  • Raw data: Unity Data Access shares your Analytics data through Snowflake. You need your own Snowflake account, and only organization owners can open the Data Access settings.
  • Totals to compare: while you still have access, note the totals you want to compare with later, for example with SQL Data Explorer.
Manalens charts export to CSV, so you can put old and new months side by side. Note the day you switched, and compare trends across that day. The server events API accepts past timestamps for a backfill of events and revenue from your own script; backfilled events do not rebuild sessions or retention.

Checklist before you remove Unity Analytics

Test a development build, not the editor, and check each item in the Activity feed. Set Debug = true to log each queued event and each failed send.
  • game_open and session_start arrive on the first launch, with is_first_open: true.
  • Each mapped event arrives with the right name and properties, and no property is dropped with a warning.
  • A purchase arrives once, with revenue and currency.
  • With ConsentRequired, nothing is sent before SetConsent(true).
  • Identify with the same player ID joins the player on a second device and on your website.
  • Offline events arrive with their original time after you go online.
  • session_end arrives with duration_s when you quit.
  • Daily players and sessions move the same way in both tools for two weeks.
For the reasons to move and the Unity pricing details, read How to move from Unity Analytics to Manalens on our blog.