Analytics
Detects placeholder analytics IDs (the most common Bolt / generic AI scaffold leak) and missing or duplicate tracking snippets.
Source module: analytics.ts
Known rule IDs
| Rule ID | What it catches |
|---|---|
| analytics-measurement-id-placeholder | gtag / GTM snippet with placeholder IDs like G-XXXXXXXXXX, GTM-XXXX, UA-XXXXXXXX, G-PLACEHOLDER, or YOUR_GA_ID. |
More rules ship per release.
Run just this category
smartspec audit https://example.com --categories analytics