Cookies and Matomo

Maybe that thread helps to solve the second question? As a workaround?