Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Expand nonce.
James Colee2bb5c7bfb55
diff --git a/resources/views/v1/layout/default.twig b/resources/views/v1/layout/default.twigindex 07466e510b..404a2c781c 100644--- a/resources/views/v1/layout/default.twig+++ b/resources/views/v1/layout/default.twig@@ -208,8 +208,8 @@<!-- Global site tag (gtag.js) - Google Analytics --><!-- This tag is only here because this instance of Firefly III was purposefully configured to include it --><!-- Your own installation will NOT include it -->- <script async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>- <script nonce="{{ JS_NONCE }}">+ <script type="text/javascript" async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>+ <script type="text/javascript" nonce="{{ JS_NONCE }}">window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());diff --git a/resources/views/v1/layout/empty.twig b/resources/views/v1/layout/empty.twigindex 9e98de6cb1..3892bef7a5 100644--- a/resources/views/v1/layout/empty.twig+++ b/resources/views/v1/layout/empty.twig@@ -46,8 +46,8 @@<!-- Global site tag (gtag.js) - Google Analytics --><!-- This tag is only here because this instance of Firefly III was purposefully configured to include it --><!-- Your own installation will NOT include it -->- <script async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>- <script nonce="{{ JS_NONCE }}">+ <script type="text/javascript" async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>+ <script type="text/javascript" nonce="{{ JS_NONCE }}">window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());diff --git a/resources/views/v1/layout/guest.twig b/resources/views/v1/layout/guest.twigindex 4aadb107d5..648859cdba 100644--- a/resources/views/v1/layout/guest.twig+++ b/resources/views/v1/layout/guest.twig@@ -61,8 +61,8 @@<!-- Global site tag (gtag.js) - Google Analytics --><!-- This tag is only here because this instance of Firefly III was purposefully configured to include it --><!-- Your own installation will NOT include it -->- <script async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>- <script nonce="{{ JS_NONCE }}">+ <script type="text/javascript" async src="https://www.googletagmanager.com/gtag/js?id={{ config('firefly.analytics_id') }}" nonce="{{ JS_NONCE }}"></script>+ <script type="text/javascript" nonce="{{ JS_NONCE }}">window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());