We have added Snowplow to our WordPress site and our PHPCS (code sniffer) is flagging the use of
Warning: Any HTML used with insertBefore gets executed. Make sure it's properly escaped (WordPressVIPMinimum.JS.HTMLExecutingFunctions.insertBefore).
Is there any way we can create a new DOM node programatically and insert that instead of inserting
g.parentNode in front of n and g?