Decode hit data into Hit type, log code and url