Funnel Orchestrator
What is a funnel? A funnel is a sequence of pages your customer walks through: landing page → checkout → upsell offer → thank you. The orchestrator manages the order, the navigation, the analytics, and the A/B testing — all in one place.
Why Use the Funnel Orchestrator?
Without a funnel, your checkout is a single isolated page. The customer pays and lands on a generic confirmation. That works, but you’re leaving money and insights on the table. With the orchestrator you get:
In short: the orchestrator turns a standalone page into a real sales flow with analytics.
Core Concepts (5-minute overview)
Funnel = Graph of Nodes and Edges
A funnel is a directed graph:- Nodes are the steps (checkout page, upsell page, thank you page, etc.)
- Edges are the connections between steps (what comes after what)
Node Types
What Happens Under the Hood
When you create or update a funnel via the API:- TagadaPay saves the funnel configuration (nodes + edges)
- For each step, it automatically mounts the right plugin page at the right URL path
- The SDK reads the funnel config at runtime and handles navigation between steps
- Analytics events are tracked automatically (views, enters, conversions)
Tutorial: Create Your First Funnel
We’ll create the most common funnel: Checkout → Thank You.Prerequisites
- A TagadaPay account with an API key
- A store (you can create one via the API or from the CRM)
- At least one deployed plugin (the built-in
tagada-nativecheckout is auto-provisioned for you)
If you don’t have a custom plugin deployed, TagadaPay will automatically inject its built-in checkout plugin (
tagada-native) into your funnel steps. You can start without deploying anything.Step 1 — Create the Funnel
- TagadaPay created a funnel with two steps
- It automatically provisioned the native checkout plugin for both steps
- Routes were mounted so
/checkoutand/thankyouresolve to the right pages - This funnel is marked as the default — it’s the one used when a customer hits your store’s checkout URL
Step 2 — Verify Your Funnel
Step 3 — Test with a Preview Session
Preview sessions let you test the funnel without real payments:sessionId and token to load the checkout page in preview mode.
Adding an Upsell Step
The real power of funnels comes from post-purchase flows. Let’s add an upsell offer between checkout and thank you. Use the Update Funnel endpoint:- Skipped the checkout and thank you steps (already mounted)
- Mounted the new offer step at
/offer
A/B Testing a Step
You can split traffic on any step using variants. Each variant can point to a different page design (different deployment) or the same page with a different config.
Visitors are sticky — once assigned a variant, they see the same one on return.
Step Configuration (Runtime Config)
Each step can have runtime config injected when the page loads — tracking pixels, payment flows, and custom scripts:useStepConfig() or window.__TGD_STEP_CONFIG__. See Step Config & Script Injection for details.
Tracking Funnel Events
The SDK tracks events automatically when used inside a funnel. If you need manual tracking (e.g., from a server or external page), use the Track Funnel Step endpoint:Debugging a Funnel Session
To inspect what happened in a customer’s session:Complete API Reference
Recap
Funnel Lifecycle: Save, Publish & Go-Live
Duplicate, preview on staging, and promote to a production domain
Plugin SDK
Build the pages that power each step
Hosting & A/B Testing
Host any page and run split tests
Direct Link Guide
Generate checkout URLs from any website
External Page Tracker
Connect external pages to the funnel
