You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@infra.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2015/07/23 13:49:05 UTC

[jira] [Updated] (INFRA-9973) mirror.cgi raise exception after updating analytics.js tracking code on archiva website

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

Sebb updated INFRA-9973:
------------------------
    Status: Waiting for user  (was: Waiting for Infra)

> mirror.cgi raise exception after updating analytics.js tracking code on archiva website
> ---------------------------------------------------------------------------------------
>
>                 Key: INFRA-9973
>                 URL: https://issues.apache.org/jira/browse/INFRA-9973
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Mirrors
>         Environment: web browser
>            Reporter: Eric Barboni
>
> Hi, I already send a mail as tell in the in errror webpage [1] or [2] but as there is no archive I was not able to add information as I wanted to temporary enable html of project website for the users.
> Adding the new google analytics code break the mirror.cgi script as you can see on [1] or [2]. Here is the code (copy pasted from analytics site with no alteration):
> {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','//www.google-analytics.com/analytics.js','ga');
>           ga('create', 'UA-xxxx', 'auto');
>           ga('send', 'pageview');</script>
> {code}
> Regards
> Eric
> [1]https://archiva.apache.org/index.cgi
> [2]https://archiva.apache.org/download.cgi



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