You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by pr...@apache.org on 2016/12/21 21:27:58 UTC

[1/2] apex-site git commit: Adding Google Analytics tracking code and privacy footer

Repository: apex-site
Updated Branches:
  refs/heads/master d5a99b433 -> dc72131c8


Adding Google Analytics tracking code and privacy footer


Project: http://git-wip-us.apache.org/repos/asf/apex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/apex-site/commit/0e4bf4fc
Tree: http://git-wip-us.apache.org/repos/asf/apex-site/tree/0e4bf4fc
Diff: http://git-wip-us.apache.org/repos/asf/apex-site/diff/0e4bf4fc

Branch: refs/heads/master
Commit: 0e4bf4fc19aaf2f44e208ed113b7e0fd9277baed
Parents: 439b0d9
Author: Michelle Xiao <mi...@datatorrent.com>
Authored: Wed Dec 7 14:41:20 2016 -0800
Committer: Michelle Xiao <mi...@datatorrent.com>
Committed: Tue Dec 20 15:32:34 2016 -0800

----------------------------------------------------------------------
 src/md/privacy.md              | 17 +++++++++++++++++
 src/pages/privacy.html         |  9 +++++++++
 src/partials/footer.handlebars |  2 +-
 src/partials/header.handlebars | 10 ++++++++++
 4 files changed, 37 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/apex-site/blob/0e4bf4fc/src/md/privacy.md
----------------------------------------------------------------------
diff --git a/src/md/privacy.md b/src/md/privacy.md
new file mode 100644
index 0000000..5eabe5a
--- /dev/null
+++ b/src/md/privacy.md
@@ -0,0 +1,17 @@
+# Privacy Policy
+
+Information about your use of this website is collected using server access logs and a tracking cookie. The collected information consists of the following:
+
+* The IP address from which you access the website;
+* The type of browser and operating system you use to access our site;
+* The date and time you access our site;
+* The pages you visit;
+* The addresses of pages from where you followed a link to our site.
+
+Part of this information is gathered using a tracking cookie set by the [Google Analytics](http://www.google.com/analytics) service and handled by Google as described in their [privacy policy](http://www.google.com/privacy.html). See your browser documentation for instructions on how to disable the cookie if you prefer not to share this data with Google.
+
+We use the gathered information to help us make our site more useful to visitors and to better understand how and when our site is used. We do not track or collect personally identifiable information or associate gathered data with any personally identifying information from other sources.
+
+By using this website, you consent to the collection of this data in the manner and for the purpose described above.
+
+The Apex development community welcomes your questions or comments regarding this Privacy Policy. Send them to dev@apex.apache.org

http://git-wip-us.apache.org/repos/asf/apex-site/blob/0e4bf4fc/src/pages/privacy.html
----------------------------------------------------------------------
diff --git a/src/pages/privacy.html b/src/pages/privacy.html
new file mode 100644
index 0000000..e0c0e7d
--- /dev/null
+++ b/src/pages/privacy.html
@@ -0,0 +1,9 @@
+{{> header}}
+
+<div class="container">
+  
+  {{> privacy}}
+
+</div>
+
+{{> footer}}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/apex-site/blob/0e4bf4fc/src/partials/footer.handlebars
----------------------------------------------------------------------
diff --git a/src/partials/footer.handlebars b/src/partials/footer.handlebars
index 21b521b..9c84fbf 100644
--- a/src/partials/footer.handlebars
+++ b/src/partials/footer.handlebars
@@ -4,7 +4,7 @@
       <p>
         Copyright &copy; <span id="copyright-year">2015</span> <a href="http://apache.org">The Apache Software Foundation</a>,
         Licensed under the Apache License, Version 2.0<br>
-        Apache and the Apache feather logo are trademarks of The Apache Software Foundation.<br>
+        Apache and the Apache feather logo are trademarks of The Apache Software Foundation. | <a href="/privacy.html">Privacy Policy</a><br>
         <a class="footer-link-img" href="http://apache.org"><img src="/images/asf_logo.svg" alt="The Apache Software Foundation"></a>
       </p>
     </footer>

http://git-wip-us.apache.org/repos/asf/apex-site/blob/0e4bf4fc/src/partials/header.handlebars
----------------------------------------------------------------------
diff --git a/src/partials/header.handlebars b/src/partials/header.handlebars
index 27504b4..a5a953f 100644
--- a/src/partials/header.handlebars
+++ b/src/partials/header.handlebars
@@ -12,6 +12,16 @@
 
     <!-- Main Stylesheet -->
     <link href="css/main.css" rel="stylesheet">
+
+    <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-85540278-1', 'auto');
+      ga('send', 'pageview');
+    </script>
     
   </head>
 


[2/2] apex-site git commit: Merge branch 'apexcore-553' of github.com:mx4web/apex-site

Posted by pr...@apache.org.
Merge branch 'apexcore-553' of github.com:mx4web/apex-site


Project: http://git-wip-us.apache.org/repos/asf/apex-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/apex-site/commit/dc72131c
Tree: http://git-wip-us.apache.org/repos/asf/apex-site/tree/dc72131c
Diff: http://git-wip-us.apache.org/repos/asf/apex-site/diff/dc72131c

Branch: refs/heads/master
Commit: dc72131c898aceb0ca8355fc0e9476414c44a69b
Parents: d5a99b4 0e4bf4f
Author: Pramod Immaneni <pr...@datatorrent.com>
Authored: Wed Dec 21 13:26:35 2016 -0800
Committer: Pramod Immaneni <pr...@datatorrent.com>
Committed: Wed Dec 21 13:26:35 2016 -0800

----------------------------------------------------------------------
 src/md/privacy.md              | 17 +++++++++++++++++
 src/pages/privacy.html         |  9 +++++++++
 src/partials/footer.handlebars |  2 +-
 src/partials/header.handlebars | 10 ++++++++++
 4 files changed, 37 insertions(+), 1 deletion(-)
----------------------------------------------------------------------