I tried to integrate Klaro consent in Magento 2.4.2 using two phtml-files that are loaded in the right order. In a test html-file the cookie consent is shown properly.
Both js-files are loaded in Magento and output a console.log. But the Cookie consent is not shown at all. All caches (Magento and browser) are cleared – the console does not show any js-error. Any idea what could be the problem?