---
title: "CreateChannelConversionEvents"
method: POST
path: "/channel/{id}/events"
tags: ["Channel_Events"]
---

# CreateChannelConversionEvents

`POST /channel/{id}/events`

Create channel conversion events

## Path parameters

- `id` string, required

## Request body

- object
  - `channel` string, required — <p>Channel Id</p>
  - `name` string, required — <p>Event name</p>
  - `triggerType` string, required — <p>Can be one of the following: </br> <b> custom </b> (Event tracking code) </br> <b> path </b> - Path RegEx </br> <b> selector </b> - CSS Selector </br> <b> function </b> - JavaScript function </br> <b> cpc </b> - CPC (Cost per click)</p>
  - `shared` boolean — <p>Is shared between channels</p>
  - `triggerPath` string — <p>E.g. /examplePath</p>
  - `triggerSelector` string — <p>E.g. .className</p>
  - `triggerFunction` string — <p>E.g. &quot;function(){}&quot;&quot;</p>
  - `amountFunction` string — <p>E.g. &quot;function(){}&quot;&quot;</p>
  - `currencies` string[] — <p>E.g. [ &quot;EUR&quot; ]</p>
  - `enableCpcTracking` boolean — <p>Enable CPC tracking</p>
  - `properties` string[] — <p>E.g. [ &quot;examplePropertyName&quot; ]</p>

## Response `201`

Success-Response:

- object
  - `success` boolean

---

[API](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference.md) · [All operations](https://skmtc.dev/cleverpush/apis/cleverpush-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleverpush/cleverpush-api-reference/revisions/c2dffd898fd9/schema)
