Simple GDPR Consent [Open Source]

Hello!

SimpleGDPRConsent helps you present a GDPR consent dialog to the users. Please note that you are responsible from forwarding the consent data to your SDKs.

Asset Store: https://assetstore.unity.com/packages/tools/gui/simple-gdpr-consent-151966
Also available at: GitHub - yasirkula/UnitySimpleGDPRConsent: A Unity plugin to present GDPR consent dialogs to the users
Discord: yasirkula Unity Assets
GitHub Sponsors :coffee:

There are two types of dialogs:

  • TermsOfServiceDialog

4832063--1249858--TermsOfServiceDialog.png

  • GDPRConsentDialog

Enjoy!

4 Likes

Thanks this is something “sadly needed”…

1 Like

thanks bro for this

1 Like

thank you very much for this plugin, shame on Unity for pushing this work upon their user.

2 Likes

hi I am from vietnam , how to test plugin of you !

Hello, you can check out the example code here: GitHub - yasirkula/UnitySimpleGDPRConsent: A Unity plugin to present GDPR consent dialogs to the users

Awesome work!

1 Like

Now live on Asset Store: https://assetstore.unity.com/packages/tools/gui/simple-gdpr-consent-151966

1 Like

Hello!

I really liked the asset but I have a problem. When trying to use UnityEngine.Analytics.DataPrivacy or just DataPrivacy it gives an error (DataPrivacy doesn’t exist in the Analytics package) and I see that Analytics code is commented in the example code.

Is it because DataPrivacy class is used no more and there’s other way to make
//UnityEngine.Analytics.DataPrivacy.FetchPrivacyUrl?
Or is it some problem with the plug-in?

While I was writing the plugin, you could fetch Unity Analytics’s data privacy URL using that method. It might have changed since then. Or, you may have forgotten to import the corresponding plugin from Asset Store:

Thanks a lot!

1 Like

how to forward this to admob?

If SimpleGDPR.GetConsentState(“Ads”) isn’t equal to SimpleGDPR.ConsentState.Yes, you should add a npa=1 extra to ad request: Mulai  |  Unity  |  Google for Developers

How to import this? At the moment it does not appear in visual studio and asks me to generate the class instead.

@userq Please try Edit-Preferences-External tools-Regenerate project files.

will this be compliant with the new admob GDPR CMP requirements?

Beginning January 16, 2024, Google will require all publishers serving ads to EEA and UK users to use a Google-certified Consent Management Platform (CMP). You can use any Google-certified CMP for this purpose, including Google’s own consent management solution. If you are interested in using Google’s consent management solution, start by setting up your GDPR message and implementing the UMP SDK. Learn more
Create a GDPR message

@ToniMayo My plugin isn’t Google-certified so I don’t think it qualifies (I wasn’t aware of this change. This change sounds like my plugin became obsolete for a major use-case unfortunately).