Notification

Urchin WebAnalytics Software is discontinued and is no longer supported. All Urchin documentation applies only to the Urchin product as it was at the time of discontinuation, and does not apply to any Google Analytics products or services.

My site has only one URL because I am using Flash. How do I set up a goal funnel?

My site has only one URL because I am using Flash. How do I set up a goal funnel?

You can track any browser based event, including Flash events, on your website. By using the urchinTracker JavaScript function, you can assign a page filename to any Flash action, and enter that filename into the appropriate goal or funnel step.

To track an event, call the urchinTracker() JavaScript function with an argument specifying a name for the event. For example, calling:

 

    javascript:urchinTracker('/purchase_funnel/page1.html');

will cause each occurrence of the the calling Flash event to be logged as though it were a pageview under the name /purchase_funnel/page1.html. The argument must begin with a forward slash.

The event names may be organized into any directory style structure you wish. The path/filename argument to urchinTracker need not represent an actual URL on your website.

Flash Code Examples

 

    on (release) {
    // Track with no action
    getURL("javascript:urchinTracker('/folder/file.html');");
    }
    on (release) {
    //Track with action
    getURL("javascript:urchinTracker('/folder/file.html');");
    _root.gotoAndPlay(3);
    myVar = "Flash Track Test"
    }
    onClipEvent (enterFrame) {
    getURL("javascript:urchinTracker('/folder/file.html');");
    }
 
Search
Clear search
Close search
Main menu
14205600212743450864
true
Search Help Center
true
true
true
false
false