Using asdoc to generate documentation:  google analytics?

I'm using the asdoc.exe program that came with Flex Builder 3 to generate documentation for FlashMOG. I want to put in my google analytics javascript before the closing body tag of each file.  Is there some way to get asdoc to do this?

The asdoc tool allows you to supply your own templates; you could probably include that in there: http://help.adobe.com/en_US/flex/using/WSd0ded3821e0d52fe1e63e3d11c2f44bc36-7ffa.html

Similar Messages

  • PDFs Generated by google analytics are not able to print using Adobe Reader/Pro

    HI,
    I have fetch the reports from google analytics and tried to print it using adobe reader as well adobe reader pro in mac as well as in windows. Either or it gives me an error "The Document couldnt be printed" and "There were no pages selected to print". Can you please figure it out what is the problem.
    Thank You
    Dharmit Patel

    I tried doing that, but there is no option like that in the adobe version i am using in mac. I am also attaching the images to make it clear, how it looks like. Is there any other way to do it.
    Thank you for the reply.

  • How to use Event Tracking Code for Google Analytics in Dreamweaver CS5

    I need to track clicks on links that go to an outside website. I've read about "event tracking code". I'm not sure if it's the right tool to use. And if it is, I've spent several hours reading about it and I can't figure out how to use it. It looks like you need to be an expert developer to be able to make sense of all this. I've always been helped when I ask a question here, I'm hoping that someone can help me.
    What my client needs is to know what links are being clicked, and how often. Here's the page where I want to do this: Available Homes - Arizona Vacation Home Rentals 
    I added a code that I created using the tool I found here: General Event Tracking Code for Google Analytics but can't see to be able to make this work. I added this code to the first link called "View it Here" for the top, left house. Here's the code: <a href="http://www.homeaway.com/vacation-rental/p3495538" onClick="ga('send', 'event', { eventCategory: 'clicks', eventAction: 'clicks on homes', eventLabel: 'Clicked'});" target="_blank">View it HERE!</a> 
    Then I set a Goal in Google Analytics like it said in the instructions but it doesn't seem to work... I would APPRECIATE ANY HELP!
    Thanks,
    Brigitte

    I think you misunderstood what Event Tracking is designed for.  This is from Google Help
    Tracking Code: Event Tracking - Google Analytics — Google Developers
    "Use this to track visitor behavior on your website that is NOT related to a web page visit, such as interaction with a Flash video movie control or any user event that does not trigger a page request."
    Clicks on links are page requests.  I think for your purposes, you may want the Cross Domain Link Tracking plugin.
    Cross Domain Tracking - Web Tracking (analytics.js) - Google Analytics — Google Developers
    Nancy O.

  • Google Analytics and iWeb

    I'm attempting to insert an html tag generated by Google Analytics into our website that is published using iWeb (the latest version, sorry, I'm no longer on site).  Can anyone help me?
    Thank you,
    Jeff

    Since this is your website, the path to the analytics.js file is not correct :
    http://www2.hawaii.edu/~kpauker/Pauker_Lab/People.html
    The line in the code where it says :
    newScript.src = '/js/analytics.js';
    should be in order of preference :
    newScript.src = '../../../js/analytics.js';
    Or :
    newScript.src = '/~kpauker/js/analytics.js';
    Or :
    newScript.src = 'http://www2.hawaii.edu/~kpauker/js/analytics.js';

  • How to send datas properly to Google Analytics (ANE-Google-Analytics)

    Hello,
    I meet a problem when I'm using the native extension created by Alessandro Bianco : ANE-Google-Analytics. I tested this code many times, in the context of AIR mobile application, but I tested it without any success to add new datas to Google Analytic history. I'm really connected to internet properly.
    Moreover I think that I've made my functions as required by the author : Can you look at my code below to detect some errors to communicate with Google Analytics ?
    <s:TabbedViewNavigatorApplication
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        creationComplete="creationCompleteHandler(event)"
    >
        import eu.alebianco.air.extensions.analytics.Analytics;
        import eu.alebianco.air.extensions.analytics.api.ITracker;
        import flash.utils.clearInterval;
        import flash.utils.setInterval;
        import flash.utils.setTimeout;
        public var ganalytics:Analytics;
        public var gtracker:ITracker;
        protected var i:int = 1; // Debug
        protected static const ANALYTICS_ID = "My UA code is here";
        protected function creationCompleteHandler(event:Event):void
            // I launch the tracker :
            ganalytics  = Analytics.getInstance();
            ganalytics.dispatchInterval = 5; // Interval for connecting : 5 seconds
            // I begin to use the tracker :
            GtrackerSessionUsing("RecordingView","HomeView",true);
         * GtrackerConnecting
         * @description : Open connection to Google Analytics, and create instance for a tracker
         * @argument : actionName = "RecordView" or "RecordEvent"
         * @argument : valueName = Name of the view or name of the event to record
        public function GtrackerSessionUsing(actionName:String, valueName:String, createConnection:Boolean=false):void
            gtracker = ganalytics.getTracker(ANALYTICS_ID);
            gtracker.startNewSession();
            if(etablirConnexion==true)
                // Tracking des views :
                var compteur:int = 0;
                var intervalGtrackerCnxOuvrir:uint = setInterval(function():void{
                    counter++;
                    trace("gtracker ="+gtracker);
                    if(counter==50){ // Try to connect - only - 50 times
                        trace("GoogleTracker fails to connect !");
                        clearInterval(intervalGtrackerCnxOuvrir);
                    else if(gtracker!=null){
                        trace("GoogleTracker success to connect !");
                        GTrackerRecordAction("EnregistrerView","HomeView");
                        clearInterval(intervalGtrackerCnxOuvrir);
                    else{
                        trace("Trying to connect to GoogleTracker... (itérate #"+counter+")");
                        gtracker = ganalytics.getTracker(ANALYTICS_ID);
                        gtracker.startNewSession();
                },5000); // All 10 seconds : iterate a new connection test
        protected function GTrackerRecordAction(actionName:String, valueName:String)
         * @description : Use the tracker of the Google Analytics connected account, all of Views can call this function with this model of code: parentApplication.GTrackerRecordAction(...)
         * @argument : actionName = "RecordView" or "RecordEvent"
         * @argument : valueName = Name of the view or name of the event to record
            if(gtracker!=null)
                switch(actionName){
                    case "RecordView":
                    trace("GoogleTracker : gtracker.buildView("+valueName+").track()");
                    gtracker.buildView(valueName).track();
                    break;
                    case "RecordEvent":
                    switch(valueName){
                        case "event1":
                            gtracker.buildEvent("click", "button").withLabel("play").withValue(10).track();
                        break;
                        case "event2":
                            gtracker.buildEvent("click", "button").withLabel("stop").track();
                        break;
                        case "event3":
                            gtracker.buildEvent("app", "quit").track();
                        break;
                    break;
    Best regards.

    Youtch,
         I'm not sure exactly what your issue is, but I was unable to connect and looked at your code, modifying it for my purposes and it fixed my code. Hopefully it can help fix yours.
         I did notice one thing as I went through, however:
    You use
       var compteur:int = 0;
                var intervalGtrackerCnxOuvrir:uint = setInterval(function():void{
                    counter++;
    The compteur does not match the counter variable. It appears a problem with Franglais is the issue here.
    In the event it may help, here is the code I used:
    In my creationComplete function:
    GoogleAnalytics.initialize("UA-47303719-1");
    Here is the code in my app.xml
    <extensions>
            <extensionID>eu.alebianco.air.extensions.analytics.NativeGATracker</extensionID>
        </extensions>
    And here is the class I created to use the ANE:
    package ANE.NativeGATracker{
         import flash.utils.clearInterval;
         import flash.utils.setInterval;
         import eu.alebianco.air.extensions.analytics.Analytics;
         import eu.alebianco.air.extensions.analytics.api.ITracker;
         public class GoogleAnalytics{
              static private var _analytics:Analytics;
              static private var _tracker:ITracker;
              static private var _supported:Boolean;
               * There is no need to instantiate this class
              public function GoogleAnalytics(){
              * Initialize the GoogleAnalytics object.. or return false, if Analytics isn't supported
              static public function initialize(ANALYTICS_ID:String):Boolean{
                   if(Analytics.isSupported()){
                        _analytics  = Analytics.getInstance();
                        _analytics.dispatchInterval  = 5;
                        establishTracker(ANALYTICS_ID);
                        _supported   = true;
                   }else{
                         _supported  = false;
                   return _supported;
              * Establish the tracker connection
              * @description: establishes the tracker connection... reattempt every 10 seconds, up to 50 times
              static private function establishTracker(ANALYTICS_ID:String):void{
                   _tracker  = _analytics.getTracker(ANALYTICS_ID);
                   _tracker.startNewSession();
                   var counter:int    = 0;
                   var establishInterval:uint  = setInterval(function():void{
                        counter++;
                        trace("Google Analytics tracker = " + _tracker);
                        if(_tracker != null){
                             trace("GoogleAnalytics tracker connected!");
                             _tracker.buildView("Launch").track();
                             _tracker.buildView("Home").track();
                             clearInterval(establishInterval);
                       }else if(counter == 50){
                             trace("GoogleAnalytics failed to connect.");
                             clearInterval(establishInterval);
                       }else{
                             trace("Trying to connect to Google Analytics... attempt #" + counter);
                             _tracker  = _analytics.getTracker(ANALYTICS_ID);
                             _tracker.startNewSession();
                   }, 5000);
             * Analytics object
              static public function get analytics():Analytics{
                   return GoogleAnalytics._analytics;
              * Tracker object
              static public function get tracker():ITracker{
                   return GoogleAnalytics._tracker;
              * Returns true if analytics are supported, but false if they are not. Check this before any use of the tracker or analytics objects
              static public function get supported():Boolean{
                   return GoogleAnalytics._supported;

  • Firefox connects to google-analytics for some sites, and then gets stuck, and I can never get onto the site. How do I prevent Firefox from connecting to google-analytics? I use XP with service pak 3 in English

    Firefox connects to google-analytics for some sites,when i click on links in websites or emails and then gets stuck, and I can never get onto the site. Or opens a new bower behind the one i'm usind that's blank i don't even know it's there untill i close the one i'm using. How do I prevent Firefox from connecting to google-analytics? Or opening a blank bowser behind the one i'm using. I use XP with service pak 3 in English
    == This happened ==
    A few times a week
    == a couple months ago

    I got the same issue.
    I go on a website and all the sudden another window pops up with "results.google-analytics.com" or "search.google-analytics.com". It has often ads for other sites for example. black single dating site
    how can I can I stop that from happening again?
    I didn't download or do anything, just visit websites, that I visit on a regular basis.
    OS: Windows XP
    Firefox Version: 3.6.6

  • Want to use google analytics in iweb. Possible?

    i transfered domain to .mac and had to convert site to iweb 08 from dreamweaver. is there anyway to continue using google analytics? google webmaster tools? insert any code? adsense seems to work but google informs me apple will share the profits!
    are there any web analytics tools native to iweb?

    Shiels,
    try the AddGoogleAnalytics automator script from here: <http://www.apple.com/downloads/macosx/automator/addgoogleanalyticsaction.html>
    Works fine for me. Even more, Henrik is very helpful in case of problems.
    Regards,
    Kai

  • Using Google Analytics with iWeb site

    Is it possible to use Google Analytics with an iWeb site? They have code they want me to put before the </body> tag.... and I can't find that tag. How do I get the code to show in iWeb? Can I insert this with an HTML snippet?
    Thanks!

    Hello ruralart,
    After saving the automator workflow as a Finder Plugin,
    mount you iDisk in the finder (ex. click on the iDisk icon in the left pane of a Finder window),
    goto the folder iDisk / Web / Sites , select this folder "sites",
    control-click on the folder to run the “Add Google Analytics” workflow.
    Note : when you have iDisk Sync = ON, you'll see that the folder "web" is an alias so Automator will not work in this situation. You'll have to turn iDisk Sync OFF.
    Kind regards,
    Leo

  • Use SSIS to Load SQL Historical Tables into Google Analytics

    Is there a way to load data from a SQL data warehouse into Google Analytics?
    Thanks
    Francis, MCTS: BI 2008, MCITP: BI 2008 Stay Thirsty My Friends

    You need to register with Google to get the API Predictions token https://cloud.google.com/prediction/.
    Then you must be able to upload the data.
    Google Analytics AFAIK does not predict, but can do historical analysis. The recommendations are harder to do.
    To do both for free you can use Julia and/or R (<cite class="_Rm">www.r-project.org)</cite>.
    Azure has Mahout and soon R, or Apache has it exposed standalone or via Amazon Cloud.
    Much depends what kind of recommendations or predictions you need.
    Arthur
    MyBlog
    Twitter

  • Can I use google analytics with an Adobe media server 5 setup?

    i have an Adobe media server and were  trying to capture some metrics. Wondering whether we can use google analytics?

    Hello, I think it always been version specific, & is no longer even included...
    http://support.apple.com/kb/HT5308
    But as mentioned there, some older versions are available, but I think you'll have to figure a way to run your version on the older OS.

  • I used the Google Analytics Opt-out Browser Add-on with the previous version of Firefox, but when I go the site, they say it is not compatible with my browser (sensing Firefox 6.0.2); while the description says it works with Firefox. ???

    I go to the Google Analytics Opt-out Browser Add-on Download site, and apparently it "reads" what browser I'm using (Firefox 6.0.2, and says the add-on is not compatible with my browser.
    Yet in the description box on the download site, it lists Firefox as being compatible.

    I don't see that addon on addons.mozilla.org -- are you downloading it from there, or somewhere else?

  • Flash Player 10 causing a Google Analytics Admin Problem

    Since I upgraded to Flash Play 10, inside the admin of Google Analytics is not working.  When I log in to Google Analytics, Flash Play 10 is a part of adjusting the dates and it is causing some type of error that I can't figure out.  All I want to do is be able to adjust dates within Google Analytics and I can't.
    It happens in the three different browsers FireFox, IE and Chrome.  I have tried uninstalling and reinstalling an older version but it still isn't working.
    The reason I believe it is the flash play is because when I open the date section in Analytics I can right click and it give me the option of 'About Adobe Flash Player" and shortly after updating I opened analytics and my browser crashed.
    I am going to uninstall my browsers to see if that will work but if anyone else has had this problem and solved it please help me out.
    Thanks

    Hi, Thanks for the feedback. Yes that does help in many cases. Sometimes updating the device drivers also.
    The hardware acceleration sometimes can't be used by every system. You can read about the system requirements and what and how it works here:
    http://www.macromedia.com/support/documentation/en/flashplayer/help/help01.html
    Regards,
    eidnolb

  • OT - Google analytics

    Hello people, I use from few time google analytics, someone
    know if are
    possible to get the users ip like asp stats generator or
    phpstats ?
    howdy

    Thankyou guys.
    howdy
    Mark A. Boyd ha scritto:
    > howdy posted in macromedia.dreamweaver:
    >
    >> Hello people, I use from few time google analytics,
    someone know
    >> if are possible to get the users ip like asp stats
    generator or
    >> phpstats ?
    >
    > In a word, no.
    >
    > From Google Analytics Help:
    >
    > Is there a report that displays IP addresses?
    >
    http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=86214
    >
    >
    >

  • Tracking captivate lesson hits with google analytics

    Has anyone tried using Google Analytics to track hits to Captivate-generated lessons?
    Thanks.

    Without hijacking the thread...
    Will the CP5 PHP program provided also allow the trackiing of assessment scores to the webserver?
    (I am asking because we do not have an LMS)
    Thanks
    Terry

  • Google Analytics OPT-OUT Browser Add-on 0.9.6 doesn't retain OPT-OUT settings...never did really. Also JAVA now refuses to create updates for WinXP/FireFox.

    I use PaleMoon now trying to get rid of advertising sharks. I have WINXP still - need assistive-technology computer for pain so taking time on getting new computer.
    I have been severely sabotaged by advertising conglomerates selling my private information. They have no right -yet they do whatever they want. Anyhow...I've tried to OPT-OUT of EVERYTHING POSSIBLE. I've tried 5 places found. Google, NAI, DAA, & FIREFOX HELP said go to about:config was instructed to turn "from false to true" the "privacy.tracking.protection.enabled" .But I couldn't keep this setting because this also has to be set to false to use any saved log-on's to my accounts., and add-on AD BLOCK PLUS 2.6.7 when I was on Firefox & had some ticks and now it is disabled because it won't work with PaleMoon 25.2.1
    This case is about GOOGLE OPT-OUT. Starting here: http://www.google.com/settings/ads?hl=en&sig=ACi0TCgWymel0CNWxdcnEWPzWNs9wDd7cVQHxHsmtz4w30CAyHk7MqyzzZdGh3m6FpDaJsKmunTLEvJZY5LAm3h6gIdzE30L-Q
    There are 2 columns. The left one "ADS ON GOOGLE" NEVER RETAINS AFTER LOG-OFF. The right column "Google ads across the web
    " seems to retain sometimes - if I remember right it falls off after a period of time as opposed to after just LOGGING-OFF. Below the columns there are options, but I don't have a GOOGLE ACCOUNT.
    Also down there is this link: https://support.google.com/adsense/troubleshooter/1631343?hl=en ...you see the box with this: Advertising industry program participation
    Google is a participating member of groups that have developed industry privacy standards like the Ad-Choices icon for online advertising.
    Group Location
    Network Advertising Initiative United States
    Digital Advertising Alliance (DAA) United States
    European Digital Advertising Alliance Europe
    Digital Advertising Alliance of Canada Canada
    ....I clicked OPTED OUT FOR NAI on their link http://www.networkadvertising.org/
    ...I clicked OPTED OUT FOR DAA on their link http://www.aboutads.info/
    ...I clicked PROTECT MY CHOICES and downloaded the app.
    These 1st 2 links used to have the same trouble and didn't retain ANYTHING and wouldn't re OPT-OUT ANY UNTIL THEY WERE SATIATED - saying I didn't have 3rd party cookies allowed when I did - this took hours.
    I sent numerous trouble reports to them that they ignored - then I think I sent one to Firefox and it is much better but still not completely right. Today DAA retains 106 out of 122 and if I repeatedly RE-OPT-OUT successively I can get it to 121 out of 122 - never completely. (currently the one not taking is Accuen Inc. but it changes periodically - makes me think they set one up to take my info and then share it with all of them - lol )
    Same for NAI currently I started with 94 out of 96 - next re-OPTED-OUT got it to 95 out of 96 and no further and same co. Accuen Inc (accuenmedia.com ) wouldn't update.
    NOTE: I was copy/pasting the list of NON-OPT-OUT'S to them and my own document file to try and find trends/problems...now NAI programmers protected the list from being able to be COPIED AND PASTED!!! That's the opposite of being open and interested in making this work, right? Why would they want to allow us to OPT-OUT of their criminal espionage behavior...RIGHT? (lol) FYI: I recorded that the big one that was always retained before this one was...MEDIA MATH INC.
    MANY Opt-outs would drop off while on-line and ALL would drop-off once logged-off. Now it's retaining most once logged off - but it hasn't been long enough to tell if they'll fall back into their bad habits as they've done before...
    This has been going on forever for me - I've been reporting this malfunction since 2013.
    Of course I downloaded PROTECT MY CHOICES FOR FIREFOX via NAI AND DAA'S links ...http://www.aboutads.info/PMC#protect-your-choices-for-firefox ............they both go to the same place???.....PROTECT MY CHOICES http://www.aboutads.info/plugin/install/firefox....that seems odd...it's as if they are the same entity then. ABOUTADS is DAA'S WEBSITE. NAI'S IS NETWORKADVERTISING.ORG so why would NAI use DAA'S PROTECT MY CHOICES app?
    Lastely, I also requested that the COOKIES NAMES BE UNIFORMLY IDENTIFIABLE. All the OPT-OUT COOKIES that are to be forevermore retained on my computer and that I am to trust the EVERY FUNCTION OF - well they all have different COOKIE NAMES!! Most of the names you can not tell that they are OPT-OUT COOKIES!! - SO NOWWW They have created another problem.
    We can no longer just "DELETE ALL COOKIES".
    PLUS, we can no longer go through our cookies and delete individual ones that snuck through.
    Every one of the OPT-OUT COOKIES SHOULD SAY "OPT-OUT" IWITHIN THEIR NAME OF THEIR COOKIE - PERIOD. RIGHT? (LOL) For real. Why was this mess was allowed?
    REALLY IN MY OPINION THESE COMPANIES SHOULD BE BLOCKED AT THE LOCAL PHONE COMPANIES LEVEL - IN OUR SERVERS. We should not have to deal with them. Same thing with viruses, malware and such beasts. But I digress.
    In summary:
    1.)Google Analytics OPT-OUT Browser Add-on 0.9.6 doesn't retain OPT-OUT settings
    2.) JAVA refuses to create updates for WinXP/FireFox/PaleMoon.
    3.) DAA & NAI still don't retain ALL OPT-OUT settings and never completely OPT-OUT all companies.
    4.) OPT-OUT cookies should be uniformly names with the words OPT-OUT in their titles.
    5.) Ad Block Plus 25.6.7 doesn't work for Pale Moon and there is no alternative - (didn't work great in FireFox)
    Right now I'm mainly interested in #1)retaining my GOOGLE OPT-OUTS while on line AND while logged off since it is attacking my computer and steeling all the speed until it freezes my keyboard.
    Currently I am trying to remember to run through 3. OPT-OUTS every time I log on.
    Thanks so much!

    hello, palemoon's support forums are here: http://forum.palemoon.org/

Maybe you are looking for