[ 
https://issues.apache.org/jira/browse/CB-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619388#comment-14619388
 ] 

ASF subversion and git services commented on CB-9295:
-----------------------------------------------------

Commit 2f620e6cff23bb8fd8d7f3f6f390be2146135c00 in cordova-docs's branch 
refs/heads/master from [~akurdyumov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-docs.git;h=2f620e6 ]

CB-9295 Add GA analytics code on the Cordova Docs page. This closes #9295


> Google Analytics for Docs website
> ---------------------------------
>
>                 Key: CB-9295
>                 URL: https://issues.apache.org/jira/browse/CB-9295
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Docs
>            Reporter: Nikhil Khandelwal
>
> Currently, our docs website references an incorrect ID for GA. We should use 
> the code below to add the new tracking ID. 
> We should ideally replace the ID of *all* versions of our document - not just 
> the current edge version
> Tracking ID: UA-64283057-1
> {code:javascript}
> <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-64283057-1', 'auto');
>   ga('send', 'pageview');
> </script>
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to