sesamy-go/event/params/removefromcart.go
Kevin Franklin Kim 453e5159a1
feat: add events
2024-05-15 13:17:45 +02:00

13 lines
394 B
Go

package params
import (
"github.com/foomo/gostandards/iso4217"
)
// RemoveFromCart https://developers.google.com/analytics/devguides/collection/protocol/ga4/reference/events#remove_from_cart
type RemoveFromCart[Item any] struct {
Currency iso4217.Currency `json:"currency,omitempty"`
Value float64 `json:"value,omitempty"`
Items []Item `json:"items,omitempty"`
}