Adds Google Analytics support (async).

This commit is contained in:
Lars Jung 2012-08-02 23:13:43 +02:00
parent 65b1823c5d
commit e25e5b72f4
3 changed files with 49 additions and 0 deletions

View file

@ -115,6 +115,24 @@ var H5AI_CONFIG = {
"folders": {}
},
/*
* Adds Google Analytics asynchronous tracking code.
*
* for example:
* "gaq": [
* ["_setAccount", "UA-xxxxxx-x"],
* ["_setDomainName", ".your-domain.tld"],
* ["_trackPageview"],
* ["_trackPageLoadTime"]
* ]
*
* see: http://support.google.com/googleanalytics/bin/topic.py?hl=en&topic=27612
*/
"google-analytics": {
"enabled": false,
"gaq": []
},
/*
* Localization, for example "en", "de" etc. - see "langs" below for
* possible values. Adjust it to your needs. If lang is not found in