ga_send_add_to_cart
Track when users add items to cart by sending an add-to-cart event to Google Analytics with product details, currency, and value.
Instructions
Send an add to cart event to Google Analytics.
Ecommerce event for tracking when items are added to shopping cart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Items added to cart | |
| value | Yes | Total value of items added | |
| user_id | No | ||
| currency | Yes | Currency code | |
| client_id | No | ||
| user_properties | No | User properties (e.g., {subscription_tier: {value: "premium"}}) |