Skip to content

How to combine this with cookie consent mode? #3

Description

@EmLXND

You suggest to handle cookie consent like this:

window.VWO = window.VWO || [];
window.VWO.init = window.VWO.init || function(state) { window.VWO.consentState = state; }
// <number-value> can be any of the following:
// 1 - Accepted
// 2 - Pending
// 3 - Denied
window.VWO.init(<number-value>);
// This code needs to be implemented on the client website separately.

Does it work with using this npm package? Or could you maybe even integrate consent into the component imported from the npm package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions