Closed dieend closed 8 years ago
The first example you provided should just have event
and eventdata
in $request
, with a string value for both. eventdata
is optional. Our event tracking feature doesn't currently accept a collection of data (as you have an array there).
It seems like you are trying to track a page visit (our "site tracking" feature) using our event tracking mechanism, which is not possible. Site tracking uses a different endpoint, and relies on a cookie being included with the request.
Hope that helps! Let us know if not.
I'm using wrong id (missing one character in the variable). My bad.
But it should not return response success though. Maybe return 401 with message invalid actid.
Why this doesn't works? (the event not showing in user activity)
but this does works? (the event shows up in user activity)