Search Unity

One Unity Project - Multiple Apps

Discussion in 'Unity Analytics' started by comixplay, Jul 18, 2018.

Thread Status:
Not open for further replies.
  1. comixplay

    comixplay

    Joined:
    Sep 27, 2013
    Posts:
    104
    Hi,
    We're developing two apps in one unity project - Simple card games like Freecell and Solitaire, which differ only in a few c# classes but share everything else.
    We will publish them with two separate bundle ids,
    Will they show as one project in Unity Analytics?
     
  2. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    @assaf-cohen

    If you use the same Project for both apps and you don't manually assign them to different project IDs, then they will show up as a single project under Unity Analytics.

    If this is acceptable to you, then you still would be able to get some metrics for each game by creating Custom Segments based on the bundle id.

    Alternatively, you could manually assign different project ids when you create the separate builds. You can do this in the Services window:
    Step 1: Unlink Project (Services Window -> Settings -> Unlink Project
    Settings.PNG

    Step 2: The Services window will now allow you to create a new project id or link to an existing one. You will want to create a new Project ID the first time and then link to that project ID for subsequent builds. LinkExistingProject.PNG

    Lastly, there are some users that have created scripts to automate this id switching process, but it is not something we officially support:
    https://github.com/DragonBox/gists/blob/master/Assets/UnityUtils/Editor/UnityConnectUtils.cs
     
  3. comixplay

    comixplay

    Joined:
    Sep 27, 2013
    Posts:
    104
    Thanks a lot, that's really helpful.
    How about Android and iOS builds? Do I need to do the same or will Unity Analytics handle that automatically?
     
  4. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    They will be treated as the same project, but that is what we typically encourage. We automatically create segments for Android and iOS, so you can easily compare the DAU, Revenue, Retention, etc. across each platform.

    However, if you did want them separated, you can use the same method as above.
     
  5. comixplay

    comixplay

    Joined:
    Sep 27, 2013
    Posts:
    104
    Got it, thanks a lot.
     
Thread Status:
Not open for further replies.