Traffic-source catalog lives in catalog/ (DATA_DIR=/app/data is the runtime volume in production and would hide a shipped file)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-10-12 11:18:08 -05:00
parent 211eb5a0e8
commit c2178b4c6e
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
// A source remembers the network's macro tokens (so the campaign URL to paste into the network is built for
// the member), the network's own conversion postback (fired only for clicks that came through that source),
// and shows up in Reports as a dimension (clicks and conversions by source, and by zone / placement / site when
// the macro carried it). Sources are created from a template catalog (data/traffic-sources.json, shipped in the
// the macro carried it). Sources are created from a template catalog (catalog/traffic-sources.json, shipped in the
// repo, read at boot) or defined by hand. JSON store on the volume, same pattern as postbacks.js.
'use strict';
const fs = require('fs');