[GeoNetwork-users] Google analytics code

Hello

GN 3.0.2

I'm wondering where to put the Google analytics code or is it not possible?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-analytics-code-tp5236879.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

I found an old thread with a similar question. Although it relates to a previous version of GN and I haven't tried it myself, hoping this helps:

The file geonetwork/xsl/main.xsl contains the xsl template that creates the
layout of the GeoNetwork pages. Before closing the <body> section of the
page you can add the google analytics snippet.

You'll need to restart GeoNetwork after the change to get it, due to xsl
caching.

Regards,
Jose GarcĂ­a

Hopefully if this is not the correct answer for 3.0 someone else will respond.

Kathy

-----Original Message-----
From: hoddih [mailto:hoddi@anonymised.com]
Sent: Tuesday, November 17, 2015 9:29 AM
To: geonetwork-users@lists.sourceforge.net
Subject: [GeoNetwork-users] Google analytics code

Hello

GN 3.0.2

I'm wondering where to put the Google analytics code or is it not possible?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Google-analytics-code-tp5236879.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork