• Resolved MountainSmoke

    (@mountainsmoke)


    Hey, nice start to the plugin. I have been eyeing the insites cookie as a good alternative to other consent solutions.

    Question: So, the consent cookie works, great… but where/how do I trigger scripts based on the consent?

    This was the same dilemma I had manually pasting the insites code into my header.

Viewing 1 replies (of 1 total)
  • Plugin Author Nikel

    (@nikelschubert)

    Hi,

    I am pleased that you like my plugin.
    the script writes a cookie with the current status.
    cookie default name is cookieconsent_status, which can be changed.

    Values are depending of your configuration:
    dismiss, deny or allow.

    You must add “type” in the config if you want an optin/optout: “type”: “opt-in”.
    See the configurator as well: https://cookieconsent.insites.com/download/

    Other scripts can now read this cookie and act accordingly. I hope I could help.

    Regards

Viewing 1 replies (of 1 total)
  • The topic ‘How to load scripts after consent’ is closed to new replies.