Skinscience — Brand Database (BRAND.md)
The single source of truth for every durable fact about this brand. Any note David sends
(inventory, suppliers, accounts, contacts, decisions) is filed HERE the same turn it arrives —
before any context compaction. Memory files only POINT here. Never store secrets (tokens, keys,
passwords): reference the env file that holds them. Keep entries dated. Hub renders this file.
0 · Identity & entities
| Field | Value |
| Legal entity / owner | TO FILL |
| Key people & roles | TO FILL |
| Support email / phone | TO FILL |
| Brand relationship | TO FILL (own brand / client / partner) |
1 · Products & SKUs
| Code | Product | Size / format | UPC | Formula / spec source | Supplier |
| TO FILL |
2 · Inventory & supply chain
| SKU | Units on hand | Location / 3PL | Lot / mfg date | Shelf life | COGS (landed) | MOQ / reorder lead time | Updated |
| TO FILL |
Notes: TO FILL (fulfillment partner, shipping SLA, packaging on hand — sample packs, inserts).
3 · Offer & pricing (locked)
TO FILL — retail, compare-at, tiers, subscription, guarantee, OTO chain, shipping policy, launch code.
4 · Accounts & IDs (no secrets)
| System | ID / handle | Notes |
| Domain(s) / DNS | TO FILL | |
| Netlify site (id · team) | TO FILL | |
| 29next store / campaign | TO FILL | |
| Meta BM · ad account · pixel | TO FILL | CAPI token → env file only |
| GA4 property · measurement id · GTM | TO FILL | |
| Klaviyo org | TO FILL | |
| adscalerads client · Airtable base | TO FILL | |
| Cookie / event prefix | TO FILL |
5 · Compliance ceiling
TO FILL — category rules, banned words file, reviewer rulings, disclaimer form.
6 · Decisions & taste log (dated, David's verdicts = ground truth)
- 2026-09-14 — Guarantee law (David 2026-09-14: 'make sure all of the brands use a 30-Day Money Back Guarantee across the board'): SkinScience moves from the 60-day satisfaction/results guarantee (PDPs, home, collection, refunds policy, 5-reasons/investigation/top-5 prelanders) and the 90-day satisfaction guarantee residue on the five checkouts (nailscience 90d.webp seal) to the 30-Day Money-Back Guarantee, 30-day window everywhere (refunds §1 = thirty (30) calendar days of delivery). Results timelines (day 30–60 remission, day-60 full fade, 90-day B/A alts) are NOT the guarantee and stay. Top-5 rankings drop the 'longest in this ranking' / 'outlasts the 30-day protocol' / 'twice the time' claims that only held at 60 days.
- 2026-09-02 — BRAND.md created.
- 2026-09-28 — No price on the Add To Cart button (David: "please remove the price from the add to cart buttons across all pdps and brands"): the button says "Add To Cart" (was "Add To Cart — $69.99"); the trial row's button says "Try It for Free"; the ?ob=c Buy One button says "Buy One". The price lives in the rows, the sticky bar's price stays hidden (09-27). Applied on the five PDP pages (keratolyse, dermalyse, eczemolyse, bronze-chews, melanolyse); deployed the same day.
7 · Asset map
TO FILL — raw vault, official logos/wordmarks, packaging files, photography, UGC, boards, Visual DNA.
8 · Live surfaces
TO FILL — PDP, home, checkout, hub workspace, boards, console lane, docs pages.
- Copy sheet (2026-10-28, David: every headline and primary-text idea judged on one spreadsheet-style grid, on every brand — copy law CL-23): https://copy-sheet-hq.netlify.app/skinscience/ — no rows yet, the first copy round lands here;
python3 tools/angle-studio/copysheet.py build --brand skinscience --auto·verdictsfolds the 👍 / 👎 intobriefs/skinscience/copy/. · since 2026-10-30 the brand's page on Copy Sheet HQ carries every tab: angles · hooks · hook buckets · ad headlines · ad primary text · email subject lines · the truth gate · every verdict list (the Launch Center's grids and card views retired behind redirects)
9 · Open questions / asks
TO FILL
10 · Change log
- 2026-11-02 — order line under the checkout button (David, from the NailScience board, "for all checkouts … under the checkout button is the order summary, but it would just say the Item/ea price" → lane "B"): a light-grey "Your order" card right under Complete Purchase with the cart's item and its price each, from
tools/checkout_order_line.py(reads the 29next cart; hidden until the cart holds a product; add-ons such as Shipping Protection left out; no MutationObserver, no motion). All five checkouts (keratolyse, melanolyse, eczemolyse, dermalyse, bronze-chews), card only; units = the store's package quantity ("Moderate · $23.33/ea" = $69.99 / 3). Proved over the live origin (the draft URL can't load the cart — the campaign allows byskinscience.com only), then production 6/6 PASS. The Item / Amount table stays further down. - 2026-09-17 — Toml redirects were dead on byskinscience.com (
/keratolyseand the other 32 pretty/legacy rules 404'd —netlify deploy --dir <staged temp dir>ignores netlify.toml)._redirectsgenerated from the toml (tools/netlify_toml_to_files.py products/skinscience), deployed viatools/deploy-skinscience.sh;/keratolyse301s again. Law in CLAUDE.md. - 2026-09-14 — 30-Day Money-Back Guarantee sweep: 5 PDPs + 5 checkouts (30d.webp seal copied from template/checkout/02, alt + copy repointed; hidden group-1.png shield left) + home + collection + pages/refunds.html + 15 prelanders (kera-guarantee-30.webp and bronze-trust-30.webp regenerated at source size, old files kept); blog mirrors re-synced from the prelander sources (blogs/journal + the legacy /blog/ copies that were stale since 2026-07-30 and are not in tools/sync-blog-mirrors.sh). Deployed: tools/deploy-skinscience.sh → byskinscience.com (hygiene PASS, deploy 6aa8d502514ae3f696830db4) and tools/deploy-health-report.sh → thehealthreportdaily.com (hygiene PASS). Live residue grep on home, all PDPs, checkouts, refunds, journal + blog mirrors and the 10 hub prelanders = 30-day forms only. Open: prelanders/the-dermatology-report/* (SS-P16–P19, 12 hits of 60-day) were outside this sweep's write scope and still ship 60-day on the hub.
- 2026-09-02 — created from template + imported 4 memory file(s) as the starting record.
Imported status record (2026-09-02) — distribute these facts into the sections above as the brand is touched
From memory melanolyse_ad_angles.md
Ad-angle bank for Melanolyse (SS-02, hyperpigmentation) — feed these into the first Melanolyse shot list.
1. Spots-spell-a-word (David, 2026-07-06 — verbatim: "spell a word on face with dark spots or on her chest")
STATUS: registered as image-framework spots-spell-a-word in creative/dashboard/image-frameworks.json (2026-07-11, 15th entry, hero = Melanolyse R1 FW-1 "PCOS" cheek) — pull it from the library for future rounds, don't re-improvise the prompt.
Dark spots/hyperpigmentation arranged so they spell a word on the face or on her chest — the condition itself becomes the typography. The hyperpig cousin of the proven [[handwriting-on-skin-ugc]] framework (6/8 keep, BronzeChews R1), but the WRITING is made of the dark spots rather than marker: uncanny/weird-first (matches the universal "not weird enough" kill signal), a double-take composition, and inherently on-mechanism (the product fades exactly what's spelling the word).
- Execution notes for the shot list: photoreal woman, face or upper chest/décolletage; spots clustered into legible short-word lettering (e.g. "WHY", "PCOS", "FADE", "AGE?") — keep the word 3-5 letters for legibility at thumbnail; the surrounding skin otherwise clear so the lettering pops; containment rule applies (spots = pigment, not lesions/gore).
- Variants: (a) face — cheek/forehead spelling; (b) chest/décolletage spelling (more canvas, sun-damage-native zone); (c) before/after where the word fades with the spots.
2. PCOS × body-hyperpig (validated by the 2026-07-06 sweep — the P4 prelander thesis)
The three biggest keywords of the Melanolyse competitor sweep were exactly this intersection: PCOS 89 · dark inner thighs 89 · dark neck 80 (underarms 17; body trio = 186 raw advertisers) while face-serum brands ignore the body zones. Acanthosis-nigricans vernacular ("dark neck", "dark inner thighs") is the pain language. Try Strawberry is the only major comp on it, scaling "PCOS makes hyperpigmentation 3x harder to treat due to insulin resistance" (2x variants). See sweep provenance ads/research/hyperpigmentation/sweep-report-r1.json + library creative/skinscience-hyperpig-swipe/.
3. Scaled hooks observed in the niche (from tier-1/2 of the sweep)
- Derm-defiance story: Primals Life 6x — "The dermatologist told me I'd probably need Accutane. I held off…" (pairs with the Doctor's-Investigation prelander architecture).
- Ingredient-wave price anchor: kojic acid is ingredient-led not brand-led (keyword 45 advertisers vs Kojie San 1); scaled rider at "$14 for 2 bars".
Related: [[jt_ad_pipeline_skill]], [[judgement_and_taste_principle]], [[doctors_investigation_cdc_nih_rule]].
From memory skinscience_checkout_status.md
SkinScience Checkouts + byskinscience.com Consolidation Status
2026-06-03: ALL 5 SkinScience checkouts LIVE on one domain (byskinscience.com), functional-first.
Commits 9bcaa105→db5ea357 (keratolyse) + cecca783 (consolidation) + d794f4b3 (other 4).
The single-site model (David, 2026-06-03)
byskinscience.com serves the WHOLE brand from ONE Netlify site
skinscience (id 9f0fc061-ac75-4a3a-adcd-704514dc3be5, custom_domain
byskinscience.com). Deploy = publish products/skinscience/ so every
product is a path subfolder. NO proxy, NO per-product sites.
byskinscience.com/→products/skinscience/index.html(staging product index — NOT the brand hub, that's pending)byskinscience.com/<product>/→ 5 PDPsbyskinscience.com/<product>/checkout/→ 5 checkoutsbyskinscience.com/<product>/thank-you/→ post-purchase- Parent config:
products/skinscience/netlify.toml(publish=".", functions=../../shared/functions, pretty_urls). Per-product netlify.toml files are now INERT. - Deploy cmd:
cd products/skinscience && netlify deploy --prod --site=9f0fc061-ac75-4a3a-adcd-704514dc3be5 --dir=. --functions=../../shared/functions - All internal links are RELATIVE (PDP→
checkout/, checkout→../assets/../tracking/../thank-you/) so they resolve under the/<product>/prefix AND on the legacy per-product sites.
5 legacy per-product Netlify sites are now REDUNDANT (no custom domains, only .netlify.app). David PAUSED them 2026-06-03 (not deleted — reversible, builds stopped). IDs if ever needed: skinscience-keratolyse 7df183e9-…, -melanolyse 946b3c99-…, -eczemolyse e35d3cce-…, -dermalyse cc035f3f-…, -bronze-chews bbf209c8-…. KEEP 9f0fc061 (byskinscience.com).
29next "Skin Science 2" campaign — package map
ONE shared campaign, public key stH8gNgcvXaLcZzzYUK15n8VodciCFfyuqsITBgd.
CORS whitelisted for https://byskinscience.com (verified). 15 packages = 5 products × 3 bundle tiers:
| Product | Code | Mild/1× | Mod/3× (PDP ?pkg=) | Full/5× | condition |
| keratolyse | SS-01 | 5 | 6 | 7 | KP / texture |
| melanolyse | SS-02 | 8 | 9 | 10 | hyperpigmentation |
| eczemolyse | SS-03 | 11 | 12 | 13 | eczema |
| dermalyse | SS-04 | 14 | 15 | 16 | micro-infusion device (vials) |
| bronze-chews | SS-05 | 17 | 18 | 19 | tanning chews |
Bundle names: SS-01..04 = "Mild Issue / Moderate / Full Treatment"; bronze = "Light Tan / Medium Tan / Dark Tan" (different — pkg names 17/18/19). All $34.99 / $23.33-ea / $20.99-ea, retail $59.99.
OTOs LIVE (2026-06-03, commits ba0338fa+f31ec51c): David created 10 OTO packages (VIP 20-24 $17.49+$9.99/mo, Extra Strength Upgrade 25-29 $11.99 — one per product). All 5 funnels now: checkout → special-offer/vip (VIP pkg) → special-offer/upgrade (Extra Strength pkg) → thank-you. Built from template/upsells/ghost-upgrade (clean placeholder fill), relative routing (checkout next-next-url→../special-offer/vip/; vip→../upgrade/; ES→../../thank-you/), SS attribution stubs (0 NS pixel). VIP copy=membership-generic; ES copy=condition-rewritten per product. NO OTO 3 yet (David scoped OTO 1+2 only).
The checkout replication recipe (reusable for future SkinScience SKUs)
Checkouts were cloned from the NailScience checkout (cleanest base w/ all session fixes), then keratolyse was hand-built as the template, then the other 4 replicated. Per-product recipe:
1. cp -R keratolyse/checkout <product>/checkout && cp -R keratolyse/thank-you <product>/thank-you
2. perl on checkout/index.html: data-next-package-id="5|6|7" → product band; preselect ^[567]$ → ^(N|N|N)$ + PKG_INFO keys; Keratolyse→Product, keratolyse→product, SS-01→formula; showcase image ../assets/ss-01-bundle-6.png→product shot (placeholder.svg if no render); eyebrow/subtitle/feature-chip swaps.
3. perl on thank-you: Keratolyse→Product, SS-01→formula.
4. perl on PDP: href="/checkout/→href="checkout/" (6 links).
5. Hand-edit the 3 testimonials → condition-specific (KP/hyperpigment/eczema/firming/tanning).
6. Verify: 0 NailScience, 0 NS pixel, correct band, coupon hook, config.js node --check.
Traps codified (each bit during this build)
- ATTRIBUTION HYGIENE (critical): the NailScience checkout clone carried NS's LIVE Meta pixel
1341229411229569+ GTM-P9MSJBP7 + ns-attribution.js. A SkinScience checkout firing NS's pixel CORRUPTS NailScience conversion data. MUST neutralize → SS Phase-1 stubs (SKINSCIENCE-PIXEL-ID/GTM-XXXXXXXX/ss-attribution.js/SS_TRACKING) mirroring the PDP. Grep1341229411229569|GTM-P9MSJBP7|ns-attributionmust = 0 before deploy. - NS bump pkg-id collision: NS shipping-protection bump was
data-next-package-id="6"— collides with keratolyse's Moderate bundle (also 6). SS has no bump package → removed the bump block entirely. - Placeholder images: melanolyse + eczemolyse PDPs use
placeholder.svg(product shots not rendered yet) → checkouts use it too. dermalyse=ss04-hero-3q.jpg, bronze=01-hero-3q.jpghave real shots. Avatarsav-*shared across all products. - Relative-link discipline: root-relative
/checkout/trackingbreak under the subfolder model. Everything must be relative. - 🔴 PARAM-FORWARDER + SUBFOLDER (chain-breaker, caught 2026-06-03 via browser CTA test): the UTM param-forwarder (checkout + every OTO page) resolved relative hrefs with
new URL(href, location.origin)— base = bare domain, NOT the page path. So../upgrade/on /bronze-chews/special-offer/vip/ resolved to /upgrade/ (404). Only fires WHEN A QUERY STRING IS PRESENT (forwarder early-returns on no-params) — which is ALWAYS in production (checkout carries ?pkg=, OTOs carry forwarded UTMs). Static curl + no-param browser loads MISS it. Fix:new URL(href, location.href)(resolve against the page). Applied to all 10 OTO + 5 checkout forwarders. When testing CTAs under a subfolder, ALWAYS load with a ?param to trigger the forwarder. Also fixed same session: bronze preselect PKG_INFO keys stuck at 5/6/7 (title-swap clobbered key-swap); PDP syncCheckoutLinks() built root-relative/checkout/?pkg=; OTO CTAs doubled "Yes, Yes," / "No thanks, No thanks," (template prepends + fill repeated). - byskinscience apex: orphan "Clinical Peptide Serum" placeholder was deployed from outside the repo — replaced with a simple
products/skinscience/index.htmlproduct index (brand hub still pending). Capturing the old apex was skipped (not worth it; it was an abandoned placeholder). - Recurring: stash inflight creative (
git stash push --include-untracked -- creative/ tools/jt/) before each rebase — a background creative process keeps writing assets into this worktree.
Tracking still Phase-1 stub
All SkinScience tracking = placeholders (SKINSCIENCE-PIXEL-ID, GTM-XXXXXXXX, ss-attribution.js CAPI off). Wire real SS pixel/GTM/CAPI env vars (mirror HF shared/functions/ENV_SETUP.md) BEFORE paid traffic. No real events fire yet (safe, just no attribution).
Pending (whenever David wants)
1. ✅ DONE — 5 redundant per-product sites PAUSED by David (not deleted; reversible).
2. ✅ DONE — OTO 1 (VIP) + OTO 2 (Extra Strength) live on all 5 (see OTOs LIVE above). Possible future: OTO 3 (bundle) per product if David wants a 3rd slot (needs more 29next packages).
3. Re-skin pass — SkinScience steel-blue palette (still NS-derived nailscience/css chrome), real product shots for melanolyse/eczemolyse, swap NS support phone in header, ~~SkinScience legal pages (footer /pages/ links 404)~~ ✅ DONE 2026-07-24 (compliance-footer rollout, commit 4eec827e, deploy 6a63d3811eee4cc79a26ea57): 7 one-sided legal pages live at byskinscience.com/pages/* + all 5 PDP footers wired + pretty-URL redirects. Dual-product-type Medical Disclaimer (topical AHA + Bronze ingestible). See [[compliance_footer_rollout_skill]], finalize testimonial copy (mine are functional-first).
4. Real SS tracking IDs.
2026-07-30 URL MIGRATION (21598620): byskinscience.com moved to
Shopify-standard URLs — PDPs at /products/<sku>/ (checkout/OTO/thank-you
children moved along), /collections/all/, blog mirrors at
/blogs/journal/<slug>/, legal canonical /pages/<name> (extensionless).
Permanent 33-rule 301 layer covers every old URL (query-strings pass).
SEO layer added: sitemap.xml (19 canonicals), robots.txt, canonical tags,
noindex on all funnel-private pages. Pixel/CAPI/29next/GA4 path-agnostic —
nothing reconfigured; verified live (checkout hydrates on new path,
capi 204). Trap: URL-migration rewrites must catch BARE-STRING refs
(manifest live_urls, app.js maps, master.jsons) — attribute-regexes miss
them; sweep with a repo-wide domain grep before calling it done.
From memory skinscience_tracking_status.md
Canonical IDs (LIVE as of 2026-06-08)
- Domain: byskinscience.com (single-site model — all 5 products as path subfolders)
- Netlify site:
skinscience— id9f0fc061-ac75-4a3a-adcd-704514dc3be5 - Deploy:
cd products/skinscience && netlify deploy --prod --site=9f0fc061-ac75-4a3a-adcd-704514dc3be5 --dir=. --functions=../../shared/functions - Meta Pixel / Dataset:
996202390008940("SkinScience2", owned by AMH Ventures business113824746806442) - GTM container:
GTM-N7Q6QQRZ(live at edge; GA4 tag NOT yet added — bare container, GA4 deferred by David) - GA4 property (exists, unwired):
527485330("Skin Science", account386876714) — David deferred GA4 wiring 2026-06-08 - 29next: store
skinscience.29next.store, campaign public keystH8gNgcvXaLcZzzYUK15n8VodciCFfyuqsITBgd(wired in all 5 checkouts) - CAPI token: Conversions API App (
442267983488516) system-user token, scoperead_ads_dataset_quality, never-expiring. Stored asFB_CAPI_ACCESS_TOKEN(Netlify secret, functions scope, production). - 5 products: keratolyse, melanolyse, eczemolyse, dermalyse, bronze-chews
Status: browser pixel + server CAPI LIVE (2026-06-08)
What shipped
1. Browser Meta Pixel (commit 6e17ba6c) — SKINSCIENCE-PIXEL-ID → 996202390008940 + GTM-XXXXXXXX → GTM-N7Q6QQRZ across 30 files (functional fbq('init')/noscript/snippet/iframe). Verified firing live (/tr?id=996202390008940&ev=PageView HTTP 200 with our eid=ss_pageview_...).
2. Server-side Meta CAPI (commit df08e664) — CAPI_ENABLED false→true in all 5 ss-attribution.js. Browser relays each event to /api/capi (shared capi.mjs) which posts to Meta with FB_PIXEL_ID + FB_CAPI_ACCESS_TOKEN. Verified: direct token POST {"events_received":1}/200; /api/capi returns 204.
3. Netlify env (production): FB_PIXEL_ID=996202390008940 (all scope) + FB_CAPI_ACCESS_TOKEN (functions, secret).
Funnel + dedup (already correct from the HF/NS template)
fireEvent()generatesevent_id(ss_prefix) + firesfbq('track', name, params, {eventID})for browser↔server dedup.- Full funnel wired: ViewContent (view_item) + AddToCart on PDP; InitiateCheckout (begin_checkout)/AddPaymentInfo/AddShippingInfo/generate_lead on checkout; ReceiptView on thank-you; UpsellView on upsells.
- Purchase fires from checkout with
event_id: 'purchase_'+orderId(matches the server webhook's event_id → dedupes browser+server). Thank-you firesreceipt_view(custom), NOT Purchase → no double-count. - Pattern H clean: 0 naked-image
&ev=Purchase, 0event:'transaction'dataLayer pushes. - No prelanders → no Pattern I cross-domain work needed (traffic goes direct to byskinscience.com PDPs).
The CAPI debugging saga (2026-06-08) — codified in attribution_testing_protocol.md
Spent hours wrongly concluding the token was "read-only / needs a dedicated Business app." Root cause was a TEST-HARNESS bug: my diagnostic curls omitted ?access_token= on the POST /events URL. An unauthenticated POST returns code 100 / subcode 33 / "object does not exist or missing permissions" — identical to a permission failure. The read_ads_dataset_quality scope posts fine. David caught it by pasting Meta's endpoint docs. Lesson: always put the token on the POST URL; verify HTTP 200 + events_received:1; production capi.mjs was always correct. Full checklist in attribution_testing_protocol.md "HARD LESSON: manual CAPI test MUST include ?access_token=".
2026-06-08 evening — server CAPI + webhook ACTUALLY live (the env-var saga)
After flipping CAPI_ENABLED I assumed server CAPI was live (the /api/capi 204). It WASN'T — and neither was the webhook (unsigned POSTs returned 200, signature not enforced). Root cause: netlify env:set --site=9f0fc061 … printed success and env:list --site=9f0fc061 SHOWED the vars, but they never landed on the real site — the CLI resolved --site against a different account context. Authoritative proof: the site's Netlify UI showed "No environment variables set" and GET api.netlify.com/api/v1/accounts/teo-h3uxfci/env?site_id=9f0fc061 returned []. So the functions read undefined for FB_CAPI_ACCESS_TOKEN/NEXT_WEBHOOK_SECRET → CAPI fan-out silently disabled (enabled() saw no token) + webhook ran the insecure no-secret branch.
Fix: set the 3 vars (FB_PIXEL_ID, FB_CAPI_ACCESS_TOKEN, NEXT_WEBHOOK_SECRET) via the Netlify UI (Add a variable → Import from a .env file → All scopes, all deploy contexts) → redeploy --skip-functions-cache. Confirmed working: unsigned webhook → 401 "Missing signature", signed (HMAC) → 200. Server CAPI fan-out now live (token readable). Codified in skills/attribution-launch/ Trap 2 + Obsidian playbook Trap 3. Don't trust env:list — verify env via the UI or the accounts/env API. WEBHOOK_DEBUG env was used to diagnose, now unset.
Note: a few fake test Purchases (orders X, SS-WHTEST-*) hit the dataset during debugging — disregard in early reporting.
2026-06-09 — Funnel audit: event layer was DEAD + live edge clobbered (both fixed, commit a438e6bb)
25-page workflow audit (5 products x PDP/checkout/thank-you/OTO-vip/OTO-upgrade, source + live edge) triggered by "did we add attribution to the OTOs?":
P0-A — live edge was CLOBBERED back to placeholders. All 25 deployed pages served SKINSCIENCE-PIXEL-ID/GTM-XXXXXXXX/CAPI_ENABLED=false even though source was correct. Root cause: the attribution commits lived ONLY on claude/brave-cartwright (CMPD without the Merge); another session deployed byskinscience.com from the MAIN checkout -> placeholder versions shipped. FIX: branch merged to main (a438e6bb) — future main-checkout deploys now carry the wiring. HARD RULE: CMPD includes MERGE-TO-MAIN for any deploy-bearing work; an unmerged branch + a main-checkout deploy = silent live revert.
P0-B — browser event layer structurally dead beyond auto-PageView (all 5 products). Two stacked bugs: (1) PDP+checkout bound var T = window.NS_TRACKING (NS template leftover, undefined on SS pages); (2) ss-attribution.js was the Phase-1 stub exposing ONLY fireEvent() while pages call trackEvent/sha256/getCookie/initScroll/initRage/initTimeOnPage/adIds. So ViewContent, AddToCart, begin_checkout, lead/shipping/payment micro-conversions, the BROWSER Purchase (purchase_<orderId>), receipt_view, upsell_view AND injectHiddenFields (29next attribution note_attributes!) never executed. Matches the live symptom: only PageView in David's browser capture. FIX: full ns-attribution.js port -> ss-attribution.js (Patterns A-I, correct CAPI payload shape, _ss_eid, shared _ns_utms/_ns_landing/_ns_referrer names preserved for webhook), exports BOTH window.SS_TRACKING and alias window.NS_TRACKING (same object); all var T = bindings rebound to SS_TRACKING.
P0-C — all 5 thank-you/assets/config.js carried the NAILSCIENCE campaign apiKey (g34IbGqX...) -> replaced with SS key (stH8gNgc...).
OTO gaps (the original question): pixel/GTM/attribution-include/paths were correct on all 10 OTO pages, BUT (1) NO accept tracking — accept/skip CTAs fired zero events; added upsell_accept/upsell_skip (custom:UpsellAccept/UpsellSkip, sendBeacon survives SDK nav) to all 10; (2) VIP pages were mislabeled upsell_upgrade (pageType/offer_name/content_ids) -> now upsell_vip, the two OTOs are distinguishable.
Payload hygiene: content_ids ['nailscience-kit'] (4 sites per checkout incl. Purchase) -> ss-01-keratolyse...ss-05-bronze-chews; ns_pdp_view_fired/ns_receipt_view_fired -> ss_*; ['ns-thank-you'] -> ['ss-thank-you'].
Live-verified post-deploy: pixel+GTM on PDP, served JS exports trackEvent + alias + real pixel (stub gone), OTO accept wiring + vip identity live, checkout SS binding + per-product content_ids, SS campaign key on thank-you config. A few HF orders polluted SS's dataset 2026-06-08 (FB_PIXEL_ID clobber window) + fake test Purchases (X, SS-WHTEST-*) — disregard in early reporting.
Still open: upgrade-OTO 29next package IDs 25/26/27/28 (+bronze) carry unresolved TODO(29next) — verify against the Skin Science 2 campaign before trusting upsell revenue; checkout/nailscience/ folder naming; stale [REPLACE] comments; mojibake in OTO comments.
Standing follow-ups
- Verify within 24h: SS dataset Overview shows "Conversions API"/"Multiple" events (like HF) once real traffic flows — confirms browser+server dedup live. (Before this session it showed "Meta Pixel" browser-only.)
- GA4 — deferred by David. When wanted: add GA4 Config tag to
GTM-N7Q6QQRZ(measurement ID for property527485330) +ga4-bootstrap.py+ setGA4_MEASUREMENT_ID/GA4_API_SECRETNetlify vars. Same playbook as HF. - 29next webhook (server Purchase backstop for Apple Pay/PayPal) — not yet set up; needs
NEXT_WEBHOOK_SECRETenv var + the Order Created webhook in theskinscience.29next.storedashboard. Now unblocked (CAPI token works). - Placeholder-comment cleanup — 31 files still have
[REPLACE]/Phase-1-stub comments (cosmetic; pixel+GTM values are live in functional code).
2026-06-15 — Dual-fire "SS_" shadow events shipped (Blocked-by-Meta insurance)
Rolled the HumanFrame archetype (see humanframe_attribution_status.md 2026-06-15 + attribution_stack_skill.md Pattern J) to SkinScience as proactive insurance — SS's standard events are NOT currently blocked, but the SS_<Name> mirror now flows on all 5 SKUs so a future "Blocked by Meta" is a Meta-UI-only swap (build Custom Conversions on the SS_* events, re-point campaigns, zero deploy).
- All 5
ss-attribution.js(keratolyse/melanolyse/eczemolyse/dermalyse/bronze-chews — single sha): addedSHADOW_PREFIX:'SS_'+SHADOW_EVENTS+ browserfbq('trackCustom','SS_'+name,…,{eventID})for every standard conversion event. Edited canonical (keratolyse) +shutil.copyto the other 4. - Server half already in the shared
capi.mjs(FB_STANDARD_EVENTS mirror, env-gated) — activated for SS viaCAPI_SHADOW_PREFIX=SS_(functions scope, site9f0fc061, set via Netlify API w/ explicit site_id). - Verified: deployed JS on all 5 byskinscience.com PDPs carries
SHADOW_PREFIX:'SS_';events_received:2for[Purchase, SS_Purchase]on pixel 996 (one POST). Did NOT seed SS_ events (insurance mode — real traffic populates them; no custom conversions to build until/unless SS gets blocked). Test eventSS-SHADOW-VERIFY(value 0) — disregard. - Committed + merged to main same session as HF. No campaign/conversion action needed for SS now — only if Meta blocks SS's standard events (then run Pattern J's swap runbook).
Cross-references
skinscience_checkout_status.md— checkout/consolidation (single-site model)attribution_testing_protocol.md— the ?access_token= hard lesson + 5-phase EMQ verificationattribution_stack_skill.md— Patterns A–I (the JS runtime this is built on)humanframe_attribution_status.md— sister brand; same capi.mjs + GTM/GA4 playbook
2026-06-28 — 5-Reasons PRELANDERS: full R1–R5 creative + LIVE deploy
All 5 SkinScience 5-Reasons prelanders are now deployed live with per-reason creative. Each has its OWN Netlify site (EcomScalers) — the sites already existed, just weren't linked locally (no .netlify/state.json). Deploy via tools/deploy-skinscience-prelanders.sh (netlify deploy --prod --site=<FULL-uuid> --dir=prelanders/skinscience/<dir>). TRAP: use the FULL 36-char site UUID — a truncated id → "Project not found. Please rerun netlify link". Sites:
- keratolyse-5reasons
8aac4dc6-0960-456e-90bc-16ad2528e6fb→ skinscience-keratolyse-5reasons.netlify.app - melanolyse-5reasons
7372e337-f18c-414b-80a2-a5f97793cb9c→ skinscience-melanolyse-5reasons.netlify.app - eczemolyse-5reasons
e018582a-6c44-400c-a1f7-122056533777→ skinscience-eczemolyse-5reasons.netlify.app - dermalyse-5reasons
c0c259f3-2023-4e36-8a56-258d42155c83→ skinscience-dermalyse-5reasons.netlify.app - 5reasons (bronze)
a314c162-7934-4494-8e12-d1bee20e07e4→ skinscience-bronze-5reasons.netlify.app
(Investigation + Top-5 prelanders ALSO have their own sites: skinscience-<sku>-investigation / -top5 — not yet deployed.) Prelander CTAs point at the byskinscience.com/<sku>/ PDPs (separate site 9f0fc061…, deploy via tools/deploy-skinscience.sh).
Per-reason creative (commits 2e7afd02→9a850ba7, mechanism-shotlist pipeline): R1=ingredient mechanism (Image-2), R2=mechanism (board ▼03, from on-page copy not the misplaced brief), R3=mechanism/animation (▼04), R4=demonstration loop (▼05, benefit/value reason→contrast not mechanism), R5=static image (▼06, week-12 result photo via Gemini i2i from the page's hero customer + bronze trust-stack). 4 non-keratolyse SKUs got R2/R4/R5; keratolyse R1/R3 video + R2/R4/R5 photos. See [[mechanism-shotlist-video-skill]] + [[board-video-display-traps]].
2026-06-29 — HERO GIFs live on all 5 SkinScience 5-Reasons prelanders (commit c3446396)
Replaced the static before/after slider hero with a ~3.2s looping UGC hero-gif on all 5 (keratolyse was the approved example → rolled to the other 4). Each cycles believable iPhone-UGC stills of ONE consistent person/area: affected-area BEFORE → product-in-hand → AFTER. Reusable builder tools/build-hero-gif.py (Ken-Burns + xfade loop → mp4 + poster + gif). Deployed live via tools/deploy-skinscience-prelanders.sh; all 5 verified (hero-ba video + assets 200).
- TRAP that bit (David's "make sure" territory): the existing hero slider images are NOT usable as-is — each
X-ba.jpgis ITSELF a before/after split, andX-ba.jpgvsX-ba-slider.jpgare two DIFFERENT people. Cycling them full-frame looks inconsistent. FIX: crop the consistent before/after from a SINGLEX-basplit (left=before, right=after,cover_square) + generate a product-in-hand UGC still (Gemini i2i from the product PNG + the before for face SKUs). Keratolyse dodged it by using one consistent leg. - Hero CSS wiring:
.hero-baisaspect-ratio:1/1; max-width:~440px; overflow:hidden; background:#000. Replace the.ba-half/.ba-circledivs with<video autoplay muted loop playsinline poster>and ADD.hero-ba video{width:100%;height:100%;object-fit:cover;display:block}mirroring the existing.ba-half imgrule. Verified via theprelanders-previewlaunch.json config (servesprelanders/— but a stale prior-session :8192 server can serve the wrong tree; serve the worktree on a fresh port + navigate the preview browser there to canvas-check). The hero-gif is the LCP — always confirm.hero-bais non-zero + the video fills + paints before deploying.
2026-06-29 — HERO GIF CORRECTION: before|after SPLIT PANEL, not sequential (commit 70ae9880)
The sequential before→product-held→after loop above was WRONG. David: "they were supposed to be before/after side by sides." Rebuilt all 5 as a side-by-side split panel: BEFORE (left) | AFTER (right) of the SAME person/area, white center divider + BEFORE/AFTER label pills, subtle synced zoom (cosine 1.0↔1.045, seamless loop), ~3.2s. Builder tools/build-ba-split.py (PIL per-frame composite → ffmpeg; reuses the consistent before/after halves cropped from each X-ba split). Asset swapped in place + cache-bust ?v=1→?v=2 (same filename → edge would serve stale otherwise). All 5 live + verified. LESSON: "hero gif" / "before-after" = a SIDE-BY-SIDE SPLIT panel (both states visible at once), NOT a sequential reveal — confirm format before building. Watch-item: dermalyse's two split halves are slightly different framings (neck vs arm) — offer to refine the source crop if it bugs David.
Bronze prelanders (SS-P14/SS-P15) — attribution LIVE 2026-07-02 (commit 950c5f8e)
Hosted on the consolidated site skinscience-bronze-prelanders.netlify.app (25ac92fa-…, EcomScalers): /investigation/=SS-P14, /top5/=SS-P15, root 302→investigation; deploy tools/deploy-bronze-prelanders.sh (staged rsync from prelanders/skinscience/{investigation,top5-advertorial}); supersedes the 2 per-prelander sites; no custom domain mapped yet. Wired: GTM-N7Q6QQRZ + pixel 996202390008940 + own copy of ss-attribution.js per page; SS_TRACKING.CAPI_ENDPOINT = ABSOLUTE https://byskinscience.com/api/capi (prelander site ships no functions — capi.mjs answers CORS/OPTIONS, verified 204 + allow-origin:* from this origin). PrelanderView/PrelanderCTAClick fire via the runtime (custom: events, event_id + CAPI mirror); Pattern I forwarder (pre-staged) lifts _fbp/_fbc/_ss_eid→fbp_in/fbc_in/eid_in on 7 data-cta-forward CTAs per page → PDP adopts identity. Traps fixed: investigation carried HF_TRACKING clone residue (renamed); top5 had a dataLayer-only trackEvent SHIM that would swallow PrelanderView pre-runtime + sessionStorage-mark it (removed — blocks poll for the real runtime). Test events to disregard: SS-PRELANDER-RELAY-CHK.
Prelander hub UPDATE 2026-07-06 (commit dc78c5b7) — 14 pages, all wired
The bronze site grew into thehealthreportdaily.com (same site 25ac92fa, custom domain mapped; deploy tools/deploy-health-report.sh superset — the old bronze script is guarded). Attribution activated on the 12 new paths (SS-P2/3/5/6/8/9/11/12 product investigation+top5 + SS-P16-19 Dermatology Report pages): same stack as bronze (GTM+pixel+own ss-attribution.js copy+abs CAPI). Scaffold traps: investigation pages carried HF_TRACKING clones; top5s the SS shim; Dermatology-Report pages an AD_TRACKING shim with fire-and-forget fireView() (no poll) — poll pattern injected or PrelanderView dies silently. Forwarder destinations: per-product PDPs on byskinscience.com (one-routine-method → /collection/). All 14 live-verified fbq+GTM+CAPI+runtime-200.
Purchase over-count bug FIXED 2026-07-08 (66c7896f)
LL1 showed 15 Purchases / 4 bronze orders. Cause = Pattern K (see [[attribution-stack-emq-hardening-skill]]): campaign-cart SDK's facebook provider enabled on all 5 SS checkout configs (with NS's pixel in settings), firing eventID-less broadcast Purchases + redirect-queue replays. Disabled fleet-wide + NS-pixel refs scrubbed; live-verified fb:false on all 5 SS + HS + memo + HF checkouts. Historical inflated conversions can't be retracted — expect Purchase ≈ orders going forward.
3-conversions-per-order bug FIXED 2026-07-24 (9c008ca3) — Pattern L
1 order → 3 Purchases: the store's "29OrdersCapi" webhook (All Events) fed customer.created/transaction.created into order-webhook.mjs which had NO event_type gate → each minted a distinct un-dedupable purchase_<id>. Fixed: function gate (deployed all brands, verified via signed customer.created probe → 200 Ignored) + webhook 100 narrowed to order.created (dashboard). See [[attribution-stack-emq-hardening-skill]] Pattern L. Note: 29next Meta Pixel app installed on the store with foreign pixel 767335789488798 — currently inert (zero sends logged); uninstall candidate. Expect Purchase ≈ orders from 2026-07-24 on.
Blog 5reasons prelanders — attribution LIVE 2026-07-24 (08fe22e2)
All five byskinscience.com/blog/-five-reasons mirrors (bronzechews/kera/mela/ecze/derma; canonicals prelanders/skinscience/{5reasons,-5reasons}) wired with the standard SS prelander stack (GTM + pixel + own runtime + abs CAPI + Pattern I forwarders). Edited canonicals → sync-blog-mirrors → deployed; all 5 live-verified.
From memory sslyse_ads_pipeline_status.md
SkinScience -lyse family ad-pipeline state as of 2026-07-24 (all committed through 7b97341f):
Generation boards (creative/<slug>/, on 8766 + OCC page rows):
- Melanolyse (SS-02) — 62 ads, rounds 1-3 (30 keeps-recreations+frameworks / 14 excluded-frameworks / 18 body-zone lane). Campaigns ml-5reasons 22 / ml-investigation 19 / ml-top5 21. AWAITS VERDICTS.
- Dermalyse (SS-04) — 47 ads, rounds 1-2 (30 from David's 29 swipe keeps / 17 full-framework pass). dm-* campaigns 15/15/17. AWAITS VERDICTS. SS-04 is a DEVICE (capsule + 24k-gold needle head, VISUAL_DNA §11): device shots anchor to catbox
https://files.catbox.moe/aepq82.jpg(ss04-hero-3q) w/timeout_s 600+ warm-ring ban; form drifts stout — flag to David.
Swipe libraries (verdict queues):
- KP/Keratolyse 439 (3 rounds, keeps-driven deep-pull off his 10 July-9 keeps) → SS-P1/2/3 generation once judged. KP taste = moms-and-kids + childhood-nickname shame.
- Anti-aging 537 (fed Dermalyse gen). Eczema 100 untouched → SS-P7/8/9. Hyperpig 923 (fed Melanolyse).
Session-hardened patterns (details in skills/jt-ad-pipeline/SKILL.md §III + Obsidian "J&T Ad Pipeline"): 3-round swipe escalation is default; kill-on-sight enforced via --skip-pages; launch route batches DB writes via createMany after the parallel FB phase (b4a4581b — mid-phase launch death leaves a PARTIAL ACTIVE Meta campaign, check Ads Manager before retry); OCC page rows = generated ads vs SWIPE rows = competitor libraries (no-board v89 + campaign-matcher fixes); verdict -latest files live in MAIN repo tools/jt and can be clobbered to 0 — dated snapshots are durable.
Related: [[jt_ad_pipeline_skill]], [[melanolyse-ad-angles]], [[jt_ad_launch_architecture]], [[judgement_and_taste_principle]].