Skip to content

Commit 00f1283

Browse files
author
Alex Westergaard
committed
Add docblock to remind of API Secret
1 parent cf08cce commit 00f1283

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Analytics.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
use AlexWestergaard\PhpGa4\Facade;
77
use AlexWestergaard\PhpGa4\Model;
88

9+
/**
10+
* Foundation class to collect all information and events to send to Google Analytics \
11+
* Make sure to get you Measurement ID and a API Secret
12+
* @link https://analytics.google.com/ -> Settings -> Data stream -> API Secrets & Measurement Protocol -> Create
13+
*/
914
class Analytics extends Model\ToArray implements Facade\Analytics, Facade\Export
1015
{
1116
const URL_LIVE = 'https://www.google-analytics.com/mp/collect';

0 commit comments

Comments
 (0)