I'll write the guide and save a working copy under the eval directory.Here's the complete guide. Saved at `resources/evals/20260826-212643-62e39f5c/shopify-meta-capi/shopify-meta-capi-implementation-guide.md`, and reproduced in full below.
---
# Cedar & Coil — Shopify → Meta Conversion Tracking Implementation Guide
**Scope:** Reliable, privacy-resilient conversion tracking from the Cedar & Coil Shopify store (Arc Clip Lamp, $68 USD) into Meta, ahead of first paid activity.
**Status:** Draft-only. No campaign has launched and no performance data exists. Nothing here should be deployed without the store owner's approval.
**Audience:** A technical marketer with Shopify admin access and the ability to deploy a small server or serverless function.
A note on expectations first: server-side tracking recovers signal that browser-only tracking loses to ad blockers, ITP/ETP cookie limits, and iOS App Tracking Transparency. **This guide does not quantify that recovery.** The honest framing is that Pixel + CAPI is the current best-practice configuration and gives you a measurable, diagnosable pipeline; actual lift is store-specific and only observable after you have your own data.
---
## 1. Recommended architecture
**Send every conversion event twice — once from the browser (Meta Pixel), once from your server (Conversions API) — with a shared `event_id` so Meta collapses the pair into one event.**
```
┌──────────────────────────────┐
Shopify │ Web Pixel (Customer Events │──── Pixel/browser event ───┐
storefront ────▶│ sandbox): ViewContent, │ (event_id: evt_abc) │
+ checkout │ AddToCart, InitiateCheckout, │ │
│ Purchase │ ▼
└──────────────────────────────┘ ┌───────────────┐
│ Meta Events │
┌──────────────────────────────┐ │ Manager │
Shopify order │ Server: orders/create webhook │─ CAPI event ───────▶│ (dedup on │
(source of │ → hash PII → POST /events │ (event_id: evt_abc)│ name+id) │
truth) └──────────────────────────────┘ └───────────────┘
```
### Why the browser Pixel alone is not enough
- **Ad and tracker blockers** prevent `fbevents.js` from loading or firing at all. The event simply never exists.
- **Safari ITP and Firefox ETP** cap client-side cookie lifetimes, shortening the useful life of the `_fbp` browser ID and breaking longer consideration windows — relevant here, because a $68 clip lamp is often a "saw it, thought about it, came back" purchase rather than an impulse buy.
- **iOS ATT and in-app browsers** degrade or drop identifiers.
- **Client-side failure is silent.** A JS error, a slow third-party script, or a user who closes the tab on the thank-you page all produce a missing Purchase with no error anywhere.
### Why the Conversions API alone is not enough
- **You lose the browser identifiers.** `_fbp` and `_fbc` (the click ID cookie derived from `fbclid`) are the strongest non-PII matching signals Meta has, and they only exist in the browser. A server-only setup that doesn't forward them matches noticeably worse.
- **Some events are genuinely browser-native.** ViewContent and AddToCart have no reliable server-side trigger on a standard Shopify store — there is no backend record of a product view.
- **Meta's own tooling assumes both.** Event Match Quality, deduplication diagnostics, and Aggregated Event Measurement setup all presume a redundant setup.
### Why both together is the answer
The two channels fail in different, largely uncorrelated ways. Browser events carry the best identifiers; server events carry the best reliability and the authoritative order data (real order value, real currency, real line items — not whatever the front end thought was in the cart). Sending both and deduplicating gives you the union of coverage with the intersection of accuracy. **Redundancy is the design goal, not a side effect.**
---
## 2. Standard events and their parameters
Send these four. Resist adding more until these four are clean — every extra event is another thing that can silently drift.
Common to all events (both Pixel and CAPI):
| Parameter | Notes |
|---|---|
| `event_name` | Exactly one of the standard names below. Case-sensitive. |
| `event_time` | Unix seconds. Server events must be within 7 days of the actual event; send within minutes for optimization to work well. |
| `event_id` | Your deduplication key. Must be identical across Pixel and CAPI for the same event. See §3. |
| `event_source_url` | The URL where it happened. |
| `action_source` | `website` for all four. |
| `user_data` | Identifiers. Hashed where required — see §4. |
### ViewContent — product detail page view
| Parameter | Value for Cedar & Coil | Required? |
|---|---|---|
| `content_ids` | `["<shopify_variant_id>"]` — variant, not product, if you ever add variants | Yes |
| `content_type` | `"product"` (use `"product_group"` only if you send product-level IDs) | Yes |
| `content_name` | `"Arc Clip Lamp"` | Recommended |
| `content_category` | e.g. `"Lighting > Task Lamps"` | Optional |
| `value` | `68.00` | Recommended |
| `currency` | `"USD"` | Required if `value` is sent |
**Critical:** `content_ids` must match the IDs in your Meta product catalog exactly, or dynamic ads and catalog attribution break. On Shopify with the Meta sales channel, catalog IDs are usually the variant ID, sometimes prefixed (e.g. `shopify_US_<product_id>_<variant_id>`). Verify the actual format in Commerce Manager before hardcoding anything.
### AddToCart
| Parameter | Value | Required? |
|---|---|---|
| `content_ids` | `["<variant_id>"]` | Yes |
| `content_type` | `"product"` | Yes |
| `contents` | `[{"id": "<variant_id>", "quantity": 1, "item_price": 68.00}]` | Recommended |
| `value` | Line value added, e.g. `68.00` | Recommended |
| `currency` | `"USD"` | Required with `value` |
Use either `content_ids` or `contents` consistently; `contents` gives you quantity and price, which matters as soon as someone adds two lamps.
### InitiateCheckout
| Parameter | Value | Required? |
|---|---|---|
| `content_ids` | All variant IDs in the cart | Yes |
| `contents` | Array with `id`, `quantity`, `item_price` per line | Recommended |
| `num_items` | Total units in cart | Recommended |
| `value` | Cart subtotal | Recommended |
| `currency` | `"USD"` | Required with `value` |
### Purchase — the one that must be perfect
| Parameter | Value | Required? |
|---|---|---|
| `value` | **Required.** Order total as a number, e.g. `68.00`. Never a string, never `"$68.00"`, never with thousands separators. | Yes |
| `currency` | **Required.** ISO 4217, `"USD"`. | Yes |
| `content_ids` | **Required for catalog attribution.** Array of purchased variant IDs, catalog-matching format. | Yes |
| `content_type` | `"product"` | Yes |
| `contents` | `[{"id": "...", "quantity": 1, "item_price": 68.00}]` | Strongly recommended |
| `num_items` | Total units | Recommended |
| `order_id` | Shopify order ID — enables Meta-side duplicate-order suppression and reconciliation | Strongly recommended |
**Decide and document one `value` convention and never change it mid-flight.** Realistic options: (a) product subtotal only, (b) subtotal + shipping, (c) full order total including tax and shipping. Any is defensible; mixing them corrupts ROAS. For a single-SKU DTC store I recommend **subtotal excluding shipping and tax** — it reflects product demand and stays stable if you later change shipping rules. Whatever you choose, write it down in the store's tracking notes.
**Refunds:** Meta has no standard refund event. If returns become material, handle them in your own reporting rather than by sending negative-value Purchases.
---
## 3. How deduplication actually works
**Meta deduplicates when two events share the same `event_name` AND the same `event_id`.** Both must match. That is the whole mechanism.
Details that matter in practice:
1. **The window is 48 hours.** If the browser event and server event arrive more than 48 hours apart, Meta treats them as two conversions and your numbers inflate. In practice both should arrive within seconds — so this is a safety margin, not a design constraint. But it does mean a retry queue that backs up for two days will double-count.
2. **First one wins.** Whichever event arrives first is kept; the later duplicate is dropped. Usually that's the browser event. That's a real argument for making your **server** event as data-complete as possible anyway, since you can't reliably predict which one Meta keeps, and the retained event's parameters are the ones used.
3. **The ID must be generated once and shared.** Do not generate it independently on each side.
4. **Format is your choice, but must be deterministic per event.** Don't use a random UUID generated separately per channel.
### Recommended `event_id` scheme for Cedar & Coil
| Event | `event_id` |
|---|---|
| Purchase | `purchase_<shopify_order_id>` — deterministic, available in both the checkout pixel context and the `orders/create` webhook. This is the important one and the one that's easy to get right. |
| InitiateCheckout | `ic_<checkout_token>` |
| AddToCart | `atc_<uuid generated in browser>` — browser-only in practice, no coordination needed |
| ViewContent | `vc_<uuid generated in browser>` — browser-only |
The Purchase case is the one where the two sides genuinely have to agree, and Shopify's order ID makes that clean: the Web Pixel sandbox gets it from `event.data.checkout.order.id`, and the webhook payload has it as `id`. Same string, both sides, no coordination service needed.
**Also send `fbp` and `fbc` on the server event.** Deduplication is not matching. Even after a server event is deduplicated away, forwarding those cookies means that if the browser event is the one that gets blocked, your surviving server event still carries strong identifiers.
### Verifying dedup is working
Events Manager → your dataset → **Overview** shows the share of events received from both browser and server, and Meta flags suspected duplicates. If your Purchase count roughly doubles the day you switch CAPI on, your `event_id` values aren't matching — check for type coercion (numeric vs string order IDs) and prefix mismatches first.
---
## 4. Preparing customer information for server-side sending
Server events carry `user_data`. **Everything that can identify a person must be SHA-256 hashed before it leaves your server.** Meta will reject or silently fail to match improperly prepared fields, and sending raw PII is both a policy violation and a legal exposure.
### Normalize first, then hash. Order matters.
Universal rules: trim whitespace, lowercase, then SHA-256, then hex-encode (lowercase hex).
| Field | Key | Normalization before hashing |
|---|---|---|
| Email | `em` | Trim, lowercase. Do not strip Gmail dots or `+tags`. |
| Phone | `ph` | Digits only, with country code, **no leading `+`**, no spaces/dashes/parens. `(415) 555-0142` US → `14155550142`. |
| First name | `fn` | Trim, lowercase, letters only (strip punctuation). UTF-8. |
| Last name | `ln` | Same as first name. |
| City | `ct` | Trim, lowercase, remove spaces and punctuation. `"San Francisco"` → `sanfrancisco`. |
| State/Province | `st` | Two-letter lowercase code. `"California"` → `ca`. |
| ZIP | `zp` | Trim, lowercase; US → first 5 digits only. |
| Country | `country` | Two-letter lowercase ISO 3166-1 alpha-2. `us`. |
| Date of birth | `db` | `YYYYMMDD`. Not applicable to Cedar & Coil — don't collect it. |
| Gender | `ge` | `f` or `m`. Not applicable — don't collect it. |
| External ID | `external_id` | Your stable customer identifier (Shopify customer ID). Hash it. Be consistent forever. |
### Fields that must NOT be hashed
| Field | Key | Source |
|---|---|---|
| Click ID | `fbc` | The `_fbc` cookie, or construct from `fbclid`: `fb.1.<timestamp_ms>.<fbclid>` |
| Browser ID | `fbp` | The `_fbp` cookie, verbatim |
| IP address | `client_ip_address` | The end user's IP — **not your server's IP**. Behind Cloudflare/Shopify, read `CF-Connecting-IP` or the first entry of `X-Forwarded-For`. |
| User agent | `client_user_agent` | The end user's browser UA — **not your HTTP client's** |
Getting `client_ip_address` and `client_user_agent` wrong is the single most common cause of poor Event Match Quality in a custom build: a naive implementation sends the server's own IP and `node-fetch/1.0` for every event, and every customer looks like the same person.
### Practical guidance
- **Send as many fields as you legitimately have.** Match quality improves with more fields, and Shopify's order payload gives you email, phone, name, and full address at Purchase time for free.
- **Never fabricate or infer.** If a guest checkout has no phone, omit `ph` — don't send an empty string or a placeholder hash.
- **Hash server-side only.** Hashing in the browser and posting the hash to your server isn't meaningfully safer and adds a failure mode.
- **Watch Event Match Quality** per event. Purchase should score highest since you have the most data there. A low Purchase EMQ almost always means missing `fbp`/`fbc` or bad IP/UA.
- **Never log raw PII** in function logs, error handlers, or an APM tool. Hash before anything is written anywhere.
---
## 5. Shopify setup path
### Option A — Native Meta sales channel app
**What it is:** Shopify's first-party Meta integration. Install the Facebook & Instagram app, connect the Business account and dataset, set customer data sharing to **Maximum**, which enables Shopify's managed Conversions API.
| Pros | Cons |
|---|---|
| Zero code, ~30 minutes end to end | Little control over event payloads or custom parameters |
| Pixel + CAPI + deduplication handled and maintained by Shopify | Event set is fixed; can't add custom events |
| Survives Shopify checkout changes (Checkout Extensibility, `checkout.liquid` deprecation) automatically | `value` convention is Shopify's, not yours |
| Product catalog sync included — keeps `content_ids` aligned for free | Debugging is more opaque when something is off |
| Domain verification and AEM guided in-flow | Tied to the app's release cadence |
### Option B — Custom implementation
**What it is:** A **custom Web Pixel** (Settings → Customer events) for browser events, plus your own server endpoint receiving the `orders/create` webhook and posting to the Conversions API.
| Pros | Cons |
|---|---|
| Full control of parameters, `value` convention, custom events | You own hashing, retries, secret rotation, API version upgrades |
| Can enrich from other systems (CRM, subscription, offline) | You must maintain a server or serverless function |
| Transparent and debuggable — it's your code | You must keep `content_ids` matched to the catalog yourself |
| Not blocked by app limitations | Real risk of double-counting if `event_id` drifts |
**Important constraint either way:** With Checkout Extensibility, `checkout.liquid` script injection is deprecated. Custom browser tracking must go through the **Web Pixels API sandbox** (Settings → Customer events → Add custom pixel) — a sandboxed worker with no DOM access. Plan for that; don't plan around theme file edits.
### Recommendation for Cedar & Coil
**Start with Option A — the native Meta sales channel with Maximum data sharing.**
Reasoning: a single-SKU, pre-launch DTC store gets essentially all the benefit of CAPI with none of the maintenance burden, and Shopify handles the deduplication and the checkout-extensibility migration that would otherwise be ongoing work. Catalog sync alone is worth it — it keeps `content_ids` consistent with the Meta catalog, which is the failure mode most likely to quietly break attribution on a custom build.
**Add a custom layer only when a concrete need appears:** you want a `value` convention Shopify doesn't produce, you need offline or phone-order conversions, or Purchase Event Match Quality is poor and you've confirmed the native app is the constraint. At that point the clean pattern is native app for browser events plus your own webhook-driven server Purchase, sharing `purchase_<order_id>` as the `event_id`.
If you do go custom on day one, the sketch below is the shape of it.
### Code sketch — server-side Purchase from a Shopify `orders/create` webhook
Illustrative Node.js. Not production code: no persistence, no retry queue, minimal error handling.
```js
import crypto from "node:crypto";
import express from "express";
const app = express();
const PIXEL_ID = process.env.META_PIXEL_ID;
const ACCESS_TOKEN = process.env.META_CAPI_ACCESS_TOKEN; // system user token, server-only
const SHOPIFY_SECRET = process.env.SHOPIFY_WEBHOOK_SECRET;
const API_VERSION = "v21.0";
const TEST_EVENT_CODE = process.env.META_TEST_EVENT_CODE; // set during validation, unset for production
// --- normalize + hash -------------------------------------------------------
const sha256 = (v) => crypto.createHash("sha256").update(v, "utf8").digest("hex");
const hashEmail = (v) => (v ? sha256(String(v).trim().toLowerCase()) : undefined);
const hashName = (v) => (v ? sha256(String(v).trim().toLowerCase().replace(/[^\p{L}]/gu, "")) : undefined);
const hashPhone = (v) => {
if (!v) return undefined;
const digits = String(v).replace(/\D/g, ""); // assumes country code already present
return digits ? sha256(digits) : undefined;
};
const hashZip = (v) => (v ? sha256(String(v).trim().toLowerCase().slice(0, 5)) : undefined);
const hashCity = (v) => (v ? sha256(String(v).trim().toLowerCase().replace(/\s/g, "")) : undefined);
const hashCode = (v) => (v ? sha256(String(v).trim().toLowerCase()) : undefined);
const compact = (obj) =>
Object.fromEntries(Object.entries(obj).filter(([, v]) => v !== undefined && v !== null && v !== ""));
// --- webhook authenticity (raw body required) -------------------------------
function verifyShopifyHmac(req) {
const sent = req.get("X-Shopify-Hmac-Sha256") || "";
const computed = crypto.createHmac("sha256", SHOPIFY_SECRET).update(req.body).digest("base64");
const a = Buffer.from(sent), b = Buffer.from(computed);
return a.length === b.length && crypto.timingSafeEqual(a, b);
}
app.post("/webhooks/shopify/orders-create",
express.raw({ type: "application/json" }),
async (req, res) => {
if (!verifyShopifyHmac(req)) return res.sendStatus(401);
res.sendStatus(200); // ack fast; Shopify times out at ~5s
const order = JSON.parse(req.body.toString("utf8"));
const addr = order.billing_address || order.shipping_address || {};
// fbp / fbc / IP / UA are browser-only. Capture them on the storefront and
// stash them in cart attributes or order note_attributes so they arrive here.
const attrs = Object.fromEntries(
(order.note_attributes || []).map((a) => [a.name, a.value])
);
const payload = {
data: [
{
event_name: "Purchase",
event_time: Math.floor(new Date(order.created_at).getTime() / 1000),
// MUST match the browser Purchase event_id exactly
event_id: `purchase_${order.id}`,
event_source_url: attrs._checkout_url || "https://cedarandcoil.example/checkout",
action_source: "website",
user_data: compact({
em: hashEmail(order.email || order.customer?.email),
ph: hashPhone(order.phone || order.customer?.phone || addr.phone),
fn: hashName(addr.first_name || order.customer?.first_name),
ln: hashName(addr.last_name || order.customer?.last_name),
ct: hashCity(addr.city),
st: hashCode(addr.province_code),
zp: hashZip(addr.zip),
country: hashCode(addr.country_code),
external_id: order.customer?.id ? sha256(String(order.customer.id)) : undefined,
// NOT hashed — forwarded verbatim from the browser
fbp: attrs._fbp,
fbc: attrs._fbc,
client_ip_address: attrs._client_ip,
client_user_agent: attrs._client_ua,
}),
custom_data: {
currency: order.currency, // "USD"
value: Number(order.subtotal_price), // documented convention: subtotal, ex shipping/tax
content_type: "product",
content_ids: order.line_items.map((li) => String(li.variant_id)),
contents: order.line_items.map((li) => ({
id: String(li.variant_id),
quantity: li.quantity,
item_price: Number(li.price),
})),
num_items: order.line_items.reduce((n, li) => n + li.quantity, 0),
order_id: String(order.id),
},
},
],
...(TEST_EVENT_CODE ? { test_event_code: TEST_EVENT_CODE } : {}),
};
try {
const r = await fetch(
`https://graph.facebook.com/${API_VERSION}/${PIXEL_ID}/events?access_token=${ACCESS_TOKEN}`,
{
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify(payload),
}
);
const body = await r.json();
if (!r.ok) {
// Do not blind-retry validation/auth errors; queue only 5xx and network failures.
console.error("CAPI rejected", r.status, body); // never log raw PII
}
} catch (err) {
console.error("CAPI transport failure", err.message);
// enqueue for bounded retry — but stay inside the 48h dedup window
}
}
);
```
Notes on the sketch:
- **Raw body before JSON parsing** — HMAC verification fails otherwise. This trips up most first implementations.
- **`content_ids` uses `variant_id` as a string.** Confirm this matches your Meta catalog IDs; if the catalog uses `shopify_US_<product>_<variant>`, map to that instead.
- **`fbp`/`fbc`/IP/UA come from the browser.** The pattern above stashes them into cart attributes from the storefront. Without them your match quality will be materially worse.
- **The access token is a Business system-user token.** Server-side only, in a secret manager, never in theme code or a client bundle, rotated on schedule.
- **Idempotency:** Shopify can deliver a webhook more than once. The shared `event_id` protects you inside Meta's 48-hour window, but keep a short-lived record of processed order IDs anyway.
---
## 6. End-to-end validation before scaling spend
Do all of this before meaningful budget goes live. Debugging attribution after you've spent money is significantly harder.
**Step 1 — Test Events (real-time, isolated).** Events Manager → your dataset → **Test Events**. Copy the `test_event_code`, include it in the CAPI payload, open the store with the browser test tool active.
- Walk the full funnel: product page → add to cart → checkout → complete a **real test order** (discount to near zero, then cancel and refund).
- Confirm all four events appear.
- Confirm each appears **once**, labeled as received from both Browser and Server. Two separate rows for the same event = broken deduplication. Fix before continuing.
- **Remove `test_event_code` before production.** Events sent with it don't count toward optimization or reporting.
**Step 2 — Payload inspection.** For each event verify:
- `value` is a number, `currency` is `"USD"`.
- `content_ids` on Purchase are present and match Commerce Manager catalog IDs. Cross-check one by hand.
- `event_id` on the Purchase pair is byte-identical between browser and server (numeric `123` vs string `"123"` will not match).
- `user_data` hashes are 64-char lowercase hex, and `fbp`/`fbc`/IP/UA are **not** hashed.
**Step 3 — Meta Pixel Helper.** Browser extension on the live storefront. Confirms the Pixel fires, the correct dataset ID is used, and there are no duplicate pixel installs — a second forgotten pixel from a theme or app is a classic source of doubled numbers.
**Step 4 — Diagnostics and match quality.** Events Manager → **Diagnostics**: work every warning to zero, especially missing required parameters, mismatched catalog IDs, and duplicate-event warnings. Then **Event Match Quality** per event, Purchase specifically. Low Purchase EMQ points at missing `fbp`/`fbc` or wrong IP/UA before anything else.
**Step 5 — Reconciliation over a real window.** For the first 7–14 days live, compare **Shopify order count and revenue** against **Meta-reported Purchase count and value** for the same date range in the same timezone.
- Expect Meta ≤ Shopify — Meta only reports what it can attribute, and click/view windows differ from order timestamps.
- Meta **exceeding** Shopify order count is a red flag: duplicate events, a second pixel, or a broken `event_id`. Stop and fix.
- Watch for missing days — a gap usually means webhook delivery failures.
**Step 6 — Infrastructure checks.**
- Domain verified in Business Manager (Brand Safety → Domains).
- **Aggregated Event Measurement** configured: your 8 web events prioritized, **Purchase ranked first**. Required for iOS attribution and easy to forget.
- Webhook endpoint monitored — alert on non-200s and on Shopify's webhook failure notifications.
- Confirm CAPI events arrive within minutes of the order, not hours.
**Step 7 — Only then scale.** Hold spend low until Purchase events are clean, deduplicated, and reconciling against Shopify. A learning phase trained on broken conversion data is expensive to undo.
---
## 7. Consent and compliance
This is a legal question, not just a technical one. Cedar & Coil should have counsel review the final configuration; this is implementation guidance, not legal advice.
**Consent must gate tracking, not follow it.**
- Use Shopify's **Customer Privacy API** and the built-in consent banner (or a certified CMP) to check consent before firing marketing events. In a custom Web Pixel, subscribe to consent state and suppress events when marketing consent is absent or withdrawn.
- **Server-side sending is not a consent loophole.** If a user declined tracking, do not send the CAPI event either. Routing around a refusal through the back end is precisely what regulators are looking for.
- Honor Global Privacy Control signals where they apply.
**Regional obligations.**
- **GDPR/ePrivacy (EU/UK):** opt-in required before non-essential tracking. Shopify's consent settings can enforce region-specific behavior — configure it rather than assuming a global default is fine.
- **CCPA/CPRA and similar US state laws:** support opt-out of sale/sharing. Use Meta's **Limited Data Use** flag (`data_processing_options: ["LDU"]` with `data_processing_options_country` / `data_processing_options_state`) for users who have opted out.
- **Shopify's data-sharing levels** (Standard / Enhanced / Maximum) interact with the above. Maximum enables CAPI but broadens what's shared — confirm your privacy policy accurately describes it.
**Data handling.**
- Hash all PII before transmission (§4); never log raw PII anywhere — app logs, error trackers, or analytics.
- Do not send special-category data. For Cedar & Coil there's no reason to collect date of birth or gender; don't.
- Keep the CAPI access token in a secret manager, server-side only, with scheduled rotation.
- Meta's Business Tools Terms prohibit sending health, financial-account, and other sensitive categories. Not a concern for a task lamp, but the policy applies regardless.
**Disclosure.**
- The privacy policy must disclose Meta as a recipient, describe the data shared, name the purposes (advertising measurement and optimization), and explain how to opt out. Update it as part of this work, not afterwards.
- Keep a dated written record of the consent configuration and data-sharing level. If it's ever questioned, "we configured it correctly on this date" beats reconstruction.
---
## Summary checklist
- [ ] Install Meta sales channel; set data sharing to **Maximum**
- [ ] Verify domain in Business Manager
- [ ] Configure Aggregated Event Measurement, Purchase ranked first
- [ ] Confirm ViewContent, AddToCart, InitiateCheckout, Purchase all fire
- [ ] Confirm each shows as **one** event from both browser and server
- [ ] Confirm Purchase carries `value`, `currency`, `content_ids`, `order_id`
- [ ] Confirm `content_ids` match the Meta catalog exactly
- [ ] Check Event Match Quality on Purchase
- [ ] Clear all Diagnostics warnings
- [ ] Remove `test_event_code`
- [ ] Configure consent gating for the store's operating regions
- [ ] Update the privacy policy
- [ ] Reconcile Meta vs Shopify for 7–14 days before scaling
---
Two things worth flagging: I deliberately avoided any attribution-recovery percentage, since no campaign has run and no data exists for this store — §1 and §6 frame the benefit as coverage and diagnosability instead. And the `value` convention decision in §2 is the one call I'd want the store owner to confirm explicitly before implementation, because it's cheap to set now and expensive to change later.
Files saved:
- [Open shopify-meta-capi-implementation-guide.md](magister-file://resources/evals/20260826-212643-62e39f5c/shopify-meta-capi/shopify-meta-capi-implementation-guide.md)