Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This package seems doesn't work. #427

Open
jonquintero opened this issue Feb 8, 2019 · 6 comments
Open

This package seems doesn't work. #427

jonquintero opened this issue Feb 8, 2019 · 6 comments

Comments

@jonquintero
Copy link

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

@napestershine
Copy link
Collaborator

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

@jonquintero
Copy link
Author

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

@napestershine
Copy link
Collaborator

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

Also map the user model and define connection

@jonquintero
Copy link
Author

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

@stevenosse
Copy link

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

@karam-esf
Copy link

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?

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

No branches or pull requests

4 participants