Secrets
Edge vs. browser scope
// tagRoot (edge) — all secrets are available
const apiKey = params.variables.API_KEY // ✓ defined
const pixelId = params.variables.PIXEL_ID // ✓ defined
// clientTagRoot (browser) — only client-flagged secrets are available
const pixelId = params.variables.PIXEL_ID // ✓ defined (if flagged)
const apiKey = params.variables.API_KEY // ✗ undefined (edge-only)Adding a secret
Redaction in Simulation
Was this helpful?

