2.0.0 • Published 6 years ago

@hashicorp/hashi-consent-manager v2.0.0

Weekly downloads
8
License
-
Repository
-
Last release
6 years ago

Consent Manager

A GDPR-compliant consent manager.

Props

  • version (integer) - version number, bump up to override previous consent preferences
  • container (string) - id of container where the consent manager should live
  • companyName (string) - your company name to be inserted in various copy
  • privacyPolicyLink (string) - link to your company's privacy policy
  • segmentWriteKey (string) - your production segment write key
  • segmentServices (array of objects) - use this to override the category or description of a service provided by Segment
    • name - name of the Segment integration, must match the integration you are overriding
    • utilServerRoot - root path of the instance of HashiCorp's web-utility-server to use. This is used to fetch integrations based on segment write key.
    • category optional - new category name
    • description optional - new description
  • categories (array) - State of toggle
    • name - name of category
    • description - description for the category
  • additionalServices (array of objects) - additional integrations outside of Segment that you wish to include in the consent manager
    • name - name of service
    • description - description of service
    • category - category of service
    • body optional - javascript body associated with service If present, overrides url below
    • url optional - url of js file associated with service
    • async (bool) optional - add async property to script element
    • addToBody (bool) optional - inject script before closing <body> tag
    • dataAttrs (arr) optional - array of data- attributes to add to script tag
      • name (str) - name of data attribute (data-name)
      • value (str) - value of data attribute to set
2.0.0

6 years ago

1.0.19-fonts.0

6 years ago

1.0.18-fonts.0

6 years ago

1.0.17-fonts.0

6 years ago

1.0.16-fonts.0

6 years ago

1.0.10

6 years ago

1.0.15-fonts.0

6 years ago

1.0.14-fonts.0

6 years ago

1.0.13-fonts.0

6 years ago

1.0.12-fonts.0

6 years ago

1.0.11-fonts.0

6 years ago

1.0.10-fonts.0

6 years ago

3.0.2-react.36

6 years ago

3.0.2-react.35

6 years ago

3.0.2-react.34

6 years ago

3.0.2-react.33

6 years ago

3.0.2-react.32

6 years ago

3.0.2-alpha.0

6 years ago

3.0.1-alpha.0

6 years ago

3.0.0

6 years ago

3.0.0-alpha.1

6 years ago

3.0.0-alpha.0

6 years ago

2.0.10-alpha.0

6 years ago

2.0.9-alpha.0

6 years ago

1.0.9

6 years ago

2.0.8-alpha.0

6 years ago

2.0.7-alpha.0

6 years ago

2.0.6-alpha.0

6 years ago

2.0.5-alpha.0

6 years ago

2.0.4-alpha.0

6 years ago

2.0.3-alpha.0

6 years ago

2.0.2-alpha.0

6 years ago

2.0.1-alpha.0

6 years ago

2.0.0-alpha.0

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago