Channel_Events

CreateChannelConversionEvents

Create channel conversion events

post/channel/{id}/events

Path parameters

idstring required

The channel id

Request body

channelstring required
<p>Channel Id</p>
namestring required
<p>Event name</p>
triggerTypestring 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>
sharedboolean
<p>Is shared between channels</p>
triggerPathstring
<p>E.g. /examplePath</p>
triggerSelectorstring
<p>E.g. .className</p>
triggerFunctionstring
<p>E.g. &quot;function(){}&quot;&quot;</p>
amountFunctionstring
<p>E.g. &quot;function(){}&quot;&quot;</p>
currenciesstring[]
<p>E.g. [ &quot;EUR&quot; ]</p>
enableCpcTrackingboolean
<p>Enable CPC tracking</p>
propertiesstring[]
<p>E.g. [ &quot;examplePropertyName&quot; ]</p>

Response

Success-Response:

successboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.