diff --git a/README.md b/README.md index bf7cebf4..ab9238d0 100644 --- a/README.md +++ b/README.md @@ -270,7 +270,7 @@ initCookieConsentManager( // when loaded as a module, these options are passed t | `autodetectLang` | boolean | `true` | Autodetect language based on the value of ``. If autodetect fails or if unsupported language is detected, fallback to `defaultLang`.
When disabled, force language to `defaultLang`. | | `defaultLang` | string | `'cs'` | Default language. One of `cs`, `de`, `en`, `hu`, `pl`, `ru`, `sk`, `uk`. This language will be used when autodetect is disabled or when it fails. | | `companyNames` | array | `['Alma Career']` | Array of strings with company names. Adjust only when the consent needs to be given to multiple companies. Value "Alma Career" is replaced with translated legal name. [See example][examples-configuration]. | -| `consentCollectorApiUrl` | ?string | `'https://ccm.lmc.cz/(...)'` | URL of the API where user consent information is sent. Null to disable sending data to the API. | +| `consentCollectorApiUrl` | ?string | `'https://consents.almacareer.tech/acl-lda/(...)'` | URL of the API where user consent information is sent. Null to disable sending data to the API. | | `config` | Object | `{}` | Override internal config of the underlying library. For all parameters see [config reference of the original library][cookie consent options]. | | `displayMode` | DisplayMode (string) | `DisplayMode.FORCE` (`force`) | `force` (default) to show consent in a centered modal box and to block page until user action. `soft` to show consent banner on the bottom of the page and do not block the page before user action. | | `on*` callbacks | function | `(cookieConsent) => {}` | See below for configurable callbacks. | diff --git a/examples/callbacks.html b/examples/callbacks.html index 89fb7967..2e62bbae 100644 --- a/examples/callbacks.html +++ b/examples/callbacks.html @@ -150,7 +150,7 @@

onChange callback – dump of categories p window.ccm = initCookieConsentManager( // note we store cookieConsent instance in global window.ccm variable 'github.example', { - consentCollectorApiUrl: 'https://ccm.lmc.cz/local-data-acceptation-data-entries?Spot=(public,demo)', // override default URL for demo purposes; do not set custom consentCollectorApiUrl unless you have been explicitly guided to do so! + consentCollectorApiUrl: 'https://consents.almacareer.tech/acl-lda/local-data-acceptation-data-entries?Spot=(public,demo)', // override default URL for demo purposes; do not set custom consentCollectorApiUrl unless you have been explicitly guided to do so! displayMode: 'soft', // show consent in a bottom banner and do not force user action before page could be used onConsent: ({cookieConsent}) => { // any type of consent detected (including only necessary, custom selection or all categories) markCallbackCalled('onConsent'); diff --git a/examples/configuration.html b/examples/configuration.html index 0e5f0903..a8a46106 100644 --- a/examples/configuration.html +++ b/examples/configuration.html @@ -158,7 +158,7 @@

Use cookieConsent instance

defaultLang: 'sk', // force use of 'sk' language instead displayMode: 'force', // show consent in a blocking modal window (this is also default) companyNames: ['Alma Career', 'Some Other Company', 'ACME'], // define custom company names to be shown in the consent text - consentCollectorApiUrl: 'https://ccm.lmc.cz/local-data-acceptation-data-entries?Spot=(public,demo)', // override default URL for demo purposes; do not set custom consentCollectorApiUrl unless you have been explicitly guided to do so! + consentCollectorApiUrl: 'https://consents.almacareer.tech/acl-lda/local-data-acceptation-data-entries?Spot=(public,demo)', // override default URL for demo purposes; do not set custom consentCollectorApiUrl unless you have been explicitly guided to do so! config: { // override default config of the underlying library, see https://cookieconsent.orestbida.com/reference/configuration-reference.html manageScriptTags: false, // disable management of