Base class for tracking event data with common parameter building logic.
Properties¶
$categoryPath
¶
VisitEventData.php
:
19
|
|
|
$currency
¶
VisitEventData.php
:
21
|
|
|
$itemPrice
¶
VisitEventData.php
:
22
|
|
|
$masterId
¶
VisitEventData.php
:
23
|
|
|
$productCode
¶
VisitEventData.php
:
17
|
|
|
$productName
¶
VisitEventData.php
:
18
|
|
|
$websiteId
¶
VisitEventData.php
:
20
|
|
|
Methods¶
__construct()
¶
VisitEventData.php
:
16
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productCode | string | - | - |
| $productName | string | - | - |
| $categoryPath | string | - | - |
| $websiteId | string|null | null | - |
| $currency | string|null | null | - |
| $itemPrice | string|null | null | - |
| $masterId | string|null | null | - |
getEventType()
¶
VisitEventData.php
:
26
|
|
|
Return values
getTemplateHint()
¶
AbstractEventData.php
:
44
Returns optional template hint for special rendering needs.
|
|
|
Return values
string|null
toArray()
¶
VisitEventData.php
:
31
Returns Raptor tracking parameters.
|
|
|
Return values
array<string, mixed>
buildParameters()
¶
AbstractEventData.php
:
24
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $required | array<string, mixed> | - | - |
| $optional | array<string, mixed> | [] | - |
Return values
array<string, mixed>