Class BuiltInVariable
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.
Inheritance
System.Object
BuiltInVariable
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.TagManager.v2.Data
Assembly: Google.Apis.TagManager.v2.dll
Syntax
public class BuiltInVariable : IDirectResponseSchema
Properties
AccountId
GTM Account ID.
Declaration
[JsonProperty("accountId")]
public virtual string AccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ContainerId
GTM Container ID.
Declaration
[JsonProperty("containerId")]
public virtual string ContainerId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Name of the built-in variable to be used to refer to the built-in variable.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Path
GTM BuiltInVariable's API relative path.
Declaration
[JsonProperty("path")]
public virtual string Path { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Type of built-in variable.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
WorkspaceId
GTM Workspace ID.
Declaration
[JsonProperty("workspaceId")]
public virtual string WorkspaceId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |