Base class for tracking event data with common parameter building logic.
Methods¶
__construct()
¶
ContentVisitEventData.php
:
16
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $contentId | string | - | - |
| $websiteId | string|null | null | - |
getEventType()
¶
ContentVisitEventData.php
:
21
|
|
|
Return values
getTemplateHint()
¶
AbstractEventData.php
:
44
Returns optional template hint for special rendering needs.
|
|
|
Return values
string|null
toArray()
¶
ContentVisitEventData.php
:
26
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>