Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

How to disable Voerro\Laravel\VisitorTracker\Jobs\GetGeoipData event ? #21

Open
lipasite opened this issue Jan 30, 2019 · 1 comment
Open

Comments

@lipasite
Copy link

In config/visitortracker.php I have this

'geoip_on' => false,

    'geoip_driver' => 'ipstack.com',

    'ipstack_key' => '',

But event fired all time...
I dont need GeoIp stats.
How I can disable it?

@alr2413
Copy link

alr2413 commented May 2, 2019

I have the same problem.
The temporary solution is to update the line 54 of the "Traker.php" file as follows:

if (config('visitortracker.geoip_on'))
            GetGeoipData::dispatch($visit);

I believe that the maintainer of this package should do the same thing to solve this problem forever.
Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants