Vous êtes en train de parcourir l'ancien dépôt de l'extension Contao 3. Contao 3 n'est plus maintenu à partir de juin 2019! Vous pouvez trouver les extensions de Contao 4 sur extensions.contao.org.

Extensions > googleanalytics

Google Analytics

[googleanalytics]

Inclus le monitoring Google Analytics

Cette extension propose une solution facile pour l'intégration du monitoring par code pour Google Analytics.

Fonctionnalités:

  • ID-Google-Analytics pour chaque racine de site (permet le tracking de configuration multi-domaine)
  • Cacher l'IP avant de l'envoyer à Google
  • Ajout la mesure de la vitesse de chargement d'une page
  • Domain for tracking cookie is configurable
  • Track downloads (Copy templates to central template folder and remove "_ga" part from the name.)
  • Track events and external links (only prepared, see below)
  • Insert Tag ga::privacytext for German privacy statement (translations for other languages welcome!)
  • Definition for bounce rate in seconds (Google defines als visitors with only one page vistied as bounce. The regular definiton are such users if the stay on that page for a maximum of 5-10 seconds.)

Documentation for tracking of events and external links:

You can enable tracking for all external links in the settings of website root object. In this case all external links will get an additional onClick event for tracking or existing onCLick events will get extended.

Or you can choose to do link tracking manual on only some external links. In this case you will have to add the function recordOutboundLink as onClick event manual to all links you want to track. Parameters are the group for event tracking (an external link will be tracked like an event), the URL string, and a flag to open the URL in a new window (1=yes/0=no). Example:

a href="foobar.com" onClick="recordOutboundLink(this, 'Outbound Links', 'foobar.com', 1);return false;"

For the tracking of events use the function gaTrackEvent. Parameters are the group for event tracking and a value. Example:

a href="mailto:foo@bar.com" onClick="gaTrackEvent('E-Mail sent', 'foo@bar.com');"

For W3C comptability:

Disable "Minify the markup" in the Contao settings, see Contao ticket: https://github.com/contao/core/issues/3696

Version
1.4.0
Type
Free
Release date
28.10.2012
Category
Application
License
LGPL
Copyright
© 2011-2013 Jan Theofel, 2010 ETES GmbH
Author
hofff.com (hofff) https://www.hofff.com
French transl.
Raphael Threis (rthreis) http://threis.be
Release notes and change log for 1.4.0
Other versions
Release functionality
 
Total functionality
0.00
Release usability
 
Total usability
0.00
Release quality
 
Total quality
0.00
Release rating
 
Total rating
0.00 (0 votes)
Release downloads
1015
Total downloads
2150
Release installs
6246
Total installs
12733
Release updates
3060
Total updates
5059
Dependencies of this extension
Other extensions depending on this one
Name
Version from
Version to
Contao
2.9.0
3.2.1
Name
Version from
Version to