Skip to main content
POST
Collect user behavior events

Body

application/json
evn
string
required

Event name

Example:

"add_to_wishlist"

ccy
string

Currency code

Example:

"USD"

val
number

Monetary value associated with the event

Example:

29.99

tid
string

Transaction ID

Example:

"txn_abc123"

chn
string

Channel

Example:

"Website"

sur
string

Surface where the event occurred

Example:

"Swish Drawer"

cnt
string

Content section

Example:

"Recently saved"

cmp
string

Campaign identifier

Example:

"summer_sale_2025"

mct
string

Market context type

Example:

"country"

mcv
string

Market context value

Example:

"US"

lng
string

Language code

Example:

"en"

pls
string

Product list ID (Shopify collection ID)

Example:

"gid://shopify/Collection/123456"

pln
string

Product list name

Example:

"Summer Collection"

lid
string

Swish list ID

Example:

"67a61d5561e4f9de302c02a1"

lnm
string

Swish list name

Example:

"My Favorites"

src
string

Source of the event

Example:

"product"

itm
object[]

Array of items associated with the event

Response

Event tracked successfully