analytics-instrumentation — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited analytics-instrumentation (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
When designing event tracking systems, building data layers, creating tracking plans, instrumenting user journeys, or establishing analytics governance. Use for any task that involves measuring user behavior in a structured, privacy-respecting way.
Core principle: Track intent, not surveillance — measure what users DO to improve what you BUILD, never to manipulate or over-collect.
Format: [object]_[action]
Examples:
- button_clicked
- form_submitted
- page_viewed
- cart_item_added
- search_performed
- error_encounteredRules:
{
"event": "button_clicked",
"properties": {
"button_id": "string (required) — unique identifier",
"button_text": "string (required) — visible label",
"page_path": "string (required) — current URL path",
"section": "string (optional) — page section containing button",
"variant": "string (optional) — A/B test variant if applicable"
},
"context": {
"timestamp": "ISO-8601 (auto)",
"session_id": "string (auto)",
"device_type": "string (auto)",
"viewport_width": "number (auto)"
}
}Rules:
| Event Name | Trigger | Properties | Owner | Status |
|------------------|----------------------------|--------------------|----------|--------------|
| page_viewed | Page load complete | page_path, title | @fe-team | Implemented |
| button_clicked | Any tracked button click | button_id, text | @fe-team | In Review |
| form_submitted | Form submission success | form_id, fields | @fe-team | Planned |Rules:
// Structured data layer (consumed by analytics tools)
window.dataLayer = window.dataLayer || [];
// Push events with standard structure
window.dataLayer.push({
event: 'button_clicked',
properties: {
button_id: 'cta-signup-hero',
button_text: 'Start Free Trial',
page_path: '/pricing'
}
});Rules:
// Only track if user has consented to analytics category
if (consentManager.hasConsent('analytics')) {
dataLayer.push({ event: 'page_viewed', properties: {...} });
} Funnel: [name]
Steps:
1. page_viewed (page_path = '/pricing') → Entry
2. button_clicked (button_id = 'select-plan') → Intent
3. form_submitted (form_id = 'payment') → Commitment
4. purchase_completed → Conversion
Metrics per step:
- Volume (count)
- Conversion rate (step N / step N-1)
- Drop-off rate (1 - conversion rate)
- Time between steps (median, p95)Rules:
Before marking a task done when this skill was active:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.