This is for merchants selling through ClickBank. If you’re an affiliate promoting ClickBank products, see the ClickBank Affiliate Integration instead.
Prerequisites
- Active ClickBank account with vendor access (ClickBank term)
- Approved products in ClickBank marketplace
- Admin access to your ClickBank account
- Understanding of ClickBank pitch flow system
Step 1: Create ClickBank Merchant
Add Merchant Configuration
- Go to Settings → Merchants → Add Merchant
- Select Gateway: ClickBank
- Enter your Account ID (your ClickBank account nickname)
- Create an Encryption Key (see below for details)
- Save the merchant configuration
Understanding Encryption Keys
The encryption key is not an API key - it’s a security key you create:- Purpose: Encrypts data sent between ClickBank and ElasticFunnels
- Security: Prevents man-in-the-middle attacks on postback data
- User-defined: You create this key (can be any string)
- Synchronization: Must be identical in both ClickBank and ElasticFunnels
MySecretKey2024! (use your own unique key)
For postback configuration, use the Setup modal available from the Merchants list. It provides the exact URL and parameters to copy into ClickBank and is kept up to date.
Step 2: Configure Domain-Merchant Assignment
Assign Merchant to Domain
- Go to Settings → Domains → Edit Domain
- Select your ClickBank merchant from the dropdown
- Save the domain configuration
Step 3: Set Up ClickBank Pitch Flow
Create Pitch Flow in ClickBank
- Log into your ClickBank account
- Go to Pitch Flows section
- Click Create New Pitch Flow
- Add all product variants you plan to split test:
- Different price points (3 bottles, 6 bottles, 12 bottles)
- Different bonus packages
- Different upsell combinations
- Save and note the Pitch Flow ID (CBFID)
Use Funnel Node URLs for Upsell/Decline Targets
Instead of pointing upsells to specific page slugs (e.g.,upsell-1), use the URL from your funnel nodes:
- Open your funnel in ElasticFunnels
- For each step in your flow, click the Purchase or Decline node that leads to the next page
- Click Copy Node URL
- Paste this URL into the corresponding Upsell or Decline target in your ClickBank Pitch Flow
Best Practices for Pitch Flow Setup
- Include all variants: Add every product combination you might test
- Avoid re-approval delays: Having all variants pre-approved saves time
- Organize logically: Group related products together
- Document variants: Keep track of which IDs correspond to which products
Step 4: Configure Funnel Integration
Set Funnel Pitch Flow ID
- Go to Funnels → Edit Funnel
- In the funnel settings, you’ll see:
- ClickBank Pitch Flow ID: Enter your CBFID
- ClickBank Template Code: Enter if using custom templates
- Save the funnel configuration
Default Funnel Setup
- Make funnel default: Check this option if you want this funnel to handle all traffic to the domain without the
f=parameter - URL access: Visitors can access via
domain.comordomain.com?f=funnel_id
Postbacks
Use the Setup modal in the Merchants list for step-by-step, up-to-date postback instructions and your unique URL. After you configure ClickBank and trigger a test (or run a test purchase), the modal will automatically mark the connection as validated once the webhook is received.Advanced Configuration
Multiple Product Testing
When split testing different products:- Add all products to the same pitch flow in ClickBank
- Use page events to show different purchase buttons
- Pass product IDs in the purchase links
- Track performance of each variant
Custom Purchase Links
Purchase links automatically use the funnel’s CBFID:- Standard format:
[BUY=product_code] - With parameters:
[BUY=product_code extra=campaign_data] - No manual CBFID: System automatically adds the funnel’s pitch flow ID
Upsell Configuration
- Create upsell nodes in your funnel
- Connect to purchase nodes for the main product
- Use funnel-level split testing or page events for upsell variants
- Configure decline flows for users who don’t purchase upsells
Troubleshooting
Common Issues
Postback not working:- Verify encryption key matches in both systems
- Check postback URL is correctly entered in ClickBank
- Ensure merchant is properly assigned to domain
- Verify funnel has correct CBFID
- Check that merchant is assigned to the domain
- Ensure products exist in ClickBank pitch flow
- Verify all product variants are in the pitch flow
- Check that page events are properly connected
- Ensure domain-merchant assignment is correct
Testing Your Setup
- Use ClickBank’s test mode for initial testing
- Verify postback reception in ElasticFunnels
- Test purchase flow end-to-end
- Check conversion tracking in both systems
Security Best Practices
- Keep encryption keys secure - don’t share them
- Use strong, unique keys - avoid simple passwords
- Regularly rotate keys - update periodically for security
- Monitor postback logs - watch for unusual activity
- Test with small amounts - verify everything works before full launch