function init()

in src/modules/controllers/analytics.js [3:16]


function init() {
    const gaId = window._clientConfig.gaId;
    // tracking script should be on the page already
    if (gaId) {
        window.ga =
            window.ga ||
            (function() { return (window.ga.q = window.ga.q || []).push(arguments); });

        window.ga('create', gaId, 'auto');
        window.ga('set', 'transport', 'beacon');
        window.ga('send', 'pageview');
    }
    return function() { return window.debugGA && console.log(arguments); };
}