hydrogen-analytics-tracking SKILL.md skillB

hydrogen-analytics-tracking from weaverse/shopify-hydrogen-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add weaverse/shopify-hydrogen-skills/hydrogen-analytics-tracking@git:20260910.5c66415

Pins git:20260910.5c66415 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
weaverse/shopify-hydrogen-skills
Path
skills/hydrogen-analytics-tracking/SKILL.md
Versions recorded
5
Latest version
git:20260910.5c66415, committed Sep 10, 2026
First version recorded
Jun 19, 2026
Size
14,255 bytes
Repository stars
93
License
none declared

End-to-end analytics & conversion tracking on Shopify Hydrogen — GTM, GA4 (browser + Measurement Protocol), Meta Pixel + CAPI, Google Ads, consent mode, CSP, Oxygen full-page cache. Real-world patterns from production deployments.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Hydrogen Analytics & Tracking — Agent Skill

> Build a complete tracking pipeline on Shopify Hydrogen: client dataLayer → GTM → browser pixels, AND server `/api/track` → GA4 MP / Meta CAPI / Google Ads, with shared `event_id` for cross-side deduplication. Covers consent mode v2, CSP `strict-dynamic`, Oxygen full-page cache compatibility, and the surprising gotchas that bite every implementation.

This skill encodes hard-won lessons from production tracking work on Hydrogen storefronts. The reference files contain detailed implementations; this top page is the map.

---

## When to use this skill

You need this if you're:

- Implementing GA4 / Meta / Google Ads / TikTok tracking on Hydrogen and the default Hydrogen Analytics components aren't enough.
- Adding **server-side tracking** (Measurement Protocol, Conversions API) for resilience against ad-blockers and ITP.
- Debugging "event X is in GTM Preview but not in GA4 / Meta".
- Wiring up **conversion deduplication** between browser pixel and server CAPI.
- Setting up tracking on a Hydrogen storefront with **Weaverse** as the CMS layer.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add weaverse/shopify-hydrogen-skills/hydrogen-analytics-tracking@sha256:73051a1ae1f006c7

The line at the top of this page pins the label git:20260910.5c66415, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_k6f2wcixao53bb4m.svg)](https://markdownregistry.com/a/art_k6f2wcixao53bb4m)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 19, 2026 and Sep 10, 2026, about one every 21 days.

versioncommittedcommitsizeaudit
git:20260910.5c66415 latest2026-09-10 5c66415 14,255 BB view · diff
git:20260910.6db3cb02026-09-10 6db3cb0 13,894 BB view · diff
git:20260625.e2c380c2026-06-25 e2c380c 13,661 BB view · diff
git:20260623.e1fa1742026-06-23 e1fa174 12,348 BB view · diff
git:20260619.c44cad52026-06-19 c44cad5 12,332 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <Script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (14255 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

weaverse/shopify-hydrogen-skills · 93 stars · license none declared · pushed 2026-10-12 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_k6f2wcixao53bb4m
GET https://markdownregistry.com/api/v1/resolve?ref=weaverse/shopify-hydrogen-skills/hydrogen-analytics-tracking
GET https://markdownregistry.com/api/v1/blob/73051a1ae1f006c740048618b8944f37803d39d7337fd847d34dcbc4fda70ae8

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from weaverse/shopify-hydrogen-skills

.cursorrules Cursor rule
weaverse/shopify-hydrogen-skills · .cursorrules · Skills for building, upgrading, and maintaining Shopify Hydrogen storefronts — includes core Hydrogen patterns…
git:20261012.d119df4 · audit A · 93 stars
AGENTS.md AGENTS.md file
weaverse/shopify-hydrogen-skills · AGENTS.md
git:20261002.2080053 · audit A · 93 stars
cloning-websites-to-weaverse SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/cloning-websites-to-weaverse/SKILL.md · Use when recreating a reference website or brand hub in this Hydrogen plus Weaverse repo, especially when deciding…
git:20261002.dd70c0a · audit A · 93 stars
figma-to-weaverse SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/figma-to-weaverse/SKILL.md · Use when recreating a Figma design as Hydrogen + Weaverse pages in this repo — turning a Figma file, frame, or flow…
git:20261012.d119df4 · audit A · 93 stars
generating-weaverse-project-json SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/generating-weaverse-project-json/SKILL.md · Use when generating Weaverse project export JSON for import into the Weaverse editor. Triggers on requests to create…
git:20261002.dd70c0a · audit A · 93 stars
hydrogen-cookbooks SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/hydrogen-cookbooks/SKILL.md · Step-by-step implementation guides for building features in a Shopify Hydrogen storefront — bundles, combined listings…
git:20260910.5c66415 · audit A · 93 stars
hydrogen-markets-localization SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/hydrogen-markets-localization/SKILL.md · Implement or review Shopify Hydrogen market localization — use when adding markets, locale routes, translations…
git:20260910.5c66415 · audit A · 93 stars
hydrogen-upgrades SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/hydrogen-upgrades/SKILL.md · Step-by-step guides for upgrading Shopify Hydrogen between versions — breaking changes, code diffs, and migration steps…
git:20261008.02cfdb6 · audit A · 93 stars
setup-weaverse-project SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/setup-weaverse-project/SKILL.md · Set up a new Weaverse Hydrogen storefront locally from a Weaverse theme. Boot a live demo-store preview before asking…
git:20261004.232542f · audit A · 93 stars
shopify-hydrogen SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/shopify-hydrogen/SKILL.md · Core Shopify Hydrogen APIs — createHydrogenContext, cart handler, CartForm, caching strategies, pagination, SEO…
git:20260910.6db3cb0 · audit A · 93 stars
theme-update SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/theme-update/SKILL.md · Safely update a Weaverse Pilot theme to the latest version — detects current version, fetches release diffs, plans…
git:20260614.c06aaf7 · audit A · 93 stars
weaverse-content-api SKILL.md skill
weaverse/shopify-hydrogen-skills · skills/weaverse-content-api/SKILL.md · Use when reading or updating live Weaverse content programmatically — pulling projects/pages/theme settings…
git:20261008.fa21236 · audit A · 93 stars

Every file in weaverse/shopify-hydrogen-skills

Browse by kind, by grade B, or by owner.