next
previous
items

Web statistics

Page Last modified 20 Mar 2018
1 min read
This page was archived on 20 Mar 2018 with reason: Content is outdated
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.

Permalinks

Document Actions