Tracking Goals with Flash ActionScript


#1

Hello,

I am having problems integrating PIWIK with Flash. Does anyone have any idea how to do this?

I would like to add this PIWIK Javascript:

onclick=“piwikTracker.trackGoal(14);”

to this ActionScript in Flash:

sendBtn = function(){
getURL("http://solarworld.de/fileadmin/sunkonfigurator/solaranlage.php?"+“konfigurator_plz=”+var_plz.text+"&konfigurator_ort="+var_ort.text+"&konfigurator_montage=konfigurator_"+dachtypVar+"&konfigurator_module="+modultypVar+"&konfigurator_ausrichtung="+ausrichtungVar+"&konfigurator_dachneigung="+dachneigungVar+"&konfigurator_dachflaeche="+var_dachflaeche.text);
}

Any help would be greatly appreciated. Thank you.