Add localised tracking codes for production environments
If people don't need to change these through the control panel, I would put them in the general.php config file.

Here's how I would do it:

return array(
  '*' =&gt; array (
    // default to not doing analytics
    'doAnalytics' =&gt; false,
    // all the analytics codes, by locale
    'gaCodes' =&gt; array(
      'fr_fr' =&gt; 'UAxxx',
      'en_us' =&gt; 'UAxxy'
    ),
  ),
  // CRAFT_ENVIRONMENT is set to one of 'LOCAL', 'STAGING', or 'PRODUCTION' in index.php
  'LOCAL' =&gt; array (
  ),
  'STAGING' =&gt; array (
  ),
  'PRODUCTION' =&gt; array (
    'doAnalytics' =&gt; true,
  ),
);


Then in your template:

{% if craft.config.doAnalytics %}
  ...{{ craft.config.gaCodes[craft.locale] }}...
{% endif %}


Here {% if ... %} tests if we want to do analytics, and {{ craft.config.gaCodes[craft.locale] }} pulls out the gaCode for the current locale.