Pricing Academy Blog

ClickBank funnel setup for vendors

Connect your ClickBank vendor account, map your products, point your funnel at your Pitch Flow and watch every ClickBank sale arrive, with a clip for each step.

Academy tutorial7 stepsAbout 20 minutesIntermediate
What you'll build

A sales funnel in ElasticFunnels that sells through ClickBank's order form: your pages and split tests run on your own domain, every buy button goes to ClickBank for the product you mapped, and ClickBank's IPN (instant payment notification) reports each sale back with the buyer, the product and the affiliate who sent them.

New to funnels? Read the full guide first: how to create a sales funnel, step by step covers the pages before and after the order form.

You need a ClickBank vendor account with an approved product and its Pitch Flow (ClickBank's list of the products and upsell pages in one order), and a domain connected to ElasticFunnels. This tutorial is the vendor side. If you promote other vendors' ClickBank offers as an affiliate, that is a separate integration.

1Create the ClickBank merchant

Go to Settings, then Merchants, and click Create Merchant. Pick Clickbank as the Gateway, give it a name you will recognise, and click Create & Configure.

Create a new merchant: the Gateway is set to Clickbank, the name Northwind ClickBank is typed, and Create & Configure opens the merchant's settings
The merchant starts as a draft until you save its account details in the next step.

2Enter your nickname and an encryption key

In Account ID, type your ClickBank account nickname. Click Generate random encryption key and Save. Then, in ClickBank, open Vendor Settings, My Site, Edit, and under Advanced Tools enter the same key as the secret key.

The Account ID northwind is typed, Generate random encryption key fills the Encryption Key, and Save stores both
ClickBank encrypts every notification with this key. If the two keys differ, ElasticFunnels cannot read the sales.

3Paste the instant notification URL

Click Test Purchase Webhook and Copy the postback URL (the address ClickBank will send each order to) under Your Postback URL. In ClickBank's Advanced Tools, paste it into the Instant Notification URL, choose version 8.0 and click Test & Save. When ClickBank's test notification arrives, the panel shows Setup Complete! and the merchant is marked verified.

Test Purchase Webhook opens the Postback Setup panel, the postback URL is copied, and after the test notification the panel shows Setup Complete and the merchant is verified
In this clip ClickBank's test notification is simulated against a local copy of the app, with the demo account's key.

4Map your ClickBank product

Open Settings, Products and the product you sell. On its Merchants tab, enter the ClickBank item number in the Product ID field for your ClickBank merchant, then Save. Do this for every product in the Pitch Flow, including upsells and downsells.

On the Vitality Complex 90 day product, the Merchants tab shows the clickbank (northwind) Product ID field; the item number 1 is typed and saved
If the product's Code already equals the ClickBank item number, the match works without this field.

5Assign the merchant to your domain

In Settings, Domains, open the menu on your domain, click Edit, pick the ClickBank merchant under Merchant and Save. From now on, a /b?p=product-code&b=363&pg=16959 button on a page of this domain sends the visitor to ClickBank's order form for that product.

The domain's Edit panel: Merchant is set to clickbank and saved, and the domain list now shows Clickbank as its merchant
The buy link carries the hop and tracking parameters from the page's URL, so the affiliate who sent the visitor keeps the credit.

6Enter the Pitch Flow ID on the funnel

In Funnels, open your funnel's menu and click Settings. Under Domains, click Assign Domain, pick the domain, type your Clickbank Pitch Flow ID and Save. In ClickBank, point the Pitch Flow's upsell and decline pages at your funnel's page URLs.

In the funnel's settings the domain is assigned, the Clickbank Pitch Flow ID 4821 is typed and saved, and the funnel list shows the domain with Clickbank
On the upsell pages, /ef-u?p=code&b=363&b=363&pg=16959 makes the accept link and /d?p=code&b=363&pg=16959 the no-thanks link; ClickBank charges the buyer.

7See every ClickBank sale

Open Reports, Conversions and filter by the ClickBank merchant. Each sale shows the ClickBank receipt as the Order ID, the product, the affiliate's nickname, the buyer and the affiliate commission. Refunds, chargebacks and rebills arrive the same way and have their own tabs.

Reports, Conversions filtered by the ClickBank merchant: four demo sales with their receipts, products, affiliates, buyers and totals
These four orders are demo notifications sent to a local copy of the app, not real ClickBank sales.

Common mistakes

  • Two different encryption keys. The key in ClickBank's Advanced Tools must be exactly the one saved on the merchant, or no sale can be read.
  • An item number that is not mapped. A sale for an unknown ClickBank item is not recorded on a product; the app lists it under actions as a missing product to create.
  • A domain with no merchant. Buy buttons only go to ClickBank on a domain whose merchant is the ClickBank one.
  • Pitch Flow pages pointing at fixed URLs. Point them at your funnel's page URLs, so you can split test or swap the page behind a step without editing the Pitch Flow.
  • Losing the affiliate's parameters. So the hop link data reaches your page and the buy link, turn on "Hop Parameter on HopLink Landing Page" in ClickBank's vendor settings.

Keep going

Everything the ClickBank vendor integration records: ClickBank for vendors. The whole vendor stack: ElasticFunnels for vendors. Test the sales page behind a funnel step: A/B test a landing page. Build the page first: how to make a landing page. All tutorials: the Academy.

FAQ

ClickBank funnel FAQ

How do I set up a ClickBank funnel?

Add ClickBank as a merchant with your nickname and an encryption key, paste the instant notification URL into ClickBank, map each product's ClickBank item number, assign the merchant to your domain and enter your Pitch Flow ID on the funnel. The seven steps above show each screen.

What is a ClickBank IPN?

ClickBank's instant notification: a message ClickBank sends your server for every sale, rebill, refund, chargeback and cancellation, encrypted with your secret key. ElasticFunnels reads it and records the order.

Where do I find the instant notification URL?

On the ClickBank merchant, click Test Purchase Webhook: the Postback Setup panel shows the URL with a Copy button. The same URL is under Copy Postback URL in the merchant list.

How do I test ClickBank instant notifications?

In ClickBank's Advanced Tools, click Test & Save after pasting the URL. ElasticFunnels receives the test notification, shows Setup Complete and marks the merchant verified. The test is not recorded as a sale.

How do ClickBank upsells work in a funnel?

ClickBank charges the upsell with the card from the first order. Your Pitch Flow lists the products and the upsell pages; point those pages at your funnel, and use /ef-u?p=code&b=363&b=363&pg=16959 for the accept link and /d?p=code&b=363&pg=16959 for the decline link.

What is a ClickBank Pitch Flow?

ClickBank's list of the products and pages in one order: the front-end product, then the upsells and downsells with the page ClickBank sends the buyer to after each one. Its ID goes on the funnel's domain in ElasticFunnels.

Does ClickBank allow custom order forms?

The order form is always ClickBank's. You can pick one of your ClickBank order form templates with the Clickbank Template Code field on the funnel's domain.

Do affiliate hop links still work?

Yes. The hop link sends the visitor to your page, and the buy button passes the hop parameters on to ClickBank, so the affiliate is credited. Each sale shows the affiliate's nickname in Conversions.

Which ClickBank events does ElasticFunnels record?

Sales, rebills, refunds, chargebacks, subscription cancellations and reactivations, product changes and abandoned orders.

Can I split test my ClickBank sales page?

Yes. The page behind a funnel step can be split tested on the same URL, and the result is scored on the sales ClickBank reports. See A/B test a landing page.

Do I need a ClickBank API key?

Not for this setup. The optional ClickBank API key (Developer or Clerk key) is used for subscription upsell flows and to import past orders from the Sync from API tab.

Can I import ClickBank orders from before the setup?

Yes. Add the API key on the merchant, open Sync from API, pick a date range and start the sync. Orders already recorded are skipped.

Is this the same as the ClickBank affiliate integration?

No. This is the vendor integration: ClickBank sends the full order to the product owner. Affiliates who promote ClickBank offers use a separate postback integration with less data.

Which plans include the ClickBank integration?

Every plan. Every feature is on every plan, and plans differ only in usage limits. Start with a 14-day free trial.

Run your ClickBank funnel here

Every feature on every plan. Start a 14-day free trial.