Personal tools

next
previous
items

Skip to content. | Skip to navigation

Sound and independent information
on the environment

You are here: Home / Code and APIs for developers / Software development / Web statistics

Web statistics

How to include your site into the EEA web statistics reports.

In order to have comparable and harmonized web statistics, the Agency is using Google Analytics as the main statistical tool for all the sites under the eea.europa.eu domain.

The code snippet below must be included on all subdomains site of the agency *.eea.europa.eu, in order for the Agency to have an overview of our websites' usage.

Note: You do not need to include the code below if you are using the EEA template service. The code is automatically added in the requiredHead part.

Below you have the code to be added just before the closing head tag </head>:

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-184389-1']);
  _gaq.push(['_setDomainName', 'eea.europa.eu']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

If you are concerned about privacy please see the EEA privacy policy, there is a specific section about Google Analytics.

Geographical coverage

[+] Show Map

Document Actions

Comments

European Environment Agency (EEA)
Kongens Nytorv 6
1050 Copenhagen K
Denmark
Phone: +45 3336 7100