WebTrends Tracking Code

Permalink
I've been using C5 for the last few projects at work and they really love it!

My question is, when inserting WebTrends code, is it ok to insert it through the dashboard->settings->tracking code, or should I play it safe and just insert the tracking code in the theme's template pages?

My Google code works fine when I insert it via the dashboard, but there's a warning in the WebTrends code that says:

<!-- ----------------------------------------------------------------------------------- -->
<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
<!-- JavaScript include file can cause serious problems with cross-domain tracking.      -->
<!-- ----------------------------------------------------------------------------------- -->


Now, since C5 will be inserting the code using a php include, I had doubts as to whether I should use the dashboard to insert the WebTrends code.

 
elyon replied on at Permalink Reply
elyon
You're safe.

PHP is compiled on the server, so whether the code is used in a PHP include or written directly on the page, it looks and acts the same in the end.

It sounds like you already do, but the only thing you need is to make sure that your theme has the PHP code in place for including footer items.