Skip to content

Commit

Permalink
Add nonce value to tracking script
Browse files Browse the repository at this point in the history
Use caddy templating to replace placeholder with request uuid.
  • Loading branch information
flokoe committed Jun 5, 2024
1 parent b0c65f4 commit 9e34b4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions themes/v1/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
src="{{ $src }}"
integrity="sha256-{{ resources.GetRemote $src | crypto.SHA256 }}"
crossorigin="anonymous"
nonce="{{ print "{{ placeholder \"http.request.uuid\" }}" }}"

data-account-id="d5573aed-d858-4371-b256-b4c1e9a9b450"
data-locale="de"
Expand Down

0 comments on commit 9e34b4c

Please sign in to comment.