ActionScript 2.0 :: Use Google Analytics To Track Viewed Content On Site Using Tags

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


Similar Posts:


Using Google Analytics To Track Action On My Flash Site?

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

Actionscript :: Simply Track Flash Views With Google Analytics?

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

ActionScript 2 :: Javascript - Google Analytics Flash Track GETURL #anchor

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

Javascript :: Google Analytics Track Event Causing Page To Change?

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

ActionScript 2.0 :: Set Up Google Analytics For A Full Flash Site?

Jan 22, 2010

I am trying to set up google analytics for a full flash site.

I added code to the html page and I think it's working properly - to see who is going to my site. But...for more advanced tracking, I think I need to add code to the flash file too.

View 1 Replies

Professional :: Track Pages With Google Analytics To See Which Pages Are Getting The Most Clicks?

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

ActionScript 1/2 :: Track Scenes Viewed And Display Image A Or Image B Based On Scenes Viewed

Feb 26, 2011

I have an interactive story divided into scenes. At the end of each scene a button appears. This occurs on a frame on the timeline.
 
There are two different buttons that might appear based on whether a prior scene has been viewed or not.
 
For example, there are Scene_1 and Scene_2. At the end of Scene_2 one of two buttons will appear. The buttons will be either "Go see Scene_1" or "Return to Main Menu".
 
If the user has already seen Scene_1, Flash will know that and automatically go to the frame in Scene_2 that contains the button "Return to Main Menu".
 
Conversely, if the user has not seen Scene_1, Flash will know and automatically go to the frame in Scene_2 that contains the button "Go see Scene_1".
 
I imagine there would be an action frame at the end of Scene_2 that will contain the as2 code to enable this action.
 
Perhaps something like, but probably not at all like the following:
 
if ("Scene_1", last frame == true){gotoAndPlay("frame#");}else{gotoAndPlay("frame#");}

View 1 Replies

Flash :: Possible To Track Analytics On An Offline Swf?

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

ActionScript 3.0 :: Track Time A Page Is Viewed?

Jan 11, 2011

Is there a way in which to track the time a Flash page is viewed? For instance, once the page loads, a timer begins. When the user moves to a different page, the timer is stopped?

View 2 Replies

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

Professional :: How To Add Google Analytics

Oct 7, 2010

I would like to add Google Analytics to my flash file. The flash file is contained in a HTML file, which I already added the script provided by Google Analytics. At the moment, when a user visits my site, regardless which page is visited, only the homepage is counted.
 
What as3 do I add to the flash file to keep track of each page that is being visited? I've tried a few codes provide on Google Analytics page and other tutorials, but none worked. The as3 for the menu buttons is displayed below.

[Code]...

View 1 Replies

ActionScript 2.0 :: Google Analytics Tracking?

May 7, 2010

I've integrated Google Analytics with Flash before using the previous tracker:

Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">[code]...........

PS - Google Analytics is installed properly, as it is registering the index page.

PPS - THis was set up over a week ago, so should be good to go.

View 1 Replies

Google Analytics On Flex IFrames?

Sep 29, 2009

So I would like to include pageTracker code in the iFrames that is being called.However the iFrames in this case are called from Flex. We are building a pop up and calling the iframes within the pop up.

In this scenario, what is the best way to include the pageTracker code to track and trasnfer the visitor and campaign cookies from one domain to the next?

View 1 Replies

Flex :: Use Google Analytics On Vkontakte?

Dec 22, 2009

I want to use Google Analytics on my Vkontakte application (written with Flex). Vkontakte does not support naturally in Google Analytics (not as Facebook) which means I can't even put the Google Analytics JS at the bottom of the page (or even use JS for that matter). What I can use is the AS3 library of Google Analytics, but for some reason it reports of failed gif requests every time I use it to report on an event. Is it even possible to use Google Analytics on the described environment? If so, what could be the reason of the failed gif requests? Is it debugable?

[Code]...

View 3 Replies

Flash :: Google Analytics Library?

Mar 29, 2010

I am trying to push in the Google Analytics library into my As3 widget. I plan to use the EventTracking feature in addition to the regular HTML-like pageview tracking that it provides. I plan to use the library in As3 mode (not the Bridge mode) since the widget is embedded on a lot of external domains.

Using the SWC to add the component to my project adds about 50k in file size. And my widget in itself is a very painstakingly achieved 120kb. I cannot afford the 50k overhead and every KB trimmed takes me closer to actually using GA with my player.

I got the code down from [URL].. and am trying to figure out any libraries that I can weed out to save file size, yet retain core functionality.

View 1 Replies

Actionscript 3 :: Preloader And Google Analytics?

Oct 12, 2010

I'm using Google analytics in my flash app. It works perfectly, but the time to publich the app came and I'm using an external swf. as preloader, which only consists in an small progress bar and summons my Flash app once it's completely loaded.Now i'm getting this error:Error #1009: Error #1009: Cannot access a property or method of a null object

at com.google.analytics.core::IdleTimer()
at com.google.analytics::GATracker/_trackerFactory()
at com.google.analytics::GATracker/_factory()

[code].....

View 1 Replies

Flash :: Add Google Analytics Tracking?

May 19, 2011

I've got an AS2 flash movie that I need to add Google Analytics tracking into. The only classes I can find are for AS3, do you know of any class method to track in AS2?

View 1 Replies

ActionScript 3.0 :: Do Google Analytics In Flash?

May 6, 2010

Does anyone know how to do google analytics in flash?

View 2 Replies

ActionScript 3.0 :: Add Google Analytics To Flash?

Oct 7, 2010

I would like to add Google Analytics to my flash file. The flash file is contained in a HTML file, which I already added the script provided by Google Analytics. At the moment, when a user visits my site, regardless which page is visited, only the homepage is counted.What as3 do I add to the flash file to keep track of each page that is being visited? I've tried a few codes provide on Google Analytics page and other tutorials, but none worked. The as3 for the menu buttons is displayed below.[code]

View 4 Replies

ActionScript 3.0 :: Put Google Analytics In Asdoc Output?

Jun 23, 2010

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?

View 2 Replies

Flash :: Way To Implement Google Analytics Tracking?

Jun 1, 2011

I am looking for code, examples, library, components for using google analytics event tracking with my Actionscript 2 Flash movies. I can find info about AS3 on the google code site but not AS2. What is the best resource for tutorials and examples about tagging my Flash files to use the asynch google analytics code. I have found some old information about the old google analytics code.

View 2 Replies

ActionScript 3.0 :: Flash - Swfobject & Google Analytics

Sep 25, 2010

I make a site in pure as3, i make a swf file. Use swfobject, go to my html doc and make a simple version of the site with html and css as my alternate content. Add my javascript code provided by google analytics. Are the results from google analytics a combination of my html and flash enabled users, or only the html users.

View 1 Replies

Actionscript 3.0 :: Page Tracking With Google Analytics?

Aug 5, 2009

[URL] here's how I've re-written the code for AS3 - the corresponding javascript code is in the html file.

Code: Select allvar testLink1:URLRequest = new URLRequest("javascript:pageTracker._trackPageview('/folder/file.html');");
testButton_mc.addEventListener(MouseEvent.CLICK, trackLink1);
function trackLink1(event:MouseEvent):void
{
navigateToURL(testLink1);
}

View 2 Replies

ActionScript 2.0 :: Integrate SWFaddress Google Analytics?

Aug 27, 2009

I have an as2 site that calls different swfs to the stage from movieclips.The buttons are movieclips and the content that is pulled in is a different swf for each button.How would I go about integrating SWFaddress in here and being able to get analytics functionality out of it?

View 1 Replies

Professional :: Information On Google Analytics On A Video Player?

Feb 5, 2011

I'm have some videos and I would like to add analytics so I can track how many times they were played. Although it sounds like a simple task, I can't seem to find much on the subject.

View 1 Replies

Flex :: Lighter Version Of Google Analytics For Flash?

Nov 23, 2009

40k of compiled code seems like a lot to me to be making some straightforward flash-javascript calls and makes GA unsuitable for banner ad work as well.

Does anyone know if there is a 'lite' version of Google Analytics for Flash?

View 5 Replies

Flash :: Tracking Code For Google Analytics In ActionScript2

Jan 26, 2010

Im completely new to Flash and ActionScript2 but what I need is to add Google analytics code to track clicks from "button" Bellow is a part of my function

[Code]...

View 2 Replies

Actionscript 3 :: Adding Google Analytics To Adobe Air HTML?

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

Ajax :: Google Analytics With Asynchronous Calls To Two Different Accounts?

Mar 28, 2011

I have a flash site that calls a JavaScript function to track events inside of the application, the _gaq is already implemented in the section of the html and it works perfectly fine with one account:

function customTracker(clickEventName)
{
_gaq.push (["_trackPageview", clickEventName]);
}

but now my customer wants to include special events from 3rd party companies and needs these to track into a different GA account. Before I try this out on the live server I wanted to ask if this would work:

function customTracker(clickEventName)
{
_gaq.push(["_setAccount", "UA-XXXXXXXXX-X"]); // the regular account
_gaq.push (["_trackPageview", clickEventName]);

[code]...

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved