Remove Google Analytics
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
### HEAD
|
||||
* Remove mention of Google Analytics from the config ([#1384](https://github.com/roots/sage/issues/1384))
|
||||
|
||||
### 8.1.1: March 31st, 2015
|
||||
* Remove pleeease dependency in favor of vanilla gulp-autoprefixer and gulp-minify-css ([#1402](https://github.com/roots/sage/issues/1402))
|
||||
* Fix `gulp --production` race condition ([#1398](https://github.com/roots/sage/issues/1398))
|
||||
|
||||
@@ -33,7 +33,6 @@ For more installation notes, refer to the [Install gulp and Bower](#install-gulp
|
||||
* [HTML5 Boilerplate](http://html5boilerplate.com/)
|
||||
* The latest [jQuery](http://jquery.com/) via Google CDN, with a local fallback
|
||||
* The latest [Modernizr](http://modernizr.com/) build for feature detection
|
||||
* An optimized Google Analytics snippet
|
||||
* ARIA roles and microformats
|
||||
* Cleaner HTML output of navigation menus
|
||||
* Posts use the [hNews](http://microformats.org/wiki/hnews) microformat
|
||||
@@ -57,7 +56,7 @@ define('WP_ENV', 'development');
|
||||
|
||||
## Configuration
|
||||
|
||||
Edit `lib/config.php` to enable or disable theme features and to define a Google Analytics ID.
|
||||
Edit `lib/config.php` to enable or disable theme features
|
||||
|
||||
Edit `lib/init.php` to setup navigation menus, post thumbnail sizes, post formats, and sidebars.
|
||||
|
||||
|
||||
@@ -10,18 +10,12 @@ use Roots\Sage\ConditionalTagCheck;
|
||||
add_theme_support('soil-clean-up'); // Enable clean up from Soil
|
||||
add_theme_support('soil-relative-urls'); // Enable relative URLs from Soil
|
||||
add_theme_support('soil-nice-search'); // Enable nice search from Soil
|
||||
add_theme_support('soil-google-analytics'); // Enable H5BP's Google Analytics snippet
|
||||
add_theme_support('bootstrap-gallery'); // Enable Bootstrap's thumbnails component on [gallery]
|
||||
add_theme_support('jquery-cdn'); // Enable to load jQuery from the Google CDN
|
||||
|
||||
/**
|
||||
* Configuration values
|
||||
*/
|
||||
if (!defined('GOOGLE_ANALYTICS_ID')) {
|
||||
// Format: UA-XXXXX-Y (Note: Universal Analytics only)
|
||||
define('GOOGLE_ANALYTICS_ID', '');
|
||||
}
|
||||
|
||||
if (!defined('WP_ENV')) {
|
||||
// Fallback if WP_ENV isn't defined in your WordPress config
|
||||
// Used in lib/assets.php to check for 'development' or 'production'
|
||||
|
||||
Reference in New Issue
Block a user