Base class for tracking event data with common parameter building logic.
Properties¶
$moduleName
¶
ItemClickEventData.php
:
19
|
|
|
$productCode
¶
ItemClickEventData.php
:
18
|
|
|
$redirectUrl
¶
ItemClickEventData.php
:
20
|
|
|
Methods¶
__construct()
¶
ItemClickEventData.php
:
17
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $productCode | string | - | - |
| $moduleName | string | - | - |
| $redirectUrl | string | - | - |
getEventType()
¶
ItemClickEventData.php
:
23
|
|
|
Return values
getTemplateHint()
¶
ItemClickEventData.php
:
41
Returns optional template hint for special rendering needs.
|
|
|
Return values
string
toArray()
¶
ItemClickEventData.php
:
28
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>