laravel-analytics-event-tracking
laravel-analytics-event-tracking copied to clipboard
Adding is_disabled option
The underlying Analytics package will simply return a NullResponse when prompted to send events to GA if the argument $isDisabled=true in its constructor. Ideally I would have included a test here, but there didn't appear to be a simple way to check that -- and it seemed like a fairly benign adjustment to me.
@pascalbaljet Can we help merge this in?
Checking in on this...
👋 Was looking for a way to disable the package during tests. Currently it sends a ton of requests to Google 😬
I've changed it to is_enabled
. Available in v1.5.1 :)