-
Notifications
You must be signed in to change notification settings - Fork 7
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
Config for disabling Splunk logging at run time #99
Comments
Also, the logging URL is hard-coded to a specific NHS url, making this less usable for others: cookie-consent/src/cookieconsent.js Line 180 in bd1fb2b
|
Maybe there should be a config option more like |
I've just came across this too. Perhaps a slightly different scenario. I’m referencing the nhs uk analytics cookie script for testing as per the example repo of implementing adobe analytics. I've got everything working but there’s an error in the console where it seems to communicate whether you’ve seen the cookie banner (and then when you've accepted cookies) to nhs.uk.
It makes sense as our app is not hosted on nhs.uk (and in my case above I'm just running locally). It would be nice to be able to supply a test url in |
We need the ability to disable Splunk logging when consuming the banner in applications. If the application is not on the nhs.uk domain there are console errors when the banner is interacted with.
Mike's comment on this issue shows that the logging URL is hard-coded which is specific to nhs.uk only.
https://github.com/nhsuk/cookie-consent#script-options
There is a config for disabling/enabling at build time but nothing at run time.
The text was updated successfully, but these errors were encountered: