ga_send_event
Send custom events, conversions, or user actions to Google Analytics 4 via Measurement Protocol. Track clicks, form submissions, video plays, downloads, and more with event parameters.
Instructions
Send a custom event to Google Analytics via Measurement Protocol.
Use this for tracking custom user actions, conversions, or any GA4 event. Events are processed asynchronously and appear in reports within minutes.
Common events: click, form_submit, video_play, file_download, custom_conversion
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | Events to send (can send multiple in one request) | |
| user_id | No | Optional User ID for cross-device tracking | |
| client_id | No | Client ID (UUID format recommended). Auto-generated if not provided. | |
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |