Skip to content

Commit dd35510

Browse files
authored
Merge pull request #9557 from mendix/MvM-Cookies
Add cookie controls
2 parents 03f9d0b + ddc5240 commit dd35510

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

layouts/partials/footer.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@
5555
class="mx-footer__link"
5656
>EU Digital Services Act Notice</a
5757
>
58+
</li>
59+
<!-- MvM - Added at request of Marketing to allow cookie settings to be changed. -->
60+
<li>
61+
<a
62+
href="#" onClick="UC_UI.showSecondLayer();"
63+
aria-label="Cookie Settings (opens in a popup)"
64+
class="mx-footer__link"
65+
>Cookie Settings</a
66+
>
5867
</li>
5968
</ul>
6069
</div>

layouts/partials/hooks/head-end.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
{{- else -}}
99
<link rel="canonical" href="{{ .Permalink }}">
1010
{{- end -}}
11-
<!-- MvM: Add Javascript for Japanese translation -->
12-
<!-- MvM: Only if page has a title -->
11+
<!-- MvM: Add Javascript for Cookie management - requested by Marketing/Legal -->
12+
<script id="usercentrics-cmp" src="https://app.usercentrics.eu/browser-ui/latest/loader.js" data-settings-id="Fhgux2LDfg_YUL" async></script>
13+
<!-- MvM: Add Javascript for Japanese translation -->
14+
<!-- MvM: Only if page has a title -->
1315
{{- with .Params.title -}}
1416
<script src="https://d.shutto-translation.com/trans.js?id=1806"></script>
1517
{{- end -}}

0 commit comments

Comments
 (0)