Skip to content

Commit 09e6c1c

Browse files
committed
Add more explanation for isDisabled mode
1 parent 5ab289d commit 09e6c1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ GA actually returns a JSON that is parsed into an associative array. Read ([here
234234
In your app configuration, you can have a flag for enabling or disabling the library, this in order to not actually
235235
send hits to GA, in this case the lib returns a AnalyticsResponseInterface object that returns empty values.
236236

237+
This is specially useful in dev or staging environments.
238+
237239
```php
238240
// Instantiate the Analytics object by passing the second parameter in the constructor as TRUE
239241
$analytics = new Analytics(true, true);

0 commit comments

Comments
 (0)