From be08913ccb91a14882546fc99235068869e1312f Mon Sep 17 00:00:00 2001 From: Chris Gunther Date: Tue, 26 Nov 2013 11:13:15 -0500 Subject: [PATCH] Make the Google Analytics web property ID configurable --- config.php | 5 +++++ layouts/application.php | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/config.php b/config.php index a14aed9..f74f04c 100644 --- a/config.php +++ b/config.php @@ -6,3 +6,8 @@ // // Also update the RewriteBase at the bottom of the htaccess file if the site lives in a subdirectory $config['base_url'] = 'http://php-boilerplate.dev/'; + +// Google Analytics Web Property ID +// +// Ex. UA-XXXXX-X +$config['google_analytics_web_property_id'] = ''; diff --git a/layouts/application.php b/layouts/application.php index 5a33d73..bce78b0 100644 --- a/layouts/application.php +++ b/layouts/application.php @@ -26,12 +26,14 @@ - + + +