Closed EmilyHazlehurst closed 5 months ago
Good morning @EmilyHazlehurst 👋
For error pages, I've created a file in dist/patch/js/ccfw-check-consent.js
that can be used to drop the GTM code. We need to make sure that the GTM ID is available on the page, in a data-allowed
attribute I think 🤔 - please do check this if you choose to use the file, I hope it's helpful.
Good morning @EmilyHazlehurst 👋
For error pages, I've created a file in
dist/patch/js/ccfw-check-consent.js
that can be used to drop the GTM code. We need to make sure that the GTM ID is available on the page, in adata-allowed
attribute I think 🤔 - please do check this if you choose to use the file, I hope it's helpful.
Thanks @wilson1000. I think for now it's probably best to keep this as it is as the goal of the ticket was just to change the title and and search link on the pages. I've added the original gtm code back in and have updated the ID.
Perhaps we can improve this further as part of the frontend work, since the error pages have some accessibility issues and are quite messy? I can make a ticket for it today.
We set up error pages in our
server.conf
configuration. Some rules allow access to certain directories when server access is restricted.Interestingly, 401 isn't in there, but 400 is. What should we do about this?