AdjustSdk.Scripts asmdef to MSCore.RuntimeMaxSdk.Scripts asmdef to MSCore.RuntimeMSAnalytics.ReleaseEvents(); immediately after Adjust.start()/Users/<your user-name>) (path to user folder for Windows c:/users/<your user-name> ) place both file there.
NOTE: MS packages are not public and you need proper authentication to access and use the packages.
After Adjust is initialised in your game you need to call the following function to start sending events:
void PostMaxInit()
{
..........
InitAdjust();
..........
#if UNITY_ANDROID
MSAnalytics.ReleaseEvents(ADJUST_CUSTOM_EVENT_KEY_AND);
#elif UNITY_IOS
MSAnalytics.ReleaseEvents(ADJUST_CUSTOM_EVENT_KEY_IOS);
#endif
..........
}
You can call any analytics method in the MSAnalytics like following:
using MindstormStudios.Analytics; ....... MSAnalytics.ItemCollected(reward, additionalData);
using MindstormStudios.Analytics;
.......
MSAnalytics.CustomEvent("My_Custom_Event_Name", additionalData);
How to verify events are being sent (e.g., logs, mock server)
When an event is sent you’ll see a debug on console like the following:
To Update the package go to Package Manager > My Registries > MS Analytics and hit Update on the right side panel.
Refer to this Notion Document for an enhanced version of these instructions:
Notion Doc Link