{
  "purpose": "Synthetic teaching examples for GA4 dimension scope. Not real visitor data, not executable code, and not a complete Measurement Protocol request.",
  "format": "Each event_objects entry uses the name/params structure of one Measurement Protocol event object. No client identifiers, property identifiers, credentials or transport configuration are included.",
  "custom_definitions": [
    {"dimension_name": "Page category", "scope": "Event", "parameter": "page_category"},
    {"dimension_name": "Item color", "scope": "Item", "parameter": "item_color"}
  ],
  "event_objects": [
    {
      "name": "page_view",
      "params": {
        "page_location": "https://example.com/guides/analytics/",
        "page_title": "Analytics guides",
        "page_category": "analytics"
      }
    },
    {
      "name": "add_to_cart",
      "params": {
        "currency": "USD",
        "value": 30,
        "items": [
          {
            "item_id": "DEMO-TEE-BLUE",
            "item_name": "Example T-shirt",
            "item_category": "Apparel",
            "item_color": "blue",
            "price": 30,
            "quantity": 1
          }
        ]
      }
    }
  ]
}
