mirror of
https://github.com/foomo/sesamy-go.git
synced 2025-10-16 12:35:43 +00:00
14 lines
403 B
Go
14 lines
403 B
Go
package params
|
|
|
|
import (
|
|
"github.com/foomo/gostandards/iso4217"
|
|
)
|
|
|
|
// AddToCart https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events#add_to_cart
|
|
type AddToCart[I any] struct {
|
|
*MPv2 `json:",inline"`
|
|
Currency iso4217.Currency `json:"currency,omitempty"`
|
|
Value float64 `json:"value,omitempty"`
|
|
Items []I `json:"items,omitempty"`
|
|
}
|