Skip to content

Tracking

DucNV_2000 edited this page Aug 14, 2024 · 8 revisions

Firebase Analytic Tracking

Screenshot 2024-08-14 111356

  • Open tab Firebase in Unity-Common control panel to install firebase analytics and define symbols
  • Tracking
    public void StartLevel(int level)
    {
        FirebaseTracking.TrackEvent("StartLevel", "Level", level.ToString());
    }

    public void ClickButton()
    {
        FirebaseTracking.TrackEvent("ClickButton");
    }

Adjust Tracking

Screenshot 2024-08-14 112532

  • Open tab Adjust in Unity-Common control panel to install Adjust sdk and add define symbols
  • Create AdjustSetting and enter AppToken
  • Init Adjust Start Tracking
    private void Start()
    {
        AppTracking.StartTrackingAdjust();
    }
  • Tracking
    public void StartGame()
    {
        AdjustTracking.TrackEvent("sawdsfawf");
    }

AppsFlyer Tracking

  • Open tab AppsFlyer in Unity-Common control panel to install AppsFlyer sdk and add define symbols
  • Create AppsFlyerSetting and enter DevKey
  • Init AppsFlyer Start Tracking
    private void Start()
    {
        AppTracking.StartTrackingAppsFlyer();
    }
  • Tracking
    public void StartLevel(int level)
    {
        AppsFlyerTracking.TrackEvent("StartLevel", "Level", level.ToString());
    }

    public void ClickButton()
    {
        AppsFlyerTracking.TrackEvent("ClickButton");
    }
Clone this wiki locally