Skip to main content

Overview

The Event Tracking Component helps monitor user actions — like button clicks, form submissions, or link taps — across QR Code experiences.
Each tracked event is assigned a unique ID and tag, which can be integrated into analytics or reporting workflows.

Properties

  • id (string) - pattern: ^E[a-zA-Z0-9_]{5}$... (required)
  • tag (string) - minLength: 1 - maxLength: 100 (required)

Example Schema

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Event Tracking",
  "description": "Event tracking on button action like Click",
  "type": "object",
  "required": [
    "id",
    "tag"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^E[a-zA-Z0-9_]{5}$"
    },
    "tag": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100
    }
  }
}

Notes

  • The id must start with E and include exactly five alphanumeric or underscore characters.
  • The tag should clearly describe the user action (e.g., Add_to_Cart, Download_Brochure).
  • Use unique event IDs across different elements to avoid duplication in analytics.
  • Integrates with event-driven reporting systems and API-based analytics dashboards.