-
Hello, Sample site - https://syeda-git.github.io/mkdocs-sandbox/site/ Syed |
Beta Was this translation helpful? Give feedback.
Answered by
squidfunk
Sep 14, 2022
Replies: 2 comments 5 replies
-
Thanks for asking. Please share your configuration. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
squidfunk
-
Hi Martin,
My company uses a vendor for managing Privacy, cookie consent being one of
the aspects of Privacy. To use their cookie banner on our site's pages, we
have to add the following code within the head tag. When I add the code to
any HTML file, I can see the banner. See the attached sample HTML file.
I added the same code to the extrahead block in main.html so it shows up
within the head tags of the HTML files. The code is in the head tags of the
HTML files. However, the cookie banner doesn't show up when you open the
page in a browser.
Would you know why the code isn't working
Sample MkDocs site -
https://syeda-git.github.io/mkdocs-sandbox/site/about/about.html
Source package - https://github.com/syeda-git/mkdocs-sandbox/tree/main
Check https://help.hcltechsw.com for an example of how the banner and
buttons function.
<script type="text/javascript" src="
https://cdn.cookielaw.org/consent/99b8d579-c52a-43c9-ab7b-a35e60de7103/OtAutoBlock.js
"></script>
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="
text/javascript" charset="UTF-8" data-domain-script="
99b8d579-c52a-43c9-ab7b-a35e60de7103"></script>
<script type="text/javascript">
function OptanonWrapper() { }
</script>
…--
Regards
Syed Attaullah.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for asking. Please share your configuration.