GA4 Tracking Setup
Plans and installs Google Analytics 4 and Tag Manager tracking, so every key event is counted once and correctly.
Claude's review
8/10 Concrete GA4 and GTM tracking plan with naming limits, consent ordering, double-count traps and a verification pass.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Designs and implements website analytics tracking with Google Analytics 4 and Google Tag Manager: a written tracking plan, event and parameter names that pass GA4's rules, gtag.js or data-layer code, key events, consent mode, UTM conventions, and a verification pass. Use when someone says "set up GA4", "add conversion tracking", "track this form or button", "write a tracking plan", "GTM data layer", "UTM parameters", "why are my events missing or counted twice", or "audit our analytics setup".
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: analytics-tracking
description: >-
Designs and implements website analytics tracking with Google Analytics 4 and
Google Tag Manager: a written tracking plan, event and parameter names that
pass GA4's rules, gtag.js or data-layer code, key events, consent mode, UTM
conventions, and a verification pass. Use when someone says "set up GA4",
"add conversion tracking", "track this form or button", "write a tracking
plan", "GTM data layer", "UTM parameters", "why are my events missing or
counted twice", or "audit our analytics setup".
license: Apache-2.0
compatibility: "A GA4 property with a web data stream and either the Google tag (gtag.js) or a Google Tag Manager web container. curl for the Measurement Protocol validation server. Web only; native mobile SDKs are out of scope."
metadata:
author: terminal-skills
version: "2.0.0"
category: business
tags: "google-analytics, ga4, google-tag-manager, event-tracking, utm"
---
# Analytics Tracking
## Overview
Tracking is finished when a named person can answer a business question from a report, not when a tag fires. This skill takes a site from "we have GA4 installed" to a short tracking plan, code that sends each event exactly once with valid names, the Admin settings that make the data usable, and proof that it works. Everything here follows Google's current documentation for GA4, the Google tag and Tag Manager; Universal Analytics concepts (categories, actions, labels, goals, `anonymize_ip`) do not apply.
## Instructions
### 1. Establish what exists
Ask: which decisions the data should inform, which actions count as success (lead, signup, purchase), which regions the visitors come from (consent), and who is allowed to publish the Tag Manager container. Then look in the code:
```bash
grep -rnE "gtag\(|dataLayer\.push|googletagmanager\.com|GTM-[A-Z0-9]{4,}|G-[A-Z0-9]{8,}|@next/third-parties" \
--include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.html" \
--exclude-dir=node_modules --exclude-dir=.next .
```
Choose one delivery path and keep to it. If a `GTM-` container is on the page, send events through the data layer and configure tags in Tag Manager; if only the Google tag is present, call `gtag()` directly. The same event sent through both paths is counted twice.
### 2. Pick events from the top of this list down
...From TerminalSkills's repository, Apache-2.0 licence.
Related skills
-
Checked
Brand voice profile
Builds a voice profile from your real content so all your copy sounds like your brand, then checks for drift.
7/101 credit -
Checked
Positioning and Messaging Framework
Turns customer evidence into a clear positioning and messaging document your sales team can write from in minutes.
7/101 credit -
Checked
Promotion design
Picks the promotion and wording, like gifts, bundles or pre-order offers, so sales lift without deep discounts.
7/101 credit -
Checked
Business Name Check
Tests a business name for bad meanings, pronunciation and trust in each target market, and suggests alternatives.
7/101 credit -
Checked
Feature adoption plan
Plans how people find, try and keep using a new feature, and shows exactly where adoption drops off.
7/101 credit -
Checked
Competitor strategy teardown
Breaks down competitors' SEO, ads, social, email, pricing and positioning so you can see where to beat them.
7/101 credit