Skip to content

Commit dd086f3

Browse files
authored
Added cookie consent as interim solution (#16)
* replaced cookie consent with usercentrics * replaced cookie consent with usercentrics live script
1 parent 8bd26dd commit dd086f3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

_includes/footer.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
Twitter
55
</a> | <a href="https://github.com/gematik1">GitHub</a>
66
</p>
7-
<p>© gematik GmbH 2022<br /><a href="https://www.gematik.de/impressum" target="_blank">Imprint (DE)</a> | <a href="https://www.gematik.de/datenschutz" target="_blank">Data privacy (DE)</a></p>
7+
<p>© gematik GmbH 2022<br /><a href="https://www.gematik.de/impressum" target="_blank">Imprint (DE)</a> | <a href="https://www.gematik.de/datenschutz" target="_blank">Data privacy (DE)</a> | <a href="#" id="open_preferences_center">Update cookies preferences</a></p>
8+
<p></p>
89
<p>Published with <a href="https://pages.github.com">GitHub Pages</a></p>
910
</footer>

_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
4343
{% include footer.html %}
4444
</footer>
4545
</div>
46-
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
46+
<script id="usercentrics-cmp" src="https://app.usercentrics.eu/browser-ui/latest/loader.js" data-settings-id="_NKfSQXhq" async></script>
47+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}" type="text/plain" cookie-consent="strictly-necessary"></script>
4748
</body>
4849
</html>

0 commit comments

Comments
 (0)