As3: Track Pageviews only in Production Mode


/ Published in: ActionScript 3
Save to your folder(s)

There are many ways to tweak this code but hopefully this will get you all started. Whenever I'm tracking PageViews or Events for something like Google Analytics, I don't want navigateToURL() to interfere while I'm developing. These two functions will keep navigateToURL() from trying to load a Browser page until the SWF is loaded into an HTML page

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.