+ PageViewEventData
+ +Base class for tracking event data with common parameter building logic.
+ + + + + + + + + + + + + ++ Properties¶ +
+ +
+
+ $url
+ ¶
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
+
+ $websiteId
+ ¶
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
+ Methods¶ +
+ +
+
__construct()
+ ¶
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
Parameters
+| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $url + | ++ string + | ++ - + | ++ - + | +
| + $websiteId + | ++ string|null + | ++ null + | ++ - + | +
+
getEventType()
+ ¶
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
Return values
+ + + +
+
getTemplateHint()
+ ¶
+
+ Returns optional template hint for special rendering needs.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
Return values
+string|null
+ + +
+
toArray()
+ ¶
+
+ Returns Raptor tracking parameters.
+ +|
+
+
+ + |
+
+
+
+
+ |
+
Return values
+array<string, mixed>
+ + +
+
buildParameters()
+ ¶
+
+ |
+
+
+ + |
+
+
+
+
+ |
+
Parameters
+| Name | +Type | +Default value | +Description | +
|---|---|---|---|
| + $required + | ++ array<string, mixed> + | ++ - + | ++ - + | +
| + $optional + | ++ array<string, mixed> + | ++ [] + | ++ - + | +
Return values
+array<string, mixed>
+ + +
+
+