new BrowsedEvent(valueopt, propertiesopt, transactionIdopt)
Creates an instance of BrowsedEvent 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.BrowsedEvent(1.39, {
category: 'mens shoes',
brand: 'Special Brand',
id: '23413'
}).track()
Extends
- CustomEvent.templates.retail.RetailEvent