@dbosoft/react-consent-manager
v0.5.6
Published
A GDPR-compliant Consent Manager
Downloads
73
Keywords
Readme
Consent Manager
A GDPR-compliant consent manager.
Props
version(integer) - version number, bump up to override previous consent preferencescontainer(string) - id of container where the consent manager should livecompanyName(string) - your company name to be inserted in various copyprivacyPolicyLink(string) - link to your company's privacy policywriteKey(string) - your production write keyintegratedServices(array of objects) - use this to override the category or description of a service provided by integration servicename- name of the integration, must match the integration you are overridingcategory[optional] - new category namedescription[optional] - new description
categories(array) - State of togglename- name of categorydescription- description for the category
additionalServices(array of objects) - additional integrations outside of integration service that you wish to include in the consent managername- name of servicedescription- description of servicecategory- category of servicebody[optional] - javascript body associated with service If present, overridesurlbelowurl[optional] - url of js file associated with serviceasync(bool) [optional] - addasyncproperty to script elementaddToBody(bool) [optional] - inject script before closing<body>tagdataAttrs(arr) [optional] - array ofdata-attributes to add to script tagname(str) - name of data attribute (data-name)value(str) - value ofdataattribute to set
