# Webtrends

**URL:** <https://forum.kirupa.com/t/webtrends/221375>\
**Category:** flash\
**Created:** [April 3, 2007, 7:40pm UTC](https://forum.kirupa.com/t/webtrends/221375 "2007-04-03T19:40:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![East\_High](https://avatars.discourse-cdn.com/v4/letter/e/6de8d8/32.png) [@East\_High](https://forum.kirupa.com/u/East_High)\
**Post date:** [April 3, 2007, 7:40pm UTC](https://forum.kirupa.com/t/webtrends/221375/1 "2007-04-03T19:40:30Z")

</div>

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?

```auto
 
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.
