Option A
This is the description for Param A.
DataLayer Example
window.dataLayer.push({
"$schema": "https://tracking-docs-demo.buchert.digital/schemas/1.2.0/events/root-choice-event.json",
"event": "option_a",
"param_a": "example_a"
});
Event Properties
| Property | Type | Constraints | Examples | Description |
|---|---|---|---|---|
| $schema | string | required | | Defines the structure of the event. This can be used to validate an event against the schema provided. |
const: "https://tracking-docs-demo.buchert.digital/schemas/1.2.0/events/root-choice-event.json" | ||||
| event | string | const: "option_a" | | |
| param_a | string | |
View Raw JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://tracking-docs-demo.buchert.digital/schemas/1.2.0/events/root-choice-event.json#option_a",
"title": "Option A",
"description": "This is the description for Param A.",
"type": "object",
"allOf": [
{
"$ref": "./events/components/dataLayer.json"
}
],
"required": [
"$schema"
],
"properties": {
"$schema": {
"type": "string",
"description": "Defines the structure of the event. This can be used to validate an event against the schema provided.",
"const": "https://tracking-docs-demo.buchert.digital/schemas/1.2.0/events/root-choice-event.json"
},
"event": {
"type": "string",
"const": "option_a"
},
"param_a": {
"type": "string",
"examples": [
"example_a"
]
}
},
"$anchor": "option_a"
}