GoogleAnalytics for TYPO3¶
Constants Configuration¶
An incomplete list of constants available - Note: this is not flawless
plugin.tx_rsgoogleanalytics.account = ACCOUNT_NR
// Which Page Title should be tracked Option title: Page title is set, Option rootline: Rootline of Titles ist set, blank: GA uses page-path, for
plugin.tx_rsgoogleanalytics.registerTitle = rootline|title|_blank
// Boolean, weather plugin is active or not
plugin.tx_rsgoogleanalytics.active = 1|0
// If you have multiple Domains for this site enable
plugin.tx_rsgoogleanalytics.multipleDomains = 1|0
plugin.tx_rsgoogleanalytics.multipleDomain.domainNames =
plugin.tx_rsgoogleanalytics.trackSubDomains = true|false
plugin.tx_rsgoogleanalytics.trackSubDomains.domainName = DOMAIN_NAME
// Maximum 5 custom vars
customVars {
1{
name = gender scope = 1 data = TSFE:fe_user|user|gender
} 2{
name = name scope = 1 data = TSFE:fe_user|user|name
}
}
// Keywords and Referers which are treated as direct access
plugin.tx_rsgoogleanalytics.searchEngines {
redirectKeywords = my name, my domain, city and company name redirectReferrer = example.net,domain2-redirected.de,my-web-agency.de
}
// Enable E-commerce
plugin.tx_rsgoogleanalytics.eCommerce.enableTracking = 1|0
// Disable logging different client-data
plugin.tx_rsgoogleanalytics.disableDataTracking {
// if enabled no logging browser of Browser information browserInfo = 1|0
// if enebaled, GA will not try to detect users flash version // if enabled, page title will not be Saved pageTitle = 1|0
}
// track External links, another possibility is !ALL tracks all external Urls
plugin.tx_rsgoogleanalytics.trackExternals = 1|0
// restrict tracking to this domains
plugin.tx_rsgoogleanalytics.trackExternals.domainList = #CSV#|!ALL
// Should Downloads be tracked by GA, or option !ALL, all file-downloads will be tracked
// Example: fileadmin/,uploads/
plugin.tx_rsgoogleanalytics.folderList = #CSV#
// Folders in which should be tracked only
plugin.tx_rsgoogleanalytics.trackDownloads.folderList = #CSV#
// restrict tracking to filetypes
plugin.tx_rsgoogleanalytics.trackDownloads.fileTypes