A method for tracking movement and trajectory of objects associated with wireless devices, located in a predefined area, whereas transceiver nodes communicating with the wireless communication devices are formed in a predefined area, the objects associated with the wireless communication devices entering or located in the range of the transceiver nodes are detected by the latter, at least one element of a data group comprising the fact of detection, number of the detected objects and the trajectory of detected moving objects is stored, the stored information is made available for further processing, access points functioning according to a small-range wireless communication standard are used as transceiver nodes, the access points are installed relative to each other at a distance suitable for carrying out wireless "Peer-to-Peer" (P2P) type communication with each other, the position of a monitored object in the range of at least two access points is defined by the access points with a resolution exceeding that of a detection mesh network formed by the access points, by measuring strength of the signal emitted by the object during communication by the at least two access points, and converting the measured signal strength data into a vector set, defining the nearest access point with the help of a shared peer-to-peer solution; avoiding evaluation of non-moving hardware devices looking for WiFi access points by selecting and filtering out the objects that are communicating but make no movement by evaluating the vector set; and analysing the movement of the communicating objects changing their place by generating a history for each access point closest to it that will comprise the previous access points and the appropriate measurement time stamps to calculate essential parameters, and to define traffic speed, and to infer to the role of the traffic participant; whereby data collection, data analysis and evaluation is realized without the need of any central server in a P2P (Peer to Peer) way via on-site processing and local P2P communication, and whereby defining the nearest access point with the help of a shared peer-to-peer solution comprising the further steps of: based on the fact that adjacency relationship is defined between specific access points, modelling at each access point by its proper representation whether a device associated with an object with WIFI capability is located nearest to said respective access point, and determining by said said respective access point based on the signal strength vectors originating from the adjacent peers and its own measurements, whether the object associated with the device is closest to it, as well as the probability of the result of said determination. based on the fact that adjacency relationship is defined between specific access points, modelling at each access point by its proper representation whether a device associated with an object with WIFI capability is located nearest to said respective access point, and determining by said said respective access point based on the signal strength vectors originating from the adjacent peers and its own measurements, whether the object associated with the device is closest to it, as well as the probability of the result of said determination.