From 6e9984d04d2046cc808e9231df1aa69e11d2d578 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 26 Feb 2019 17:54:20 +0100 Subject: [PATCH] #2609 --- config/gtag.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config/gtag.php diff --git a/config/gtag.php b/config/gtag.php new file mode 100644 index 0000000..a0c3110 --- /dev/null +++ b/config/gtag.php @@ -0,0 +1,19 @@ + env('GOOGLE_ANALYTICS_ID', ''), + + /* + * Enable or disable script rendering. Useful for local development. + */ + 'enabled' => env('GOOGLE_ANALYTICS_ID', '') != '', + + /* + * Observe Do Not Track header. Disable google analytics tracking when enabled on the user agent + */ + 'observe_dnt' => true, +]; -- 2.39.5