Difference between Web SDK consent 1.0 and 2.0
Any ideas what is the difference?

Any ideas what is the difference?

2.0 is more future oriented since it allows channel-level consent whereas 1.0 just says in/out.
So, 2.0 will likely replace 1.0 at some point.
That being said, 2.0 is currently (and I don't know when and if this going to change) sending “idSpecific” consent data which is different from CRM consent data you onboard directly into the platform through dataset import processes.
In other words, if you send an email output, this will be tied to your identity namespaces in that very request, like ECID for anonymous users and will not necessarily apply across all other namespaces of the profile. This will (likely) be merged with onboarded CRM-based consent data (based on merge policies).
I think ultimately, the use cases for web based consent are limited, and you will likely anyway control which tags to fire on your website through tag management based on the given consent categories.
But using the XDM Consent and Preferences field group in conjunction with your 2.0 schema is surely the way to go.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.