A method for marking, in particular labelling and/or printing, of containers with at least one marking element , in particular a label, comprising: transporting the containers along a transport path by means of a transport device , in particular a rotary machine, including a plurality of container receptacles arranged rotatably about axes of rotation, each for one container; applying a respective first marking element onto an outer surface of the container by means of a first marking apparatus arranged along the transport path; and detecting the position of the first marking element applied to the respective container as an actual value by means of a first sensor unit arranged downstream of the first marking apparatus , wherein the detected actual values of the position of the first marking element for a plurality of containers are statistically evaluated by means of a control and/or regulation system , and a correction of the application of the first marking element with respect to the position of the first marking element is carried out on the basis of the statistical evaluation, the statistical evaluation being carried out on the basis of at least 30 detected actual values, preferably at least 300 detected actual values, associating detected actual values with the respective container receptacles of the transport device , the correction with respect to the position of the first marking element by means of the control and/or regulation system being carried out specifically for the respective container receptacle of the transport device, and detecting an absolute position of at least one container receptacle along the transport path by means of at least one position detection unit , wherein the control and/or regulation system associates detected actual values with the respective container receptacles on the basis of a signal of the at least one position detection unit. transporting the containers along a transport path by means of a transport device , in particular a rotary machine, including a plurality of container receptacles arranged rotatably about axes of rotation, each for one container; applying a respective first marking element onto an outer surface of the container by means of a first marking apparatus arranged along the transport path; and detecting the position of the first marking element applied to the respective container as an actual value by means of a first sensor unit arranged downstream of the first marking apparatus , wherein the detected actual values of the position of the first marking element for a plurality of containers are statistically evaluated by means of a control and/or regulation system , and a correction of the application of the first marking element with respect to the position of the first marking element is carried out on the basis of the statistical evaluation, the statistical evaluation being carried out on the basis of at least 30 detected actual values, preferably at least 300 detected actual values, associating detected actual values with the respective container receptacles of the transport device , the correction with respect to the position of the first marking element by means of the control and/or regulation system being carried out specifically for the respective container receptacle of the transport device, and detecting an absolute position of at least one container receptacle along the transport path by means of at least one position detection unit , wherein the control and/or regulation system associates detected actual values with the respective container receptacles on the basis of a signal of the at least one position detection unit. <EOS>