Sha256: 7eb19c89a9cfea04179efed2ea42f31b0ef7bb1fb68fa3c8d691719870263f81

Contents?: true

Size: 653 Bytes

Versions: 10

Compression:

Stored size: 653 Bytes

Contents

;(function (global) {
  'use strict'

  var GOVUK = global.GOVUK || {}

  var Schemas = function () {
    this.null = null
  }

  Schemas.prototype.eventSchema = function () {
    return {
      event: this.null,

      event_data: {
        event_name: this.null,
        type: this.null,
        url: this.null,
        text: this.null,
        index: this.null,
        index_total: this.null,
        section: this.null,
        action: this.null,
        external: this.null,
        link_method: this.null
      }
    }
  }

  GOVUK.analyticsGA4 = GOVUK.analyticsGA4 || {}
  GOVUK.analyticsGA4.Schemas = Schemas

  global.GOVUK = GOVUK
})(window)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
govuk_publishing_components-30.6.1 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.6.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.5.2 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.5.1 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.5.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.4.1 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.4.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.3.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.2.1 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.2.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js