Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Consent API #10

Description

@NejcZdovc

trends('consent', options)

options Object This is key/values pair object where key is provider/category for example facebook and value is boolean. true if user consents for data to be send to facebook and false if they do not

Example

trends('consent', { 
  facebook: true,
  google: false
})

Another way to use this api is based on categories.

Example

trends('consent', { 
  analytics: false,
  advertising: true
})

User can also just enable everything

Example

trends('consent', { 
  all: true
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions