type property

String? type
getter/setter pair

Defines the data layer event that causes this trigger.

@mutable tagmanager.accounts.containers.triggers.create @mutable tagmanager.accounts.containers.triggers.update Possible string values are:

  • "pageview"
  • "domReady"
  • "windowLoaded"
  • "customEvent"
  • "triggerGroup"
  • "always"
  • "formSubmission"
  • "click"
  • "linkClick"
  • "jsError"
  • "historyChange"
  • "timer"
  • "ampClick"
  • "ampTimer"
  • "ampScroll"
  • "ampVisibility"
  • "youTubeVideo"
  • "scrollDepth"
  • "elementVisibility"

Implementation

core.String? type;