ToggleOps

Headless Shopify Storefront

Operating systemby @toggleopsv1.0.074 files
Open in the library

What’s inside

74files
606 KBin total
74,556words of method
1,566hard numbers
SKILL.md5 KB
Markdown · 22 lines · 760 words · sha b97a121015ca
Headless Shopify Storefront15 lines · 12 numbers
ARCHITECTURE.md2 KB
Markdown · 11 lines · 179 words · sha c3d48e447098
Hand-offs8 lines · 9 numbers
BRAIN.md450 B
Markdown · 8 lines · 32 words · sha be6d8d63fb6a
headless-shopify-storefront5 lines · 4 numbers
CHANGES.md1 KB
Markdown · 23 lines · 100 words · sha 00de887050c8
ToggleOps packaging (2026-11-11, mechanical, no content changed)18 lines · 2 numbers
DEMO.md208 B
Markdown · 3 lines · 37 words · sha a68c52f79dc7
Opening2 lines · 1 number
QUESTIONS.md2 KB
Markdown · 10 lines · 248 words · sha c9ad2dcdb878
Open questions6 lines · 18 numbers
TAGS.md1 KB
Markdown · 12 lines · 174 words · sha 6002bd92f7a4
Headless Shopify Storefront9 lines · 8 numbers
skills67 files · 594 KB
add-builder-to-existing-store/SKILL.md22 KB
Markdown · 392 lines · 3,037 words · sha 1cdc309f2bdd
Add the builder to an existing store10 lines · 3 numbers
Phase 1: study the project first34 lines · 24 numbers
Phase 2: install and connect the SDK82 lines · 19 numbers
Phase 3: make sections from existing components104 lines · 13 numbers
Phase 4: switch routes over20 lines · 1 number
Phase 5: special cases4 lines
Phase 6: confirm nothing broke12 lines · 1 number
Mistakes and their fixes12 lines
Every file this touches6 lines · 1 number
builder-sections/examples/harvest-hero.tsx3 KB
builder-sections/examples/registry.ts627 B
builder-sections/examples/tea-shelf.tsx3 KB
builder-sections/examples/tin-card.tsx2 KB
builder-sections/references/advanced.md6 KB
Markdown · 102 lines · 771 words · sha 75afccdafe8b
Advanced builder features0 lines
Localization: one contract, not one file5 lines · 1 number
Custom page types8 lines
Several templates per page type6 lines · 4 numbers
Global sections5 lines
Content Security Policy1 line
Several builder projects on one store9 lines
A/B tests with @weaverse/experiments23 lines · 2 numbers
Third-party services6 lines
builder-sections/references/app-wiring.md13 KB
Markdown · 290 lines · 1,402 words · sha 3bb3b13f8563
App wiring for a builder theme (Hydrogen 2026.10, SDK 6)1 line
Where files live8 lines
Building the context, builder client included34 lines · 2 numbers
Typing (`env.d.ts`)17 lines
`.env`3 lines
Declaring routes22 lines · 3 numbers
Rendering builder content from a route41 lines · 2 numbers
The root (`root.tsx`)31 lines · 1 number
Server entry and the CSP51 lines · 1 number
Router config, TypeScript and ignores8 lines
builder-sections/references/builder-api.md7 KB
Markdown · 127 lines · 839 words · sha 04d29ffcc00c
Builder API (SDK 6)0 lines
Where to import from4 lines · 2 numbers
WeaverseClient7 lines · 3 numbers
loadPage()10 lines
loadThemeSettings()1 line
When the builder is down13 lines · 3 numbers
fetchWithCache()7 lines · 2 numbers
withWeaverse() and WeaverseHydrogenRoot2 lines
Hooks6 lines · 1 number
Types24 lines
Utilities3 lines · 2 numbers
builder-sections/references/deploy.md3 KB
Markdown · 47 lines · 440 words · sha 10714eb1f45a
Deploying a builder storefront0 lines
On Oxygen (recommended)9 lines · 3 numbers
Pointing Studio at the live store1 line
Hosting somewhere else1 line
npm scripts5 lines · 1 number
Launch checklist8 lines · 3 numbers
builder-sections/references/loaders-and-data.md7 KB
Markdown · 156 lines · 901 words · sha fe09ec7aa0c9
Section loaders and data1 line
Loader arguments14 lines · 1 number
Basic loader with typed props24 lines
Storefront API rules (every call)35 lines · 2 numbers
Other APIs: fetchWithCache10 lines · 2 numbers
Patterns11 lines · 1 number
Re-running the loader from Studio1 line
Data connectors (merchant-side binding)16 lines · 4 numbers
builder-sections/references/schema-and-inputs.md9 KB
Markdown · 231 lines · 1,326 words · sha 5944775f6347
Schemas and inputs0 lines
createSchema()17 lines · 5 numbers
enabled17 lines
A fuller schema43 lines · 11 numbers
Input fields16 lines
Every input type15 lines
A complete settings block53 lines · 4 numbers
Sections and child components24 lines
builder-sections/references/sdk-caching-and-nested-pages.md7 KB
Markdown · 59 lines · 1,002 words · sha 2e2d1f358f2d
How the SDK caches, Builder timing, nested pages, upgrading clie1 line · 7 numbers
Caching of Builder responses8 lines · 9 numbers
Timing headers from the Builder12 lines · 3 numbers
More than one builder page on a URL6 lines · 3 numbers
Moving a client's theme to a newer SDK5 lines · 17 numbers
A note for contributors to the starter theme1 line
builder-sections/references/sdk-migrations.md9 KB
Markdown · 129 lines · 1,116 words · sha e229fe56bc97
SDK migrations0 lines
From 5.x to 6.x (Hydrogen 2026.4 or older, moving to 2026.10)70 lines · 33 numbers
Earlier history: how 5.x left Remix for React Router 7 (2025)20 lines · 21 numbers
builder-sections/references/starter-theme-patterns.md7 KB
Markdown · 173 lines · 838 words · sha ab96e9fa5b50
Patterns from the builder's starter theme2 lines · 3 numbers
Layout13 lines · 1 number
A shared Section wrapper44 lines
Shared inputs25 lines · 4 numbers
Three section shapes42 lines · 2 numbers
Theme settings groups1 line
The ten conventions10 lines · 11 numbers
builder-sections/references/theming.md4 KB
Markdown · 133 lines · 512 words · sha 45a9bfb6076c
Theming0 lines
Tailwind first1 line · 3 numbers
Theme-wide settings39 lines · 21 numbers
Settings into CSS variables24 lines
useThemeSettings in components5 lines
Variants with CVA20 lines · 13 numbers
Pointing Tailwind at the theme variables14 lines
builder-sections/SKILL.md10 KB
Markdown · 209 lines · 1,291 words · sha 47d42bbc8ea1
Builder sections on Hydrogen4 lines · 4 numbers
Step 0: check the SDK major9 lines · 10 numbers
Where things live23 lines
A section is one file with up to three exports34 lines · 4 numbers
Rules that break Studio when missed11 lines · 6 numbers
Schema essentials5 lines
Input types at a glance14 lines
Section loaders8 lines · 1 number
Theming1 line
Builder API at a glance13 lines
Routes render builder pages12 lines
References13 lines · 3 numbers
clone-site-into-sections/references/crawl-and-classify.md4 KB
Markdown · 52 lines · 498 words · sha dbee3244a966
Crawl the source, then classify every block0 lines
Crawl rules6 lines
Media hidden from markdown7 lines
Layout from the HTML (mandatory)7 lines
The four classifications7 lines · 4 numbers
Before matching: tokens1 line
clone-site-into-sections/references/manifest-and-preview.md5 KB
Markdown · 87 lines · 851 words · sha e148f1a25ef3
The content manifest and the preview route0 lines
Content manifest19 lines
The preview route46 lines · 15 numbers
clone-site-into-sections/references/red-flags.md6 KB
Markdown · 79 lines · 1,025 words · sha f324c2c09abb
Red flags, excuses, common mistakes0 lines
Stop if you catch yourself27 lines
Excuses and the answer18 lines
Example2 lines
Frequent errors18 lines
clone-site-into-sections/references/section-matching.md4 KB
Markdown · 60 lines · 660 words · sha 4bff5c203102
Matching blocks to sections1 line
Order of matching9 lines · 4 numbers
The media-type gate5 lines · 4 numbers
The layout gate4 lines
Structural checks (mandatory for every REUSE or ADAPT)11 lines · 7 numbers
Building it3 lines
Adapting an existing section safely3 lines
clone-site-into-sections/SKILL.md9 KB
Markdown · 120 lines · 1,237 words · sha e50e853d357c
Clone a site into builder sections2 lines
Who wins a conflict4 lines · 1 number
Typical requests5 lines
Inputs and outputs6 lines
Where each decision comes from9 lines
The workflow33 lines · 19 numbers
sections.md4 lines
Decision rules7 lines
Files you touch1 line
References6 lines
feature-recipes/references/3d-models.md4 KB
Markdown · 79 lines · 606 words · sha 2011a6f21479
3D models and iOS AR2 lines · 1 number
The flow, end to end6 lines · 7 numbers
Where the pieces live (all under `product-media/` unless noted)8 lines
Fragment and type21 lines
Rendering it8 lines
Removing the feature4 lines · 4 numbers
Requirements3 lines
feature-recipes/references/builder-wiring.md8 KB
Markdown · 160 lines · 1,051 words · sha 82adbe88ab13
Adding the builder to a Hydrogen 2026.10 store (recipe)10 lines · 5 numbers
Files12 lines
1. Installing, and the environment10 lines · 1 number
2. Register sections1 line
3. Theme schema with markets33 lines · 4 numbers
4. Content wrapper and global style1 line
5. A client per request2 lines · 2 numbers
6. Root route8 lines
7. Page routes9 lines
8. CSP1 line
9. A first section with a loader6 lines
When it goes wrong6 lines · 1 number
Good habits8 lines · 1 number
feature-recipes/references/bundles.md4 KB
Markdown · 72 lines · 548 words · sha f68bf2fa2598
Product bundles6 lines
What the starter theme already has18 lines
How to set it up21 lines · 4 numbers
When it does not show5 lines
feature-recipes/references/combined-listings.md6 KB
Markdown · 110 lines · 869 words · sha 4aa618bbda5a
Combined listings6 lines
Steps69 lines · 11 numbers
Not covered2 lines
When it goes wrong4 lines
feature-recipes/references/customer-accounts.md6 KB
Markdown · 104 lines · 781 words · sha dcb02321152e
Customer Account API pages (/account)1 line · 1 number
Setting it up11 lines · 5 numbers
The moving parts6 lines
Rules5 lines
Recipe: adding an account page53 lines · 8 numbers
feature-recipes/references/imports-and-request-flow.md6 KB
Markdown · 77 lines · 730 words · sha cba9a1b9f774
Translating old imports, and the request flow (always applies)1 line · 2 numbers
From Remix v2 packages6 lines
From classic Hydrogen and SDK 529 lines · 5 numbers
How the starter theme handles a request8 lines · 7 numbers
How to work6 lines · 5 numbers
feature-recipes/references/speed.md13 KB
Markdown · 244 lines · 1,966 words · sha 535b0adcbbba
Speed on Oxygen0 lines
Give every query a cache strategy8 lines · 9 numbers
Full-page caching for visitors who are not signed in10 lines · 4 numbers
Bots: put a time limit on `allReady`10 lines · 3 numbers
What the root loader blocks on, and what it streams33 lines · 2 numbers
Third-party scripts21 lines · 2 numbers
Images21 lines · 10 numbers
Which CSS is inline and which is a file4 lines · 1 number
Splitting browser code15 lines · 3 numbers
Scroll handlers and animation16 lines · 4 numbers
Resource hints11 lines · 2 numbers
Known limits3 lines · 1 number
Pre-deploy checklist16 lines · 1 number
feature-recipes/references/variant-media.md4 KB
Markdown · 64 lines · 625 words · sha 51850140917b
Media grouped by variant1 line
The matching rules16 lines · 7 numbers
How the slider reacts to a new variant2 lines
Files9 lines
Settings in Studio5 lines
Turning it off1 line
Taking it out8 lines · 8 numbers
feature-recipes/SKILL.md3 KB
Markdown · 43 lines · 414 words · sha f6bbb788bb4e
Feature recipes4 lines · 6 numbers
How to run a recipe4 lines · 4 numbers
Recipes10 lines · 1 number
Rules every recipe shares5 lines
figma-into-sections/references/figma-extraction.md6 KB
Markdown · 71 lines · 934 words · sha a2005800a76d
Pulling a design out of Figma0 lines
The MCP tools10 lines
Variables to theme keys13 lines
Composition, read from auto-layout6 lines
Interactions need evidence6 lines · 3 numbers
Annotations4 lines
Assets5 lines
figma-into-sections/references/visual-check.md12 KB
Markdown · 171 lines · 1,855 words · sha aed18b41ba3c
Visual check: spec, run, repair loop1 line
Running14 lines · 3 numbers
References6 lines · 1 number
The spec file: `.figma/<page>.visual.json`75 lines · 23 numbers
Checks performed12 lines · 1 number
Repair loop29 lines · 13 numbers
figma-into-sections/scripts/visual_check.mjs22 KB
figma-into-sections/SKILL.md13 KB
Markdown · 115 lines · 2,006 words · sha 6a77c9a3a38c
Figma into builder sections7 lines
Inputs4 lines
Preflight6 lines · 5 numbers
Deliverables5 lines · 5 numbers
Getting the design out10 lines · 9 numbers
Workflow20 lines · 12 numbers
Website versus Figma8 lines
Red flags18 lines · 1 number
Related skills1 line
framework-upgrades/references/classic-2024-to-2025-1.md8 KB
Markdown · 107 lines · 955 words · sha 29c417dfe69d
Classic Hydrogen jumps, 2024.4.7 to 2025.1.41 line
2024.4.7 to 2024.7.115 lines · 11 numbers
2024.10.1 to 2025.1.012 lines · 4 numbers
2025.1.0 to 2025.1.118 lines · 13 numbers
2025.1.2 to 2025.1.311 lines · 6 numbers
2025.1.3 to 2025.1.417 lines · 18 numbers
framework-upgrades/references/to-2025-7.md5 KB
Markdown · 85 lines · 648 words · sha 68fd894cc02c
2025.5.0 to 2025.7.0 (major: React Router 7.9.x, Shopify PR 31410 lines
Breaking: move to React Router53 lines · 16 numbers
New features10 lines · 6 numbers
Fixes2 lines · 1 number
framework-upgrades/references/to-2026-1.md4 KB
Markdown · 66 lines · 544 words · sha 7393f4cdf75f
2025.7.0 to 2026.1.06 lines · 10 numbers
Versions8 lines · 9 numbers
Steps24 lines · 15 numbers
Risks7 lines · 3 numbers
Rollback1 line
Sources1 line · 2 numbers
framework-upgrades/references/to-2026-10.md18 KB
Markdown · 210 lines · 2,393 words · sha a50b85e37447
2026.4.7 to 2026.10.2: the rewrite2 lines · 6 numbers
What moves where9 lines · 1 number
Package versions8 lines · 20 numbers
Step 1: dependencies and npm scripts9 lines · 4 numbers
Step 2: config files5 lines
Step 3: the builder SDK's codemod9 lines · 2 numbers
Step 4: wire the request27 lines · 9 numbers
Step 5: data access11 lines · 1 number
Step 6: local replacements for removed exports8 lines
Step 7: cart6 lines
Step 8: product form4 lines
Step 9: accounts5 lines
Step 10: analytics3 lines
Step 11: collections, search, predictive search2 lines
Step 12: compile and test4 lines
Step 13: click through the important flows12 lines · 2 numbers
Risks5 lines · 5 numbers
Going back3 lines · 4 numbers
More to read1 line · 3 numbers
framework-upgrades/references/to-2026-4-7.md11 KB
Markdown · 125 lines · 1,540 words · sha 5f36c11cec34
Upgrade guide: classic 2026.1.0 up to 2026.4.73 lines · 16 numbers
What each release brought8 lines · 29 numbers
Node version1 line · 8 numbers
Peer ranges6 lines · 33 numbers
Step 1: dependencies3 lines · 3 numbers
Step 2: the always-on Storefront API proxy (2026.4.0, required)13 lines · 3 numbers
Step 3: Storefront API 2026-04 (2026.4.0, needs review)4 lines · 10 numbers
Step 4: consent and analytics (2026.4.6, required if the store t8 lines · 3 numbers
Step 5: code changes you might need4 lines · 4 numbers
Step 6: optional skeleton changes7 lines · 9 numbers
Builder themes1 line · 2 numbers
Step 7: verify8 lines · 2 numbers
Shopify's upgrade command4 lines · 4 numbers
Undoing it1 line · 2 numbers
framework-upgrades/SKILL.md4 KB
Markdown · 60 lines · 554 words · sha 8ffb8766f083
Framework upgrades3 lines
Which guide11 lines · 50 numbers
Order of work16 lines · 20 numbers
Rules for every upgrade3 lines
import-file-builder/references/example-export.json3 KB
import-file-builder/references/export-format.md8 KB
Markdown · 143 lines · 858 words · sha 532a51358ce9
The builder's export and import format1 line
Top level40 lines · 8 numbers
Pages13 lines
Items8 lines
Page assignments7 lines
The smallest valid file16 lines · 6 numbers
Integrity checklist6 lines
Practical advice5 lines
Common mistakes7 lines
import-file-builder/scripts/check_export.py8 KB
import-file-builder/SKILL.md7 KB
Markdown · 92 lines · 974 words · sha b249f185e9af
Import file builder3 lines
How it is delivered3 lines
Steps6 lines · 7 numbers
Shape in brief17 lines · 5 numbers
Values10 lines · 4 numbers
Ids8 lines · 1 number
Common mistakes14 lines
live-content-editing/references/endpoints.md22 KB
Markdown · 280 lines · 3,146 words · sha 414e8bd1e101
Content API endpoints4 lines
What comes back15 lines · 9 numbers
Paging through lists1 line · 2 numbers
Projects12 lines · 9 numbers
Pages71 lines · 25 numbers
Drafts, then publishing8 lines · 5 numbers
Global sections7 lines
Versions15 lines · 4 numbers
Translations11 lines · 3 numbers
Theme settings10 lines · 2 numbers
Languages and localization3 lines
Portability and operations16 lines · 3 numbers
Things to keep in mind5 lines · 1 number
live-content-editing/references/rich-text-formats.md2 KB
Markdown · 30 lines · 303 words · sha 15376537b24d
Two shapes for rich text when reading7 lines · 1 number
When `?meta=true` matters6 lines · 1 number
Which to use3 lines
live-content-editing/scripts/content_api.mjs11 KB
live-content-editing/SKILL.md25 KB
Markdown · 265 lines · 3,516 words · sha 6b88ea726fea
Live content editing (builder Content API)6 lines · 2 numbers
Know which writes reach shoppers18 lines · 3 numbers
Typical jobs11 lines
Credentials22 lines · 4 numbers
Editing live content step by step32 lines · 17 numbers
Drafts and publishing7 lines · 7 numbers
Versions7 lines · 6 numbers
Translations3 lines · 2 numbers
Project lifecycle12 lines · 2 numbers
How pages are addressed6 lines · 1 number
Uploading to Shopify10 lines · 5 numbers
Helper script16 lines
Red flags23 lines · 7 numbers
Related skills3 lines
markets-and-languages/references/checklist.md12 KB
Markdown · 140 lines · 2,028 words · sha 3465677fb61d
Markets and languages: proof checklist4 lines · 1 number
Before touching code10 lines
Narrow regression tests43 lines · 2 numbers
Tests on real boundaries7 lines
Dev-server matrix10 lines
Shopify admin handoff13 lines · 2 numbers
Proof on the platform and at release20 lines
markets-and-languages/SKILL.md15 KB
Markdown · 152 lines · 2,211 words · sha 809c859ea497
Markets and languages1 line
Live docs first9 lines
The agreement6 lines
Seams on Hydrogen 2026.10 with SDK 612 lines · 5 numbers
How to work through it53 lines · 21 numbers
Working through the builder's Admin proxy16 lines · 11 numbers
Verification1 line
Related skills4 lines
new-store-setup/SKILL.md12 KB
Markdown · 207 lines · 1,881 words · sha 6cbbfe45c4e0
New store setup1 line
The one rule3 lines
You run the commands; they only click2 lines · 3 numbers
Inputs to collect11 lines
Step 0: look before acting9 lines · 2 numbers
Step 1: scaffold with the builder's CLI17 lines
Step 2: the store runs on demo data14 lines · 7 numbers
Step 3: their own Shopify store12 lines · 5 numbers
Step 4: the project id1 line
Step 5: their GitHub repo (ask first)23 lines
Step 6: connect the preview to the builder1 line · 1 number
Step 7: chat editing through the builder's MCP (optional)10 lines · 5 numbers
Step 8: prove it works6 lines · 2 numbers
Step 9: add the rest of this pack to the project2 lines
Order of work10 lines · 12 numbers
storefront-core/references/caching.md3 KB
Markdown · 92 lines · 440 words · sha 1662379e5751
Caching in Hydrogen 2026.100 lines
Nothing is cached by default10 lines · 3 numbers
Define them once11 lines · 2 numbers
Strategy fields7 lines
Turning a strategy into a Cache-Control value22 lines · 2 numbers
What gets which strategy8 lines
Keep pages anonymous so Oxygen can cache them whole5 lines · 1 number
storefront-core/references/cart.md8 KB
Markdown · 163 lines · 985 words · sha 3563cf70ed16
Cart in Hydrogen 2026.104 lines
The server side and its fragment24 lines · 1 number
The client store12 lines
Reading cart state14 lines
Cart forms45 lines · 1 number
When something else changed the cart8 lines
Extra cart endpoints of your own5 lines
Analytics from the cart1 line
How Oxygen's full-page cache keys a page (useful when triaging r3 lines · 1 number
storefront-core/references/request-flow.md15 KB
Markdown · 354 lines · 1,813 words · sha 02e8872c2388
Request flow, app context and build config (Hydrogen 2026.10)2 lines · 4 numbers
Environment variables11 lines
The worker entry (`server.ts`)61 lines · 2 numbers
Route templates6 lines
Building the app context24 lines
The Storefront API client41 lines
A route loader that queries the store34 lines · 1 number
Session37 lines
Customer accounts14 lines
Build configuration43 lines · 3 numbers
storefront-core/references/server-bundle-and-speed.md4 KB
Markdown · 84 lines · 539 words · sha a0f7dfda7c8d
Server bundle size and measuring TTFB1 line · 2 numbers
Why the worker bundle swells4 lines · 2 numbers
Fix: stub browser-only modules for SSR24 lines · 3 numbers
Seeing what is in the server bundle15 lines · 9 numbers
Measuring TTFB without fooling yourself8 lines · 3 numbers
What good looks like on Oxygen6 lines · 5 numbers
storefront-core/scripts/find_docs.mjs5 KB
storefront-core/SKILL.md8 KB
Markdown · 87 lines · 847 words · sha 6f2c3e19da5f
Storefront core: Hydrogen 2026.107 lines · 7 numbers
Look up current docs instead of recalling them9 lines
How a request is handled6 lines · 6 numbers
Storefront client and queries5 lines
Caching1 line
Cart1 line
Customer accounts1 line
Analytics1 line
Helpers you now keep in the app6 lines
Tooling1 line
Reference files4 lines
theme-version-update/scripts/check_theme_releases.mjs4 KB
theme-version-update/SKILL.md11 KB
Markdown · 175 lines · 1,633 words · sha b23e63575dd8
Starter theme version update1 line
Background facts4 lines · 9 numbers
Fast look6 lines · 1 number
Phase 1: establish the starting point7 lines · 9 numbers
Phase 2: work on a branch6 lines
Phase 3: make the plan20 lines · 4 numbers
Phase 4: carry it out12 lines · 4 numbers
Phase 5: show that it builds7 lines
Phase 6: wrap up9 lines
Ground rules6 lines · 6 numbers
Easy mistakes5 lines · 2 numbers
Crossing the 2026.10 line14 lines · 16 numbers
Only updating the SDK (`@weaverse/hydrogen`)10 lines · 22 numbers
tracking-and-conversions/references/click-ids-to-orders.md17 KB
Markdown · 283 lines · 2,321 words · sha 19874bb61c44
Getting click ids onto the order (cart attributes)2 lines
Where the identifiers get lost7 lines · 4 numbers
What to copy across6 lines
Every server path that touches the cart must stash100 lines · 6 numbers
Reading the cookies on the server31 lines · 5 numbers
Reading them in the webhook47 lines
Why the browser is the wrong place for this4 lines · 3 numbers
Verifying after a deploy8 lines · 9 numbers
A remaining race: setting the cookie in time9 lines · 5 numbers
tracking-and-conversions/references/csp.md10 KB
Markdown · 153 lines · 1,242 words · sha 69cc0409bb9c
CSP for tracking1 line
Where the CSP comes from on 2026.1012 lines · 1 number
A builder CSP that works37 lines
Reading a violation5 lines
`strict-dynamic` versus a host list8 lines · 6 numbers
Report first, enforce later10 lines · 2 numbers
Shopify's storefront web components34 lines · 2 numbers
tracking-and-conversions/references/full-page-cache.md10 KB
Markdown · 133 lines · 1,394 words · sha 51ddc80eb044
Oxygen full-page cache1 line
What you gain1 line · 3 numbers
Seven conditions, every one required6 lines · 2 numbers
Two things that catch people out32 lines · 9 numbers
Testing it15 lines · 8 numbers
Personal data in the HTML stops this at the root3 lines · 3 numbers
Suggested values per route6 lines · 9 numbers
Keep these out of cacheable HTML5 lines
When to leave it off4 lines · 2 numbers
Headers to read when debugging7 lines · 1 number
tracking-and-conversions/references/gotchas.md18 KB
Markdown · 189 lines · 2,435 words · sha 870442ae79d4
Gotchas: failures seen in production1 line
GTM Preview shows `add_to_cart`, GA4 never receives it1 line · 1 number
GA4 funnel jumps from view_item to purchase3 lines · 1 number
Meta CAPI receives no AddToCart3 lines · 1 number
No view_item on the product page17 lines · 2 numbers
GTM diagnostics: "unsupported tag implementation detected on Sho1 line
Tag Assistant standalone: "0 Google tags found"1 line · 1 number
Meta Purchase counted twice via the Customer Events pixel1 line
Hydrogen and Meta's warning "server event was not deduplicated"29 lines · 2 numbers
Console floods with CSP violations from GTM tags1 line
GA4 MP skip reason `no_client_id`1 line
Full-page cache disabled by `Set-Cookie`1 line · 2 numbers
GTM missing on Shopify Plus checkout4 lines
GTM runs, but is absent from View Source1 line · 1 number
`form_start` in DebugView1 line
`[shopify-account] <shopify-store> custom element is not registe1 line
`PUBLIC_STORE_DOMAIN` is a bare, read-only hostname1 line
Webhook receiver rejects everything with 401 invalid_signature2 lines · 3 numbers
A rotated `GA4_API_SECRET` is not picked up1 line
Webhook purchases arrive without fbp, fbc, gclid or affiliate id2 lines
Only Buy-now orders have empty cart attributes3 lines · 2 numbers
An affiliate script's `POST /cart/update.js` fails13 lines · 11 numbers
A secret was exposed6 lines
tracking-and-conversions/references/gtm-ga4-meta.md21 KB
Markdown · 441 lines · 2,622 words · sha fcd4ea424d0c
GTM, GA4 and Meta CAPI: implementation1 line
1. Loading GTM in the head: consent first, then the tag script39 lines · 3 numbers
2. Bridging the analytics bus into `dataLayer`73 lines · 8 numbers
3. Fire `add_to_cart` and `begin_checkout` in the click handler32 lines · 1 number
4. Minimum GTM container setup46 lines
5. Server forwarder: Meta Conversions API79 lines · 9 numbers
6. Server forwarder: GA4 Measurement Protocol32 lines · 4 numbers
7. `purchase` from the order webhook59 lines · 3 numbers
tracking-and-conversions/references/pipeline.md14 KB
Markdown · 180 lines · 1,881 words · sha 6352971597b7
The tracking pipeline0 lines
Sources of events7 lines · 1 number
Where the code lives18 lines · 1 number
The analytics bus in Hydrogen 2026.108 lines · 1 number
One id, two sends46 lines · 1 number
What each side can observe4 lines
Event ids5 lines
Vendor names for each event21 lines
The audit log14 lines · 1 number
Never put these in a `dataLayer` push3 lines
tracking-and-conversions/references/webhook-forwarding.md9 KB
Markdown · 139 lines · 1,337 words · sha 14f3174619cd
Shopify webhooks through the builder (builder-hosted stores)2 lines · 5 numbers
The problem8 lines · 3 numbers
The fix: the builder forwards and re-signs11 lines · 5 numbers
The forward record1 line · 3 numbers
The API (v1, on the builder)9 lines · 1 number
The request that reaches the store6 lines · 2 numbers
The store's receiver (no special handling)21 lines · 5 numbers
Setting up a store15 lines · 4 numbers
When things fail4 lines · 7 numbers
Security4 lines · 3 numbers
Direct webhooks or forwarding9 lines
tracking-and-conversions/SKILL.md13 KB
Markdown · 122 lines · 1,855 words · sha 62924fd49f64
Tracking and conversions on Hydrogen1 line
When to use it8 lines · 2 numbers
Three layers6 lines
The core pattern: send twice, count once17 lines · 4 numbers
A/B test exposure4 lines
What every Hydrogen tracking build gets wrong7 lines · 7 numbers
Build order10 lines · 10 numbers
Where things go8 lines · 1 number
References9 lines
Live docs8 lines

The text is never on this site. It loads into your Claude when a task needs it.

More skills

ExploreFor creatorsDiscordTermsPrivacy
Not affiliated with Anthropic. Claude is a trademark of Anthropic.
Get early access