google_api_tag_manager v0.3.0 GoogleApi.TagManager.V2.Model.BuiltInVariable View Source

Built-in variables are a special category of variables that are pre-created and non-customizable. They provide common functionality like accessing propeties of the gtm data layer, monitoring clicks, or accessing elements of a page URL.

Attributes

  • accountId (String.t): GTM Account ID. Defaults to: null.
  • containerId (String.t): GTM Container ID. Defaults to: null.
  • name (String.t): Name of the built-in variable to be used to refer to the built-in variable. Defaults to: null.
  • path (String.t): GTM BuiltInVariable's API relative path. Defaults to: null.
  • type (String.t): Type of built-in variable. Defaults to: null.

    • Enum - one of [advertiserId, advertisingTrackingEnabled, ampBrowserLanguage, ampCanonicalHost, ampCanonicalPath, ampCanonicalUrl, ampClientId, ampClientMaxScrollX, ampClientMaxScrollY, ampClientScreenHeight, ampClientScreenWidth, ampClientScrollX, ampClientScrollY, ampClientTimestamp, ampClientTimezone, ampGtmEvent, ampPageDownloadTime, ampPageLoadTime, ampPageViewId, ampReferrer, ampTitle, ampTotalEngagedTime, appId, appName, appVersionCode, appVersionName, builtInVariableTypeUnspecified, clickClasses, clickElement, clickId, clickTarget, clickText, clickUrl, containerId, containerVersion, debugMode, deviceName, elementVisibilityFirstTime, elementVisibilityRatio, elementVisibilityRecentTime, elementVisibilityTime, environmentName, errorLine, errorMessage, errorUrl, event, eventName, firebaseEventParameterCampaign, firebaseEventParameterCampaignAclid, firebaseEventParameterCampaignAnid, firebaseEventParameterCampaignClickTimestamp, firebaseEventParameterCampaignContent, firebaseEventParameterCampaignCp1, firebaseEventParameterCampaignGclid, firebaseEventParameterCampaignSource, firebaseEventParameterCampaignTerm, firebaseEventParameterCurrency, firebaseEventParameterDynamicLinkAcceptTime, firebaseEventParameterDynamicLinkLinkid, firebaseEventParameterNotificationMessageDeviceTime, firebaseEventParameterNotificationMessageId, firebaseEventParameterNotificationMessageName, firebaseEventParameterNotificationMessageTime, firebaseEventParameterNotificationTopic, firebaseEventParameterPreviousAppVersion, firebaseEventParameterPreviousOsVersion, firebaseEventParameterPrice, firebaseEventParameterProductId, firebaseEventParameterQuantity, firebaseEventParameterValue, formClasses, formElement, formId, formTarget, formText, formUrl, historySource, htmlId, language, newHistoryFragment, newHistoryState, oldHistoryFragment, oldHistoryState, osVersion, pageHostname, pagePath, pageUrl, platform, randomNumber, referrer, resolution, scrollDepthDirection, scrollDepthThreshold, scrollDepthUnits, sdkVersion, videoCurrentTime, videoDuration, videoPercent, videoProvider, videoStatus, videoTitle, videoUrl, videoVisible]
  • workspaceId (String.t): GTM Workspace ID. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.TagManager.V2.Model.BuiltInVariable{
  accountId: any(),
  containerId: any(),
  name: any(),
  path: any(),
  type: any(),
  workspaceId: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.