cancel
Showing results for 
Search instead for 
Did you mean: 

New Consent Managment integration with socialize login and multinaguages

0 Kudos
195

Hello,

How to use new API for Consent Managment?

I'm using socialize.login() method to login but in the response I don't have locale and I don't know what version of consent to show to the customer.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member629536
Participant
0 Kudos

Another approach can be gigya.thisScript.lang
This provides the langCode used by the SDK

former_member629536
Participant
0 Kudos

Hi Sergey

Using gigya._.plugins.instances like so you can find the lang value
my example: gigya._.plugins.instances['gigya-container'].lang

regards

Ibrahim

0 Kudos

gigya._.plugins.instances is empty object for me.