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

dongjoon pushed a commit to branch branch-3.2
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.2 by this push:
     new 83f7f4089e2 [MINOR][DOCS] Also remove Google Analytics from Spark 
release docs, per ASF policy
83f7f4089e2 is described below

commit 83f7f4089e2b5e4b921b7a045b6972726e93b57d
Author: Sean Owen <[email protected]>
AuthorDate: Thu Apr 21 19:26:26 2022 -0700

    [MINOR][DOCS] Also remove Google Analytics from Spark release docs, per ASF 
policy
    
    ### What changes were proposed in this pull request?
    
    Remove Google Analytics from Spark release docs.
    See also https://github.com/apache/spark-website/pull/384
    
    ### Why are the changes needed?
    
    New ASF privacy policy requirement
    
    ### Does this PR introduce _any_ user-facing change?
    
    No
    
    ### How was this patch tested?
    
    N/A
    
    Closes #36310 from srowen/PrivacyPolicy.
    
    Authored-by: Sean Owen <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
    (cherry picked from commit 7a58670e2e68ee4950cf62c2be236e00eb8fc44b)
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 docs/_layouts/global.html | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/docs/_layouts/global.html b/docs/_layouts/global.html
index f10d46763cf..d4463922766 100755
--- a/docs/_layouts/global.html
+++ b/docs/_layouts/global.html
@@ -33,21 +33,6 @@
         <link rel="stylesheet" 
href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css"; />
         <link rel="stylesheet" href="css/docsearch.css">
 
-        {% production %}
-        <!-- Google analytics script -->
-        <script type="text/javascript">
-          var _gaq = _gaq || [];
-          _gaq.push(['_setAccount', 'UA-32518208-2']);
-          _gaq.push(['_trackPageview']);
-
-          (function() {
-            var ga = document.createElement('script'); ga.type = 
'text/javascript'; ga.async = true;
-            ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 
'http://www') + '.google-analytics.com/ga.js';
-            var s = document.getElementsByTagName('script')[0]; 
s.parentNode.insertBefore(ga, s);
-          })();
-        </script>
-        {% endproduction %}
-
     </head>
     <body>
         <!--[if lt IE 7]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to