Does placing Google Analytics code in an external file affect statistics?

Posted by Jacob Hume on Pro Webmasters See other posts from Pro Webmasters or by Jacob Hume
Published on 2011-02-17T16:03:11Z Indexed on 2011/02/17 23:33 UTC
Read the original article Hit count: 468

I'm working with an outside software vendor to add Google Analytics code to their web app, so that we can track its usage. Their developer suggested that we place the code in an external ".js" file, and he could include that in the layout of his application.

The StackOverflow question "Google Analytics: External .js file covers the technical aspect, so apparently tracking is possible via an external file.

However, I'm not quite satisfied that this won't have negative implications. Does including the tracking code as an external file affect the statistics collected by Google?

© Pro Webmasters or respective owner

Related posts about google-analytics

Related posts about JavaScript