Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1340658

    Hi guys
    i cant find a solution to set up a cookie as an essential one.
    I mean, of course i can add a cookie to the essential cookies tab, but user should not be able to turn off / on essential cookies. how do i do it?

    I need this for Google recaptcha.

    Second thing is, those essential cookies must be turned on, if he user presses the “decline all cookies” button.

    Glad to hear from you.
    Regards, krz

    #1340849

    Hey Krizz1989,

    Thank you for the inquiry.

    There is no option for this by default but you can modify the enfold/framework/js/conditional_load/avia_google_recaptcha_front.js file and set the script to always allow Google recaptcha regardless of the status of the privacy toggle. Look for this code or condition around line 57.

    if( ! allow_continue )
    

    Above it, just add this code.

    allow_continue = true;
    

    Or replace line 57 with this one.

    if( false )
    

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.