{
  "event": "generate_lead",
  "event_parameters": [
    {
      "name": "counting_method",
      "note": "Once per event (recommended) counts every firing; once per session counts the first firing in a session only.",
      "required": true,
      "type": "string"
    },
    {
      "name": "default_key_event_value",
      "note": "The value used when the event arrives without a value parameter. Here: 50.00 USD.",
      "required": false,
      "type": "number"
    },
    {
      "name": "currency",
      "note": "3-letter ISO 4217 code. Here: USD.",
      "required": false,
      "type": "string"
    }
  ],
  "rules": [
    "Any event Analytics already collects can be marked as a key event.",
    "A standard property allows 30 key events; Analytics 360 allows 50.",
    "Marking an event as a key event applies only to new data; it does not relabel past events.",
    "You need Editor access or above to mark an event as a key event. Marking from the Create event flow needs Marketer or above.",
    "It can take up to 24 hours for a new key event to show up in standard reports.",
    "The counting method is not retroactive: it applies only to data collected after the change.",
    "You cannot mark an event GA4 has never received."
  ],
  "source": "Analytics Help \u2014 Create or modify key events (support.google.com/analytics/answer/12844695), opened 11 November 2026",
  "verified_example": {
    "arithmetic_check": {
      "checked_with": "Python 3.12.3, run 11 November 2026",
      "computation": "30 - 4",
      "matches_limit_field": true,
      "result": 26
    },
    "counting": {
      "note": "One visitor submitted the lead form 3 times in one session. Once per event counts 3 key events; once per session counts 1.",
      "once_per_event": 3,
      "once_per_session": 1,
      "session_fires": 3
    },
    "default_value": {
      "currency": "USD",
      "value": 50.0
    },
    "event": "generate_lead",
    "limit": {
      "key_events_marked": 4,
      "key_events_max": 30,
      "key_events_remaining": 26
    },
    "source": "Counting example: one session, three fires of the same event"
  }
}
