Skip to main content
Version: 1.2.0

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

PropertyTypeConstraintsExamplesDescription
$schemastringrequired
"https://tracking-docs-demo.buchert.digital/schemas/1.2.0/events/root-choice-event.json"
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"
eventstringconst: "option_a"
"option_a"
param_astring
"example_a"
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"
}