conversions/track

There are a couple of inputs that can only take on certain values:

  • event_name:
CONVERSION
CUSTOM_CONVERSION_1
CUSTOM_CONVERSION_2
CUSTOM_CONVERSION_3
CUSTOM_CONVERSION_4
CUSTOM_CONVERSION_5
CUSTOM_CONVERSION_6
CUSTOM_CONVERSION_7
CUSTOM_CONVERSION_8
CUSTOM_CONVERSION_9
CUSTOM_CONVERSION_10
LEAD
PURCHASE
SIGN_UP
  • action_source:
email — Conversion happened over email.
website  — Conversion was made on your website.
app  — Conversion was made on your mobile app.
phone_call  — Conversion was made over the phone.
chat  — Conversion was made via a messaging app, SMS, or online messaging feature.
physical_store  — Conversion was made in person at your physical store.
system_generated  — Conversion happened automatically, for example, a subscription renewal that’s set to auto-pay each month.
other   — Conversion happened in a way that is not listed.
  • delivery_category:
in_store — Customer needs to enter the store to get the purchased product.
curbside — Customer picks up their order by driving to a store and waiting inside their vehicle.
home_delivery — Purchase is delivered to the customer's home.

Example input

{
  "event_name": "conversion",
  "event_id": "2cf24dba5fb0a30e29e29e1b161e5c1fa7425e73043362938b9824",
  "event_time": "2022-11-23T03:30:52Z",
  "action_source": "physical_store",
  "client_id": "140393426410538289",
  "action_source_url": "https://example.com/path/to/action",
  "delivery_optimization": ture,
  "customer": {
    "email": "1b161e5c1fa7425e__fake_hash__73043362938b9824",
    "phone_number": "e1b161e5c1fa742__fake_hash__43362938b9824",
    "first_name": "4dba5fb0a30e2__fake_hash__e1b161e5c1fa7429824",
    "last_name": "a5fb0a30e29e29b1__fake_hash__1fa7425e73043362938b",
    "date_of_birth": "a5fa30e29e29e1b161__fake_hash__e5c1fa74262938b",
    "street_address": "5fb0a30e29e29__fake_hash__e1b161e5c1fa7425e73",
    "city": "5fb0a30e29e29__fake_hash__e1b161e5c1fa7425e73",
    "state": "5fb0a30e29e29__fake_hash__e1b161e5c1fa7425e73",
    "zip_code": "5fb0a30e29e29__fake_hash__e1b161e5c1fa7425e73",
    "country": "5fb0a30e29e29__fake_hash__e1b161e5c1fa7425e73",
    "pixel_id": "5b0b9e9a-156a-11ee-be56-0242ac120002",
    "click_id": "92dea472-8b8b-456f-8b5b-b2a55147c3cc"
  },
  "custom": {
    "order_value": "100",
    "order_id": "100",
    "delivery_category": "in_store",
    "product_context": [
      {
        "id": "ABC123",
        "quantity": 2,
        "item_price": 5.99
      },
      {
        "id": "XYZ789",
        "quantity": 2,
        "item_price": 9.99
      },
    ],
    "app_id": "12345dsnthyg",
    "app_tracking_enabled": true
  },
  "test_event": "TEST1234",
  "partner_id": "123qgmlo"
}
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!