Sha256: 923248e285be65eac0b38e3276c47298ab9241dbeee9559289055ede8344eaa9
Contents?: true
Size: 638 Bytes
Versions: 70
Compression:
Stored size: 638 Bytes
Contents
/* eslint-env */ // This adds in javascript that initialises components and dependencies // that are provided by Slimmer in public frontend applications. // = require ./modules.js document.addEventListener('DOMContentLoaded', function () { window.GOVUK.analyticsGa4 = window.GOVUK.analyticsGa4 || {} // if statements ensure these functions don't execute during testing if (typeof window.GOVUK.loadAnalytics !== 'undefined') { window.GOVUK.loadAnalytics.loadExtraDomains() if (typeof window.GOVUK.analyticsGa4.vars === 'undefined') { window.GOVUK.loadAnalytics.loadGa4() } } window.GOVUK.modules.start() })
Version data entries
70 entries across 70 versions & 1 rubygems