File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,11 @@ class GoogleAnalytics {
1414 protected static appVersion : string ;
1515 protected static npmVersion : string ;
1616 // GA4 Measurement ID and API Secret
17+ // To obtain these credentials:
18+ // 1. Go to Google Analytics Admin panel (https://analytics.google.com/analytics/web/)
19+ // 2. Navigate to Admin > Data Streams > Select your stream
20+ // 3. Measurement ID is shown at the top (format: G-XXXXXXXXXX)
21+ // 4. For API Secret: Scroll down to "Measurement Protocol API secrets" > "Create" to generate a new secret
1722 protected static measurementID = "G-XXXXXXXXXX" ; // TODO: Replace with actual GA4 Measurement ID
1823 protected static apiSecret = "XXXXXXXXXXXXXXXXXXXXXXXX" ; // TODO: Replace with actual GA4 API Secret
1924
You can’t perform that action at this time.
0 commit comments