Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Postpone initializing Unity Analytics until ATT permission known when also using Unity Ads ?

Discussion in 'Unity Analytics' started by mountainmarc1972, Sep 27, 2022.

  1. mountainmarc1972

    mountainmarc1972

    Joined:
    Jun 17, 2017
    Posts:
    14
    I read that Unity Analytics only collects the iOS IDFA if Unity Ads is also enabled.

    I use both Unity Analytics (the Unity Game Services version) and Unity Ads.
    To prevent sending the IDFA before the user answered the ATT permission request I implemented that Unity Ads is only initialized after the ATT Tracking Status is known.
    But what about Unity Analytics, will it send the IDFA before the ATT question has been answered (Now I Initialize UnityServices and check for required consents at the start of the game) ?
    Should I postpone initializing UnityServices until the ATT tracking Status is known (like I did with Unity Ads) ?