tracker icon indicating copy to clipboard operation
tracker copied to clipboard

This package seems doesn't work.

Open jonquintero opened this issue 5 years ago • 6 comments

The effort is appreciated first of all I have tried a thousand this package and the truth is that it doesn't work, I follow the recommended configuration and it does not do anything, it doesn't save, the database is empty and therefore it does not show anything. Checking here I see that the problem is not new

jonquintero avatar Feb 08 '19 21:02 jonquintero

@jonquintero so What are the problems are you facing. I just integrated this into my own production website.

napestershine avatar Feb 08 '19 21:02 napestershine

I use it locally, I commented the line so I could work locally, I just registered the routes, the rest of the tables are empty, these simple lines do nothing

$ visitor = Tracker :: currentSession ();

var_dump ($ visitor-> client_ip);

var_dump ($ visitor-> device-> is_mobile);

var_dump ($ visitor-> device-> platform);

var_dump ($ visitor-> geoIp-> city);

var_dump ($ visitor-> language-> preference);

Another thing I'm doubting is that if this alias: 'Tracker' => 'PragmaRX \ Tracker \ Vendor \ Laravel \ Facade', is written correctly, with those single quotes or is: 'Tracker' => PragmaRX \ Tracker \ Vendor \ Laravel \ Facade :: class

In any case, it doesn't work either

jonquintero avatar Feb 08 '19 22:02 jonquintero

If you are on local, then you need to remove your local ip from tracker.php

Also map the user model and define connection

napestershine avatar Feb 09 '19 02:02 napestershine

After try over and over again, finally it works but doesn't save any data about geoip, I installed both components geoip but not works

jonquintero avatar Feb 10 '19 22:02 jonquintero

There are a couple of things you have to configure in the config/tracker.php file

stevenosse avatar Apr 16 '19 07:04 stevenosse

After try over and over again, finally it works but doesn't save any data about geoip, I installed both components geoip but not works

Hi.Can you explain what did you do?

karam-esf avatar Jan 07 '20 09:01 karam-esf