Suggestion - insert google analytics code from admin panel

It would be cool to have an ability to paste google analytics code for statistic.

 

Comments

  • I guess I'll have to read up about how that works. I've never used it before. Can the necessary HTML/JS be auto-generated by Kiwi code or will there have to be an admin panel interface for certain parameters?

  • User generated java script code from his own google analytics web panel. 

    Something like this:

    <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)
    ga('create', 'UA-82543957-1', 'auto');
    ga('send', 'pageview');
    </script>

    After he have to put this code to html page which he want to track. So we just need add simple input form at Webpage tab for javascript tracking code. Tracking code should be place before closed </head> tag.


     
Sign In or Register to comment.