Skip to content

Commit

Permalink
Pass ID to Soil GA module
Browse files Browse the repository at this point in the history
  • Loading branch information
QWp6t committed Mar 15, 2015
1 parent cb2efcd commit 54aee62
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,13 @@
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
add_theme_support('soil-google-analytics', 'UA-XXXXX-Y'); // Enable GA snippet (Note: Universal Analytics only)

/**
* 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'
Expand Down

0 comments on commit 54aee62

Please sign in to comment.