There is provided mechanisms for the detection of an analyte in a sample. The mechanisms utilize at least a first measurement channel comprising a detection reactant corresponding to the analyte to be detected, and at least a microstructure associated with the first measurement channel. When the mechanisms are in use, the sample is introduced into the first measurement channel and propagated by way of the first measurement channel towards the microstructure. If the analyte is present in the sample, the analyte interacts with the detection reactant to form a networked product, and the microstructure is configured to filter the networked product.