Tracking User Interactions, Saving them to Database Table and then send it to GA4 . Events and data events are saved as null in my table
This is the function that captures some data protected function captureRequestData(RequestInterface $oRequest, $aPostParams) { return [ ‘request’ => [ ‘status’ =>’pending’, ‘params’ => json_encode($aPostParams), ‘endpoint’ => $oRequest->getRequestUri(), ‘view’ => json_encode($oRequest->getHeaders()->toArray()), ‘event’ => $this->_oEventobserver->getEventName(), ‘data’ => json_encode($this->_oEventobserver->getEventData() ), ‘ip’ => $oRequest->getClientIp(),… Read More »Tracking User Interactions, Saving them to Database Table and then send it to GA4 . Events and data events are saved as null in my table