NOVELTY – The method involves calculating distance between chains, grouping chains of similar events, and dividing each group randomly between experimental and control parts. A central chain of events of the group is compared with pattern registered in a system. An experiment is created where the pattern is recognized in chain of central events. Incidents are calculated and compared with the number of incidents calculated in the creation of the experiment. The adjustment is applied in future visits to the experimental group and the control parts if the reduction of incidents is higher for the group. USE – Method for automatically applying adjustment to a user interface (UI) by capturing events on UI in website, mobile application and UI operating systems. Uses include but are not limited to a mouse movement, mouse click, page scrolling and keyboard utilization. ADVANTAGE – The method enables capturing the events, allowing alteration of UI in execution time, and reducing computational cost required for solution. DESCRIPTION OF DRAWING(S) – The drawing shows a flowchart illustrating a method for automatically applying adjustment to a UI by capturing events on UI.'(Drawing includes non-English language text)’