I was having the same problem. I placed the <?php include_once("analyticstracking.php") ?> code just before the </body> tag, and I was able to see and edit my Dreamweaver .php files. I'm not sure if this is the best place to put the code for tracking purposes? Is it acceptable to do this?
When you were referring to changing the code in your last response, were you suggesting removing everything except the script tag and contents? ( just for my clarification.. thanks