Skip to content

Commit 2025310

Browse files
authored
Add info to pageview about not being official event (#68)
Marking event as deprecated and internal to warn people of using it without caution.
2 parents b236d27 + db50c41 commit 2025310

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Event/PageView.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
use AlexWestergaard\PhpGa4\Helper\EventHelper;
66
use AlexWestergaard\PhpGa4\Facade;
77

8+
/**
9+
* This is not an official SST Event, please use this with caution
10+
*
11+
* @link https://developers.google.com/analytics/devguides/collection/ga4/views?client_type=gtag
12+
* @deprecated unofficial-event
13+
* @internal
14+
*/
815
class PageView extends EventHelper implements Facade\Type\DefaultEventParamsType
916
{
1017
protected null|string $method;

0 commit comments

Comments
 (0)