node-tracker.adconversionevent
Home > @snowplow/node-tracker > AdConversionEvent
AdConversionEvent interface
An Ad Conversion Event Used to track an advertisement click
Signature:interface AdConversionEvent
Remarks
If you provide the cost field, you must also provide one of 'cpa', 'cpc', and 'cpm' for the costModel field.
Properties
| Property | Type | Description |
|---|---|---|
| action? | string | (Optional) The type of user interaction e.g. 'purchase' |
| advertiserId? | string | (Optional) Identifier for the advertiser which the campaign belongs to |
| campaignId? | string | (Optional) Identifier for the advertiser which the campaign belongs to |
| category? | string | (Optional) Conversion category |
| conversionId? | string | (Optional) Identifier for the particular conversion instance |
| cost? | number | (Optional) Advertisement cost |
| costModel? | "cpa" | "cpc" | "cpm" | (Optional) The cost model for the campaign |
| initialValue? | number | (Optional) How much the conversion is initially worth |
| property? | string | (Optional) Describes the object of the conversion |