Scripts & Pixels per Step
Time: ~10 minutes | Difficulty: IntermediateWhat Is Step Config?
Every step in a funnel can have its own runtime configuration — tracking pixels, custom scripts, payment flow overrides, and order bumps. This is set insidenode.config.stepConfig.
Why per-step? Different steps fire different events. Your landing page tracks
PageView, your checkout tracks InitiateCheckout and Purchase, and your thank-you page tracks the conversion. Each step can have completely different pixels and scripts.Step Config Structure
Tracking Pixels
Pixels are keyed by provider. Each provider can have multiple pixels (array).Meta / Facebook Pixel
Meta Conversion API (server-side)
TikTok Pixel
Snapchat Pixel
Google Tag Manager
Custom Scripts
Inject any JavaScript into funnel pages. Each script has a name, content, and injection position.Full Example: 3-Step Funnel with Tracking
Here’s a complete Node SDK example that creates a funnel with Meta Pixel + TikTok on every step, plus GTM on checkout only.Pixel Event Reference
Supported Providers
Payment Setup Config
paymentSetupConfig controls which payment methods are displayed on a checkout step and how each method is routed. It’s a key-value map where keys are method identifiers.
Structure
Fields
Key Format
Keys follow the pattern{method} or {method}:{provider}:
card— card payments (routed via payment flow)apple_pay:stripe— Apple Pay via Stripegoogle_pay:stripe— Google Pay via Stripeklarna:airwallex— Klarna via Airwallexpaypal:airwallex— PayPal via Airwallex
Payment Flow Resolution Order
When processing a card payment, thepaymentFlowId is resolved in this order:
Example: Different Flow for High-Value Orders
Example: Cards + Apple Pay + Google Pay
Next Steps
Node SDK Quick Start
Get started with the Node SDK
Funnel Orchestrator
Deep dive into funnel routing, A/B testing, and navigation
Headless Payments (Frontend)
Build your own checkout UI with client-side card tokenization and 3DS
Deploy & A/B Test
Deploy pages and run split tests
