The invention discloses a data acquisition method, a data query method, a data acquisition device, a data query device, a storage medium and a processor and belongs to computer technological field. The invention mainly aims to ensure that a front end can not only view the click ate and page view of an element, but also can present the associated data of the element. The data acquisition method includes the following steps that: customized data acquisition information is received; a first configuration file is generated according to the customized data acquisition information; the first configuration file is read, website monitoring data are acquired according to the first configuration file, and are sent to a server, the website monitoring data are defined according to path information corresponding to the acquired website monitoring data, a second configuration file is generated; and the second configuration file is sent to the server, so that the server can generate query data according to the second configuration file. The data acquisition method, the data query method, the data acquisition device, the data query device, the storage medium and the processor of the invention aremainly used for acquiring and inquiring the website monitoring data.