From 5d7e7f8d301a5d61d9520f32965ae4a175cf6e0e Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Tue, 15 Feb 2022 20:36:17 -0800 Subject: [PATCH] Parametrize GA key --- wise-webapp/src/main/webapp/jsp/googleAnalytics.jsf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wise-webapp/src/main/webapp/jsp/googleAnalytics.jsf b/wise-webapp/src/main/webapp/jsp/googleAnalytics.jsf index cc4cc0c0..2161cee1 100644 --- a/wise-webapp/src/main/webapp/jsp/googleAnalytics.jsf +++ b/wise-webapp/src/main/webapp/jsp/googleAnalytics.jsf @@ -8,7 +8,7 @@ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); - ga('create', 'UA-2347723-1', 'auto'); + ga('create', '${requestScope['google.analytics.account']}', 'auto'); ga('send', 'pageview');