Condition
import type { Condition } from "https://googleapis.deno.dev/v1/tagmanager:v2.ts";
Represents a predicate.
interface Condition {
parameter?: Parameter[];
type?:
} | "conditionTypeUnspecified"
| "equals"
| "contains"
| "startsWith"
| "endsWith"
| "matchRegex"
| "greater"
| "greaterOrEquals"
| "less"
| "lessOrEquals"
| "cssSelector"
| "urlMatches";
§Properties
§
A list of named parameters (key/value), depending on the condition's type. Notes: - For binary operators, include parameters named arg0 and arg1 for specifying the left and right operands, respectively. - At this time, the left operand (arg0) must be a reference to a variable. - For case-insensitive Regex matching, include a boolean parameter named ignore_case that is set to true. If not specified or set to any other value, the matching will be case sensitive. - To negate an operator, include a boolean parameter named negate boolean parameter that is set to true.