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 Opting in and out

Discussion in 'Unity Analytics' started by dayjur, Sep 7, 2022.

  1. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    128
    So as I understand you can opt out with AnalyticsService.Instance.OptOut()

    How can I let an end user opt back in to the analytics ??
     
  2. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
  3. dayjur

    dayjur

    Joined:
    Sep 6, 2014
    Posts:
    128
    What if I use
    AnalyticsService.Instance.ProvideOptInConsent("GDPR", true);
    to opt back in, regardless of geo location outside pipl
    Just testing in editor when optout console says no longer transmiting analytics whenever I start App
    After optin this message no longer appears so I assume its sending data again
     
  4. Julian-Unity3D

    Julian-Unity3D

    Unity Technologies

    Joined:
    Apr 28, 2022
    Posts:
    192
    Unfortunately, that's not how it works, however we are continuously improving our product and opting in and out is still widely discussed.

    At the moment, these are the only ways to "reset" the ConsentIdentifier

     
  5. PeachyPixels

    PeachyPixels

    Joined:
    Feb 17, 2018
    Posts:
    716
    Just adding to that...

    There's also SetAnalyticsEnabled although I do not believe it deletes existing data from the service (as OptOut does)