Fix tracking facade for Google Tag Manager

Previously events wouldn't be tracked if `window.dataLayer` wasn't previously defined, even though the code appears to handle this case.