You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ja...@apache.org on 2025/06/30 16:43:19 UTC

(grails-static-website) branch google-analytics-removal created (now d21e7facdd)

This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a change to branch google-analytics-removal
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git


      at d21e7facdd Final Google Analytics removal from grails.apache.org

This branch includes the following new commits:

     new d21e7facdd Final Google Analytics removal from grails.apache.org

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(grails-static-website) 01/01: Final Google Analytics removal from grails.apache.org

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch google-analytics-removal
in repository https://gitbox.apache.org/repos/asf/grails-static-website.git

commit d21e7facdd174af8e8f4583aee91e2600f3c69c9
Author: James Fredley <ja...@users.noreply.github.com>
AuthorDate: Mon Jun 30 12:43:06 2025 -0400

    Final Google Analytics removal from grails.apache.org
---
 blog/2023-03-15-grails-6-m2.html | 29 +++++++++++++++---------
 blog/tag/4.html                  | 48 +++++++++++++++-------------------------
 ecosystem.html                   | 47 +++++++++++++++------------------------
 3 files changed, 54 insertions(+), 70 deletions(-)

diff --git a/blog/2023-03-15-grails-6-m2.html b/blog/2023-03-15-grails-6-m2.html
index d31cf106a8..bea97ac03c 100644
--- a/blog/2023-03-15-grails-6-m2.html
+++ b/blog/2023-03-15-grails-6-m2.html
@@ -25,8 +25,24 @@
     <link rel='mask-icon' href='https://grails.org/images/grails-pinned-icon.svg' color='feb672' />
     <link rel='stylesheet' href='https://grails.org/stylesheets/screen.css' />
     <script src='https://grails.org/javascripts/navigation.js'></script>
-    
-    
+
+    <!-- Matomo -->
+    <script>
+        var _paq = window._paq = window._paq || [];
+        /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+        _paq.push(["setDoNotTrack", true]);
+        _paq.push(["disableCookies"]);
+        _paq.push(['trackPageView']);
+        _paq.push(['enableLinkTracking']);
+        (function() {
+            var u="https://analytics.apache.org/";
+            _paq.push(['setTrackerUrl', u+'matomo.php']);
+            _paq.push(['setSiteId', '79']);
+            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+            g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+        })();
+    </script>
+    <!-- End Matomo Code -->
     
 </head>
 <body><header class='mainheader'>
@@ -221,15 +237,6 @@ With a hopeful outlook towards the future and a deep sense of gratitude, we eage
         </ul></nav>
     </div>
 </footer><div>
-    <script type='text/javascript'>
-        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-            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-82213539-2', 'auto');
-        ga('send', 'pageview');
-    </script>
 </div>
 </body>
 </html>
diff --git a/blog/tag/4.html b/blog/tag/4.html
index b339fd067d..71dedf5f7e 100644
--- a/blog/tag/4.html
+++ b/blog/tag/4.html
@@ -28,6 +28,24 @@
     
     <link rel='stylesheet' href=''/>
     <script src=''></script>
+
+    <!-- Matomo -->
+    <script>
+        var _paq = window._paq = window._paq || [];
+        /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+        _paq.push(["setDoNotTrack", true]);
+        _paq.push(["disableCookies"]);
+        _paq.push(['trackPageView']);
+        _paq.push(['enableLinkTracking']);
+        (function() {
+            var u="https://analytics.apache.org/";
+            _paq.push(['setTrackerUrl', u+'matomo.php']);
+            _paq.push(['setSiteId', '79']);
+            var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+            g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+        })();
+    </script>
+    <!-- End Matomo Code -->
 </head>
 <body><header class='mainheader'>
     <div class='content'>
@@ -119,36 +137,6 @@
         </ul></nav>
     </div>
 </footer><div>
-    <script type='text/javascript'>
-        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-            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-82213539-2', 'auto');
-        ga('send', 'pageview');
-    </script>
-    <script type='text/javascript'>
-        adroll_adv_id = "HBWJH4CQCJGS5DJRSB4Z4D";
-        adroll_pix_id = "IVEQYFOZXZAPZMDVQH7BFE";
-        /* OPTIONAL: provide email to improve user identification */
-        /* adroll_email = "username@example.com"; */
-        (function () {
-            var _onload = function(){
-                if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return}
-                if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}
-                var scr = document.createElement("script");
-                var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "https://a.adroll.com");
-                scr.setAttribute('async', 'true');
-                scr.type = "text/javascript";
-                scr.src = host + "/j/roundtrip.js";
-                ((document.getElementsByTagName('head') || [null])[0] ||
-                    document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
-            };
-            if (window.addEventListener) {window.addEventListener('load', _onload, false);}
-            else {window.attachEvent('onload', _onload)}
-        }());
-    </script>
 </div>
 </body>
 </html>
diff --git a/ecosystem.html b/ecosystem.html
index 521990408d..dfc0c3416f 100644
--- a/ecosystem.html
+++ b/ecosystem.html
@@ -5,6 +5,23 @@
 <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]--><html>
     <head>
         <meta charset='utf-8'/><meta http-equiv='X-UA-Compatible' content='IE=edge'/><meta name='viewport' content='width=device-width, initial-scale=1'/><title>The Grails Framework - Ecosystem</title><link href='img/favicon.ico' type='image/x-ico' rel='icon'/><link rel='stylesheet' type='text/css' href='css/bootstrap.css'/><link rel='stylesheet' type='text/css' href='css/font-awesome.min.css'/><link rel='stylesheet' type='text/css' href='css/style.css'/>
+        <!-- Matomo -->
+        <script>
+            var _paq = window._paq = window._paq || [];
+            /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
+            _paq.push(["setDoNotTrack", true]);
+            _paq.push(["disableCookies"]);
+            _paq.push(['trackPageView']);
+            _paq.push(['enableLinkTracking']);
+            (function() {
+                var u="https://analytics.apache.org/";
+                _paq.push(['setTrackerUrl', u+'matomo.php']);
+                _paq.push(['setSiteId', '79']);
+                var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
+                g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
+            })();
+        </script>
+        <!-- End Matomo Code -->
     </head><body>
         <a href='https://github.com/grails/grails-core' target='_blank'>
             <div id='fork-me'>
@@ -103,34 +120,6 @@
                     </div>
                 </div>
             </div>
-        </div><script src='js/vendor/jquery-1.10.2.min.js' defer></script><script src='js/vendor/bootstrap.js' defer></script><script src='js/vendor/modernizr.min.js' defer></script><script src='js/vendor/classie.js' defer></script><script src='js/vendor/sidebarEffects.js' defer></script><script src='js/plugins.js' defer></script><script>
-              (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
-              (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
-              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-82213539-2', 'auto');
-              ga('send', 'pageview');
-        </script><script>
-adroll_adv_id = "HBWJH4CQCJGS5DJRSB4Z4D";
-adroll_pix_id = "IVEQYFOZXZAPZMDVQH7BFE";
-/* OPTIONAL: provide email to improve user identification */
-/* adroll_email = "username@example.com"; */
-(function () {
-    var _onload = function(){
-        if (document.readyState && !/loaded|complete/.test(document.readyState)){setTimeout(_onload, 10);return}
-        if (!window.__adroll_loaded){__adroll_loaded=true;setTimeout(_onload, 50);return}
-        var scr = document.createElement("script");
-        var host = (("https:" == document.location.protocol) ? "https://s.adroll.com" : "http://a.adroll.com");
-        scr.setAttribute('async', 'true');
-        scr.type = "text/javascript";
-        scr.src = host + "/j/roundtrip.js";
-        ((document.getElementsByTagName('head') || [null])[0] ||
-            document.getElementsByTagName('script')[0].parentNode).appendChild(scr);
-    };
-    if (window.addEventListener) {window.addEventListener('load', _onload, false);}
-    else {window.attachEvent('onload', _onload)}
-}());            
-        </script>
+        </div><script src='js/vendor/jquery-1.10.2.min.js' defer></script><script src='js/vendor/bootstrap.js' defer></script><script src='js/vendor/modernizr.min.js' defer></script><script src='js/vendor/classie.js' defer></script><script src='js/vendor/sidebarEffects.js' defer></script><script src='js/plugins.js' defer></script>
     </body>
 </html>
\ No newline at end of file