Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

One Unity Project - Multiple Apps

Discussion in 'Unity Analytics' started by assaf-cohen, Jul 18, 2018.

Thread Status:
Not open for further replies.
  1. assaf-cohen

    assaf-cohen

    Joined:
    Sep 27, 2013
    Posts:
    89
    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,033
    @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. assaf-cohen

    assaf-cohen

    Joined:
    Sep 27, 2013
    Posts:
    89
    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,033
    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. assaf-cohen

    assaf-cohen

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