new StarredProductEvent(valueopt, propertiesopt, transactionIdopt)
Creates an instance of StarredProductEvent with a predefined name and known properties.
- See:
-
CustomEvent.templates.retail.RetailEvent
for available properties.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
value |
Number
|
<optional> |
||
properties |
Object
|
<optional> |
{} | |
transactionId |
String
|
<optional> |
Example
new sdk.CustomEvent.templates.retail.StarredProductEvent(1.39, {
category: 'mens shoes',
brand: 'Special Brand',
id: '23413'
}).track()
Extends
- CustomEvent.templates.retail.RetailEvent