pipwerks: home

pipwerks

Standards-friendy eLearning and Web development (HTML 5 version)

Posts Tagged ‘progressive enhancement’

SWFObject and Google Analytics

Just a quick note: I’ve posted two new SWFObject examples: Embedding a SWF then displaying markup to copy, and Wrapping Google Analytics Code in a DomReady event.

I wanted to point out that the code for wrapping Google Analytics code in a domready event is not actually SWFObject-specific; it just happens to be an issue a lot of SWFObject users have complained about over the last couple of years. My example includes a SWF, but the code is usable in any webpage. I highly recommend it (or your own home-brewed variation of it) simply because it moves Google’s