tracker
tracker copied to clipboard
How to store query parameter with manual tarackVisit method
I would like to track visit of login but with different types, like user login from our page or directed from 3rd part type, I was thinking that I could achieve that by query parameters like ?type=direct or ?type=facebook
so at the end I could show the unique logins of users depends on types.
to login we are using Auth::loginUsingId() method of laravel since user is authenticated from third party
below is the code I tried but I am unable to pass parameters and its also not mentioned in docs.
Tracker::trackVisit( [ 'name' => 'login', 'action' => 'Auth\LoginController@login' ], ['path' => 'login'] );