Sha256: 17b97a7fc61bb8e6fc206f7922d33648d0151946b8ea98d3128d9e5d6000a86e

Contents?: true

Size: 718 Bytes

Versions: 4

Compression:

Stored size: 718 Bytes

Contents

;(function (global) {
  'use strict'

  var GOVUK = global.GOVUK || {}

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

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

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

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

  global.GOVUK = GOVUK
})(window)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
govuk_publishing_components-30.7.3 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.7.2 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.7.1 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js
govuk_publishing_components-30.7.0 app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-schemas.js