You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Ashwin Chandra Putta (JIRA)" <ji...@apache.org> on 2016/10/13 01:49:20 UTC

[jira] [Updated] (APEXCORE-553) Add google analytics tracking to apex website

     [ https://issues.apache.org/jira/browse/APEXCORE-553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ashwin Chandra Putta updated APEXCORE-553:
------------------------------------------
    Description: 
Add Google Analytics tracking to the apex.apache.org website so that we can learn about website traffic and what users are looking for.

{code}
<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>
{code}

Add privacy footer to indicate collection of data. Reference: http://www.apache.org/foundation/policies/privacy.html

Discussion: https://lists.apache.org/thread.html/f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%3Cdev.apex.apache.org%3E

  was:
Add Google Analytics tracking to the apex.apache.org website so that we can learn about website traffic and what users are looking for.

{code}
<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>
{code}

Discussion: https://lists.apache.org/thread.html/f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%3Cdev.apex.apache.org%3E


> Add google analytics tracking to apex website
> ---------------------------------------------
>
>                 Key: APEXCORE-553
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-553
>             Project: Apache Apex Core
>          Issue Type: Improvement
>          Components: Website
>            Reporter: Ashwin Chandra Putta
>            Assignee: Michelle Xiao
>
> Add Google Analytics tracking to the apex.apache.org website so that we can learn about website traffic and what users are looking for.
> {code}
> <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>
> {code}
> Add privacy footer to indicate collection of data. Reference: http://www.apache.org/foundation/policies/privacy.html
> Discussion: https://lists.apache.org/thread.html/f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%3Cdev.apex.apache.org%3E



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Re: [jira] [Updated] (APEXCORE-553) Add google analytics tracking to apex website

Posted by Michelle Xiao <mi...@datatorrent.com>.
I suggest to install Google Tag Manager on Apex website, and add Google
Analytics there.

GA is the analytics tool that provides reports about activity on the site.
GTM is a tag manager that can output tags based on defined rules. The main
benefit of GTM is that we can use it for multiple tags, especially some
customized event tracking, e.g. Download Button click, file download.

Current DataTorrent website uses GTM, we have 10 customized tags so far,
the corresponding event reports can be found in Google Analytics.

On Wed, Oct 12, 2016 at 6:49 PM, Ashwin Chandra Putta (JIRA) <
jira@apache.org> wrote:

>
>      [ https://issues.apache.org/jira/browse/APEXCORE-553?page=
> com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
>
> Ashwin Chandra Putta updated APEXCORE-553:
> ------------------------------------------
>     Description:
> Add Google Analytics tracking to the apex.apache.org website so that we
> can learn about website traffic and what users are looking for.
>
> {code}
> <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>
> {code}
>
> Add privacy footer to indicate collection of data. Reference:
> http://www.apache.org/foundation/policies/privacy.html
>
> Discussion: https://lists.apache.org/thread.html/
> f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%
> 3Cdev.apex.apache.org%3E
>
>   was:
> Add Google Analytics tracking to the apex.apache.org website so that we
> can learn about website traffic and what users are looking for.
>
> {code}
> <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>
> {code}
>
> Discussion: https://lists.apache.org/thread.html/
> f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%
> 3Cdev.apex.apache.org%3E
>
>
> > Add google analytics tracking to apex website
> > ---------------------------------------------
> >
> >                 Key: APEXCORE-553
> >                 URL: https://issues.apache.org/jira/browse/APEXCORE-553
> >             Project: Apache Apex Core
> >          Issue Type: Improvement
> >          Components: Website
> >            Reporter: Ashwin Chandra Putta
> >            Assignee: Michelle Xiao
> >
> > Add Google Analytics tracking to the apex.apache.org website so that we
> can learn about website traffic and what users are looking for.
> > {code}
> > <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>
> > {code}
> > Add privacy footer to indicate collection of data. Reference:
> http://www.apache.org/foundation/policies/privacy.html
> > Discussion: https://lists.apache.org/thread.html/
> f1af3f19ecd2532eb2f5cea2a81fda744912112df5259e2d55c05b88@%
> 3Cdev.apex.apache.org%3E
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>