[object Object]

← back to Interiordesignershowroom

IDS admin: confirm CJ PID 101848244, drop bogus 1062321 (TK-10171)

33bf504404e1a447b011bc9e67bcd38f15c09421 · 2026-08-03 09:23:47 -0700 · Steve

.env CJ_WEBSITE_ID=101848244 matches the PID in the live tracking links, so CJ
attribution is correct. 1062321 was identified as a FileMaker customer acct
(client Claire, Shopify order #32749), not a CJ id — removed from the record.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 33bf504404e1a447b011bc9e67bcd38f15c09421
Author: Steve <steve@designerwallcoverings.com>
Date:   Mon Aug 3 09:23:47 2026 -0700

    IDS admin: confirm CJ PID 101848244, drop bogus 1062321 (TK-10171)
    
    .env CJ_WEBSITE_ID=101848244 matches the PID in the live tracking links, so CJ
    attribution is correct. 1062321 was identified as a FileMaker customer acct
    (client Claire, Shopify order #32749), not a CJ id — removed from the record.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 routes/admin.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/routes/admin.js b/routes/admin.js
index 117a0a2..740e174 100644
--- a/routes/admin.js
+++ b/routes/admin.js
@@ -41,12 +41,13 @@ function loadCjAccount() {
 function cjAccountBar() {
   const a = loadCjAccount();
   if (!a) return '';
-  const cell = (k, v, unverified) => v
-    ? `<span style="margin-right:18px"><span class="net">${esc(k)}</span> <b>${esc(v)}</b>${unverified ? ' <span class="pill off" title="Provided but not yet confirmed under CJ Account &gt; Websites — matches neither the CID nor the live-link PID">unverified</span>' : ''}</span>`
+  const cell = (k, v) => v
+    ? `<span style="margin-right:18px"><span class="net">${esc(k)}</span> <b>${esc(v)}</b></span>`
     : '';
   return `<div style="background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px 14px;margin:0 0 16px;font-size:.85rem">
     <b style="font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#6b6259;margin-right:14px">CJ Account</b>
-    ${cell('Login', a.login_email)}${cell('CID', a.cid)}${cell('Link PID', a.link_pid)}${cell('PID (given)', a.unverified_pid, true)}
+    ${cell('Login', a.login_email)}${cell('CID', a.cid)}${cell('PID', a.pid)}
+    <span class="pill on" title="Config CJ_WEBSITE_ID matches the PID in the live tracking links — attribution wired correctly">✓ verified</span>
   </div>`;
 }
 

← 8fb23cd IDS admin: record CJ account identifiers on Affiliates tab (  ·  back to Interiordesignershowroom  ·  chore: lint, refactor, v0.2.0 (session close) 562d723 →