Set up Cookieless Tracking


I would like to make some questions regarding cookieless tracking. I have been checking the documentation and as far as i understood it is just needed to add the following line into matomo script _paq.push([‘requireCookieConsent’]);

I will add some context im using google tag manager but not the matomo one. so my coding it is like that.

The trigger I set up under DOM READY.

So my question is : It is enough this configuration in order to start to use the Cookieless configuration or any other action is needed ?

As well i would like to mentioned I have the web under Wordpress so, Is there any configuration in order to set up cookieless under wordpress interface?

Thank you