Actionscript 3 :: Adobe Air - Analytics - Track What The User Clicks?
Nov 15, 2011
I'm soon to be launching an Adobe AIR desktop app. To make the best out of future updates I need to get analytics of which features get used the most and which not. How to track what the user clicks?
View 2 Replies
Similar Posts:
Jan 25, 2011
I would like to know how to track my pages with google analytics to see which pages are getting the most clicks. My site is XML / Flash the menu is xml. Could I put the tracking code on each of the menu items in the xml file?
View 7 Replies
Feb 15, 2010
whats the best way to track user clicks within a swf running online(AS3)?
View 2 Replies
Aug 4, 2011
My client wants a click tracker. They want the kiosk flash projector to track the cumulative clicks a page receives. They are referencing the use of a third party software using actionscript sharedobject to identify the clicks.
View 4 Replies
Jan 30, 2012
The user is downloading the .swf file (an e-brochure) from a link in an email. I'm trying to track the users interaction on the offline .swf. Is this possible?
View 1 Replies
Aug 7, 2009
I got this code to use google analytics to track activity on my flash site but I am not exactly sure on how to use it. Do I place the code on all the buttons I would like to track or is there a way to embed this code into to HTML document that my flash site is embedded in. I figured because of the onRelease action that it needs to be on a button,but I was hoping that there my be a better way. (My flash site has a lot of buttons.)
// legacy tracking codeindexLegacy_mc.onRelease = function()getURL("javascript:urchinTracker('/home/indexLegacy');");};
View 2 Replies
Feb 29, 2012
Tracking should be independent of hosted page. So flash views should be able to recorded on pages that don't have Google Analytics code.
View 1 Replies
Nov 28, 2010
I'm trying to track a #anchor for example [URL] the anchor is being called by Flash AS2. how can i tell GA to track hits on this page? I tried the GETURL method in flash:
[Code]....
which apprently used to work, but since they've made changes this doesn't... during tests firefox navigated to a page with the url javascript:_gaq.push [URL] was strange. Do I need to even use flash to ask GA to track the anchor? Is there a way i can point GA to track all anchors that are part of my page?
View 2 Replies
Feb 24, 2012
I have a flash file and am using google's suggested method for as2 event tracking like so:
getURL("javascript:pageTracker._trackEvent('Refferal', 'Join', 'Benefits for HCAs/APs');");
The problem is that instead of silently communicating, pageTracker._trackEvent() appears to return a boolean value. Every time I click the button which this is located on I leave the page I was on and end up on a page that just contains the word "true".how to get around this? It makes the flash unusable.
View 1 Replies
Feb 25, 2011
I use google analytics to track viewed content on my site using tags like this... Code:
getURL("javascript:pageTracker._trackPageview('/MAIN/WORK/SEARCH-ENTER.html');"); Im wondering how i can however track search queries using a similar method. Conceptually, im looking for a way to do this
[Code]...
View 1 Replies
Mar 9, 2011
I am using CS4.What I want to do is gather input from a user, and each time they click on a certain button, in this case the YES button, I would like a number added to the var such as score++. This way, I can use a case statement at the end to direct the user to the right product.However, my code does not work,
var score:Number = 0;
var score_txt:TextField = new TextField();
score_txt.x = 150;
[code]....
View 3 Replies
Aug 4, 2011
How do I use sharedObject to track the number of clicks and store them in a .txt file? My client wants to track the clicks of the user an Im not sure how to make this work with sharedObject.
View 1 Replies
Dec 1, 2009
I want that when a button is clicked, my event handler tracks the number of times that button was clicked and based on that populates a label with a different message. How would I achieve this in a frame actions script?
View 3 Replies
Jan 15, 2008
I'm trying to write a function that keeps a running count whenever a button is clicked - and then writes the count to a Shared Object cookie. Here's the code:
Code:
function counterVar() {
var elemSharedObject:SharedObject = SharedObject.getLocal("elementChoices", "/");
[Code]....
Everytime it runs the count gets reset to "1", endlessly.
View 2 Replies
Oct 12, 2010
I am attempting to add google analytics tracking to an Adobe Air app created with HTML and javascript.I have tried adding the ga.js file and using it like I would in a webpage:
<script type="text/javascript" src="lib/js/ga.js"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-********-1");
pageTracker._initData();
pageTracker._trackPageview('/test');
</script>
But this doesn't seem to register anything on the analytics dashboard.Have also tried using the GA for flash actionscript library but I can't seem to create an instance of the GATracker as it needs a DisplayObject?
EDIT :using the information from grapefrukt I tried the following:
air.Sprite = window.runtime.flash.display.Sprite;
air.GATracker = window.runtime.com.google.analytics.GATracker;
var tracker = new air.GATracker( new air.Sprite(), "UA-XXXXXXX-X", "AS3", false );
but I get the following error:TypeError: Error #1009: Cannot access a property or method of a null object reference
View 1 Replies
Apr 21, 2011
I'm using the Google Analytics library (AS3 mode) .swc to track some click statistics.Now I'ld like to get the users location. Does anyone know if it's possible to do that with the Flash Google Analytics library?
View 1 Replies
Feb 29, 2012
I'm using Adobe's Google Analytics SWC library for flex. What I'm trying to achieve is to simply be able to utilize the realtime features of Google Analytics to know when users have my AIR desktop application open.Making it detect an open application was easy enough. I can visually see the count on Google Analytics getting updated in a matter of seconds whenever I open up my application. However, the problem occurs when I close my app. Google Analytics doesn't seem to detect a closed app and still detects it as open on the realtime view. How would I go with making Google Analytics know that the application has stopped?
So far, it seems the realtime counter only reverts back to 0 after some 30 or so minutes that I have already closed the app. This leads me to believe that it was considered to be idle by Google and so decided to update the statistics. That might be good and all but I really want to utilize the realtime capability so I need it to reflect when an app closes with only a few seconds of offset.
View 1 Replies
Oct 4, 2010
I have a problem with a dynamic video player that I have created in flash. The video player is "SCORM" compliant so that when the user clicks the "exit" button a class file is called to mark the user complete in an LMS.I have tested the SCORM Code previously and it works with out issue. Usually I have the completion code embedded in an Actions Layer of the movie. This is the first time I have attempted to call the completion status in a class file, I have added a "trace statement" when the movie is tested within flash it runs the trace statement properly, but when uploaded to the LMS environment the course does not complete properly
View 3 Replies
Aug 22, 2011
I use Flex 4 for writing swf part of my application... So I have some swf files loaded in container, and what I need is allow to change that swf by clicking in it.How can I detect in which swf user clicks?
View 1 Replies
Sep 30, 2010
Can we develop multiple player game using Actionscript and php with normal server or we need smartfoxserver or flashmedia server. Basically I am working on a spot a ball game project where there are many cells and different users can log in and spot a hidden ball. I need to track which user has clicked on which cell
View 11 Replies
Jun 7, 2009
I'm converting some old Director/Shockwave animations to Flash, and I'm setting up a navigation system. I have a simple animation that runs from from 1 to frame 110, and I'd like it to loop until the user clicks a button. The timeline goes on beyond frame 110 with other stuff. In an "actions" layer in frame 110, I have the following
gotoAndPlay(1);
I thought that this would lead to the looping, but it doesn't. The movie just moves on beyond frame 110. Just as a test, I put the following at frame 110 instead.
stop();
and when I test the movie, it doesn't stop. The commands don't seem to be seen.
View 12 Replies
Jul 13, 2005
How do I track if the user is moving mouse left or right? I am trying to make a Fash VR sceen from muliple pics and I want to display next pics if _xmouse has increased or previous pics if _xmouse has decreased.
View 3 Replies
Dec 11, 2009
I want the ability to go back to frame 1 when a user clicks anywhere on the stage that doesn't contain an object. Is this possible?
View 2 Replies
Jul 14, 2010
What is the best way to delay user mouse clicks?
For example, I don't want the user to be able to click really fast or hold button down (a small delay between firing).
View 1 Replies
Jul 27, 2011
I am editing a template made with as2, flash8 and its controlled externally by a html file. I want to add a gallery when the end-user clicks on a picture. The main problem is the structure of the template. Its like that: There is a symbol named "pages" and in that there are 6 frames which one represents a page of the website except the main menu which is in another symbol. In the 4th layer 3rd frame there are 6 movie clips which are instances of another symbol named "p1_3 copy 2" which is a button and an instance of another button named "but_picts". One of those movie clips i want to make it a link for my gallery. So we there is the movie clips with the following actionscript attached:
ActionScript Code:
onClipEvent(load) {
loadMovie(_root.url + "_portfolio1.jpg", this.cont);
url=_root.url7;
[Code]....
View 2 Replies
Mar 29, 2004
this is probably a really simple code, (it might be javascript i dunno)... but i want a simple 'X' button that will close my window when the user clicks it.---------------------------------------------------
View 2 Replies
Nov 30, 2004
Is there a way to return what's hit when the user clicks? Like if what's hit is a movieClip or a button and so om...
View 1 Replies
Jul 23, 2009
I need to get some color info for where user clicks on the screen. can i use getPixel with an imported image file ? or does it need to be converted to a bitmap?
here is the code im using to import my image
PHP Code:
function loaderComplete(myEvent:Event)
{
var myQueryStrings=this.loaderInfo.parameters;
//Live URL
[Code]....
View 6 Replies
Sep 7, 2011
I have a 400 x 300 video on frame 20 when a user clicks a button named double_btn I want them to go to frame 21 with the video still playing but double the size. Any ideas on how to do this?
View 1 Replies
Mar 2, 2009
I have a flash file.i contains menu bar on top of it.i need to redirect the user if he clicks on the menu item.please help me in acomplish this task
View 1 Replies