Releases: studiobonito/silverstripe-google-analytics
Releases · studiobonito/silverstripe-google-analytics
v2.0.3
v2.0.2
v2.0.1
v2.0.0
Google Analytics Module
Changed
- Moved
Google Analytics
tab insideServices
tab to reduceSiteConfig
clutter. - Removed
Google Analytics
prefix from field label.
Removed
- Removed
GoogleAnalyticsViewID
field fromGoogleAnalyticsSiteConfigExtension
.
Fixed
- Added PHPDoc comment for
GoogleAnalyticsSiteConfigExtension->updateCMSFields()
.
v1.0.0
Google Analytics Module
Provides basic Google Analytics integration for SilverStripe CMS.
Requirements
- SilverStripe 3.1 or newer.
Usage
The module provides a global template variable $GoogleAnalytics
that can be used to insert the tracking code into any
page template. This global variable uses the tracking ID specified in the CMS in the Setings > Google Analytics
tab.
Google suggests placing tracking code in your document <head>
as in the example below. However this module leaves that
choice to the developer.
<head>
<title>Example.com</title>
$GoogleAnalytics
</head>
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
License
The BSD-2-Clause License. Please see License File for more information.