parent
d34d92155e
commit
d063e8aa5a
|
|
@ -71,5 +71,6 @@ return [
|
|||
'cdn_url_user_assets' => '',
|
||||
'cdn_url_static_assets' => '',
|
||||
|
||||
'google_analytics_id' => env('GOOGLE_ANALYTICS_ID'),
|
||||
'google_maps_geocoding_key' => env('GOOGLE_MAPS_GEOCODING_KEY')
|
||||
];
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<script>showMessage('{{\Session::get('message')}}');</script>
|
||||
@endif
|
||||
|
||||
@if(env('GOOGLE_ANALYTICS_ID'))
|
||||
@if(config('attendize.google_analytics_id'))
|
||||
<script>
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
|
|
@ -16,7 +16,7 @@
|
|||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga('create', '{{env('GOOGLE_ANALYTICS_ID')}}', 'auto');
|
||||
ga('create', '{{config('attendize.google_analytics_id')}}', 'auto');
|
||||
ga('require', 'displayfeatures');
|
||||
ga('send', 'pageview');
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue