Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: consent initstate alwayson not working #11

Closed
StevenChoo opened this issue Apr 9, 2018 · 1 comment
Closed

bug: consent initstate alwayson not working #11

StevenChoo opened this issue Apr 9, 2018 · 1 comment
Assignees

Comments

@StevenChoo
Copy link
Member

Description

A consent initialized with a consent having initstate:alwayson does not have the alwayson state.
#6 describes the change initstate:disabled to initstate:alwayson.
This is implemented in 0.6 but apparantly not working.

Expected Behavior

initstate:alwayson should behave as "Always on"

Actual Behavior

Nothing happens. The inistate is not used

Possible Fix

n.a.

Steps to Reproduce

  1. Intialize ConsentCookie with using the following
  ConsentCookie.init({
    'apps': {
      'endpoint': '',
      'consent': {
        'cc': {
          'initstate': 'disabled'
        },
        'iq': {
          'initstate': 'optout'
        },
        'ga': {
          'initstate': 'optin'
        },
        'gtm': {
          'initstate': 'alwayson'
        }
      }
    },
    'design': {
      'layout': {
        'position': 'right'
      },
      'colorscheme': {
        'primary': '',
        'secondary': '',
        'tertiary': '',
      }
    },
    'resources': {
      'nl': {
        'info': {
          "title":"",
          "text":""
        }
      }
    }
  });

Context

n.a.

Your Environment

On all

@StevenChoo StevenChoo self-assigned this Apr 9, 2018
@StevenChoo
Copy link
Member Author

fixed by #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant