This is an automated email from the ASF dual-hosted git repository. ddekany pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/freemarker-site.git
The following commit(s) were added to refs/heads/master by this push: new 25a83efa Removed Google Analytics, as requested by ASF policy. 25a83efa is described below commit 25a83efab60a61fbf77560382e3e6ed407d65524 Author: ddekany <ddek...@apache.org> AuthorDate: Fri Aug 12 19:18:28 2022 +0200 Removed Google Analytics, as requested by ASF policy. --- src/main/docgen/docgen-misc/googleAnalytics.html | 14 -------------- src/main/docgen/docgen.cjson | 4 +++- 2 files changed, 3 insertions(+), 15 deletions(-) diff --git a/src/main/docgen/docgen-misc/googleAnalytics.html b/src/main/docgen/docgen-misc/googleAnalytics.html deleted file mode 100644 index 759564e9..00000000 --- a/src/main/docgen/docgen-misc/googleAnalytics.html +++ /dev/null @@ -1,14 +0,0 @@ -<!-- - This snippet was generated by Google Analytics. - Thus, the standard FreeMarker copyright comment was intentionally omitted. - <#DO_NOT_UPDATE_COPYRIGHT> ---> -<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','//www.google-analytics.com/analytics.js','ga'); - - ga('create', 'UA-55420501-1', 'auto'); - ga('send', 'pageview'); -</script> diff --git a/src/main/docgen/docgen.cjson b/src/main/docgen/docgen.cjson index ed914b8c..661a243f 100644 --- a/src/main/docgen/docgen.cjson +++ b/src/main/docgen/docgen.cjson @@ -18,7 +18,9 @@ // under the License. deployUrl: "https://freemarker.apache.org/" -onlineTrackerHTML: "docgen-misc/googleAnalytics.html" +// ASF policy doesn't allow using Google Analytics anymore: +// onlineTrackerHTML: "docgen-misc/googleAnalytics.html" +// Search still uses cookies: cookieConsentScriptURL: "https://cdn.jsdelivr.net/npm/cookie-bar/cookiebar-latest.min.js" offline: false simpleNavigationMode