Base class for tracking event data with common parameter building logic.
Methods¶
__construct()
¶
ItemClickEventData.php
:
16
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productId | string | - | - |
| $moduleName | string | - | - |
| $redirectUrl | string | - | - |
getEventType()
¶
ItemClickEventData.php
:
22
|
|
|
Return values
getTemplateHint()
¶
ItemClickEventData.php
:
40
Returns optional template hint for special rendering needs.
|
|
|
Return values
string
toArray()
¶
ItemClickEventData.php
:
27
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>