Clean output "View source"
My guess is that you are running into EOL marker differences. That boils down to editor settings, and NetBeans copnfiguration help would be best at a sister side,  If the code works, then don't worry about it.

As a side note, I don't recall running into any situations that prevented me from using the normal Google Analytics module.  Recent versions let you adjust the code, so you should be able to match up with any tracking code you have.  In addition, you can configure it to ignore admins, track downloads, and do a lot more.