Hey, I was getting a compilation error with this because Script requires an id. So after giving it an id, everything worked. Putting this here, if that helps anyone.
But even doing so, I get undefined when typing dataLayer in Dev tools. So I'm kinda stuck ATM.
edit: FIXED the issue. If anyone is having similar issues, follow these instructions:
Script any id string value.afterInteractive instead of lazyOnLoad