Hi,
It's quite nice and I have used Flash with Analytics for tracking
too - just by calling the javascript functions (bit of a fiddle in AS3),
but straightforward in AS2 and you can set up Goals too for your site to
measure your targets and see how people got there. As much as I have
issues with Google's "ubiquity", this tool is free and I have not found
anything to match it so far...
Stick Analytics in your HTML page:
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ?
"https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost +
"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-BLAHBLAH");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</body>
AS2:
getURL("javascript:pageTracker._trackPageview('/make/up/your/url/to/suit/"
+ pageID + "');");
JS For AS3 - a bit of a frig because there were issues with the
pageTracker object...
<script type="text/javascript">
// <![CDATA[
var pageTracker = _gat._getTracker("UA-BLAHBLAH");
pageTracker._initData();
pageTracker._trackPageview();
function trackTesting(page) {
pageTracker._trackPageview(page);
}
// ]]>
</script>
AS3:
var page:String = evt.type.substr(5);
//ExternalInterface caused a few problems with this so I abandoned
it for the getURL replacement in AS3
sendToURL(new URLRequest("javascript:trackTesting('"+page+"');"));
HTH
Glen
Bob Wohl wrote:
That's pretty hot Glen. I didn't know that was there! Thanks, learned
something new! =)
B.
On Tue, Sep 16, 2008 at 12:50 PM, Glen Pike <[EMAIL PROTECTED]>wrote:
Hi,
Google Analytics will report the Flash version down to the revision if you
have this installed already, you are laughing.
It's tucked under "Visitors->Browser Capabilities->Flash Versions" on the
Analytics page.
Glen
Lord, Susan, CTR, DSS wrote:
Hi everyone,
I am in a bit of a quandary... I need to do 2 things. First of all, I
need to convince my gov't client that AS3 and flash 9 are the way to go
for new development. Does anyone know of a good list of benefits I
might be able to share with my client?
My second task... I need to somehow detect what version of the flash
player people are using who access our site and track this data. If I
could prove that a certain percentage of people already have the Flash 9
player installed that would greatly help my case. Basically I need to
accomplish this task in the background, so it won't disturb the user's
workflow and track the data. We have about 80k users of our website. Is
there a good way to do this that you might recommend?
Any guidance you could provide is greatly appreciated!
Thanks!
Susan
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders