Using Laravel 4.2.* I keep getting the above error, despite trying different ways of writing the code. Here is what I have:
$result = Trakio::identify([
'distinct_id' => Auth::user()->email,
'properties' => [
'email' => Auth::user()->email,
'first_name' => Auth::user()->profile->first_name,
'last_name' => Auth::user()->profile->last_name,
],
]);
Trakio::track('Logged In');
Based on the code in the package, it should keep the distinct_id set, but it doesn't appear to be. I have the token set in the config file, not sure if I need to put anything in the config array or not (it's empty as of now).
$result also shows success if I remove the track() call.
Any suggestions? Everything works just fine using JS implementation, of course its not as clean. :)
Thanks!
Using Laravel 4.2.* I keep getting the above error, despite trying different ways of writing the code. Here is what I have:
Based on the code in the package, it should keep the distinct_id set, but it doesn't appear to be. I have the token set in the config file, not sure if I need to put anything in the config array or not (it's empty as of now).
$result also shows success if I remove the track() call.
Any suggestions? Everything works just fine using JS implementation, of course its not as clean. :)
Thanks!