Personal tools

Sign up now!
Get notifications on new reports and products. Currently we have 59646 subscribers. Frequency: 3-4 emails / month.
Follow us
Twitter icon Twitter
Facebook icon Facebook
YouTube icon YouTube channel
RSS logo RSS Feeds
Notifications archive

Write to us Write to us

For the public:


For media and journalists:

Contact EEA staff
Contact the web team
FAQ

Call us Call us

Reception:

Phone: (+45) 33 36 71 00
Fax: (+45) 33 36 71 99


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

Last modified : Apr 20, 2012 09:41 AM
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.

Filed under: ,

Comments

Sign up now!
Get notifications on new reports and products. Currently we have 59646 subscribers. Frequency: 3-4 emails / month.
Notifications archive
Follow us
 
 
 
 
 
European Environment Agency (EEA)
Kongens Nytorv 6
1050 Copenhagen K
Denmark
Phone: +45 3336 7100