{{/* */}} {{ with $.Site.Params.googleTag }} {{- $googleTagConsentJs := resources.Get "js/google-tag-consent.js" -}} {{- $googleTagConsentJs = $googleTagConsentJs | fingerprint "sha512" -}} {{- $googleTagJs := resources.Get "js/google-tag.js" -}} {{- $opts := dict "params" (dict "measurementId" .measurementId "googleAds" .googleAds) -}} {{- $googleTagJs = $googleTagJs | js.Build $opts | fingerprint "sha512" -}} {{ if ne .cookies true }} {{ end }} {{ if ne .measurementId nil }} {{ end }} {{ end }}