Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Commit 19df981

Browse files
author
Robert Kummer
committed
adding more documentation on the google analytics configuration properties
1 parent 63b21df commit 19df981

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/config/analytics.php

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
<?php
2-
/**
3-
* ipunkt/laravel-analytics
4-
*
5-
* @author rok
6-
* @since 07.03.14
7-
*/
82

9-
return array(
3+
return [
104

115
/**
126
* current selected provider
@@ -18,6 +12,13 @@
1812
*/
1913
'configurations' => [
2014

15+
/**
16+
* The Google Analytics provider supports the following properties:
17+
* - tracking_id (string)
18+
* - tracking_domain (string:auto) - default will be 'auto' if config property not exists
19+
* - anonymize_ip (bool) - default will be false if no config property exists
20+
* - auto_track (bool) - default will be false if no config property exists
21+
*/
2122
'GoogleAnalytics' => [
2223

2324
/**
@@ -46,4 +47,4 @@
4647

4748
],
4849

49-
);
50+
];

0 commit comments

Comments
 (0)