Skip to content

Commit 8a5657e

Browse files
CopilotLipata
andcommitted
Add note about silent failure behavior for placeholder credentials
Co-authored-by: Lipata <[email protected]>
1 parent 5e31ff1 commit 8a5657e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/util/GoogleAnalytics.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class GoogleAnalytics {
2323
// These can be overridden via environment variables:
2424
// - IGNITEUI_CLI_GA4_MEASUREMENT_ID
2525
// - IGNITEUI_CLI_GA4_API_SECRET
26+
//
27+
// NOTE: If environment variables are not set and placeholder values remain, analytics will silently fail.
28+
// This matches the current behavior where invalid credentials result in silent failures.
2629
protected static measurementID = process.env.IGNITEUI_CLI_GA4_MEASUREMENT_ID || "G-XXXXXXXXXX"; // TODO: Replace default with actual GA4 Measurement ID
2730
protected static apiSecret = process.env.IGNITEUI_CLI_GA4_API_SECRET || "XXXXXXXXXXXXXXXXXXXXXXXX"; // TODO: Replace default with actual GA4 API Secret
2831

0 commit comments

Comments
 (0)