Webtrends

I’ve been tasked to add some Webtrends tagging to my Flash files. The problem being is that I’ve never done this and there isn’t much help on on teh internets.

I think I’ve got it, but perhaps someone here can take a look at the code and verify my understanding of it.

I see it as such: TrackEvent(URL) gets the URL called by the button_mc and sends it to a Webtrends log file. Where I get confused is the code I attach to the button. Is my code correct, or should I leave the inside of the parentheses clear and the TrackEvent function will snag the URL from the getURL function?

 
function trackEvent(URL) {
getURL("javascript:dcsMultiTrack('DCS.dcsuri','"+URL+"')");
}

button_mc.onRelease = function() {
trackEvent('www.google.com');
getURL("www.google.com");

I hope someone can help me with this as I’m feeling on my own with it from my peers at work.