1. #1
    Ext User
    Join Date
    Oct 2007
    Posts
    83
    Vote Rating
    0
    robw is on a distinguished road

      0  

    Question Tracking usage of an AIR app

    Tracking usage of an AIR app


    Hi

    Has anyone got experience tracking usage of an AIR app? Ideally I'd like to include Google Analytics, but I'm finding it hard to get any useful info on doing this or alternative techniques.

    Any guidance much appreciated!

    Thanks
    Rob

  2. #2
    Ext User
    Join Date
    Oct 2007
    Posts
    83
    Vote Rating
    0
    robw is on a distinguished road

      0  

    Default


    I've got Google Analytics working now. Solution is to put a hidden iframe in the AIR app which serves a page from my web server. That page has the Google Analytics code on it and calls trackPageView with whatever is on the querystring:

    PHP Code:
    <script type="text/javascript" src="http://www.google-analytics.com/ga.js"></script>
    <script type="text/javascript">
        window.onload = function() {
            var pageTracker = _gat._getTracker("SITE CODE");
            var s = document.location.search;
            if (s.length > 1) {
                s = s.substring(1);
                pageTracker._trackPageview(s);
            }
        }
    </script> 
    Then in my AIR app I have a function that can log any action by reloading the iframe:
    PHP Code:
    function track(action){
          
    document.getElementById('googleFrame').src 'http://my.domain/ga.html?' action;


Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi