ClickBank
Use ClickBank when transactions from a ClickBank affiliate nickname should become reportable custom conversions in Nitoriq.
Nitoriq imports ClickBank transactions through the ClickBank Orders API. Before
starting, create a ClickBank API key with Orders/Tickets API Read access in
ClickBank’s API Management area. ClickBank explains that flow in
How to Create ClickBank API Keys .
Their ClickBank APIs
article explains the current API version and the Orders API endpoint Nitoriq
uses.
Before you start
- Create or confirm the ClickBank API key in the primary account.
- Grant the key Orders/Tickets API Read access for the affiliate account nickname you want to import.
- Copy the affiliate account nickname. Nitoriq uses it as the ClickBank
External account. - Create Nitoriq custom conversions for sales, rebills, refunds, and chargebacks.
- Add the Nitoriq click ID to ClickBank links with
extclidwhen you want imported transactions to match clicks in Nitoriq.
Create a ClickBank affiliate import
Open Affiliate Network
Go to Integrations, then select the Affiliate Network tab.
If you already have ClickBank imports, they appear in this table. Use the row actions later to edit, test, sync, or review imported rows.
Choose ClickBank
Click Add integration, then choose ClickBank.
Name the integration
Use a name that includes the nickname or business scope, such as
ClickBank - Main Nickname or ClickBank - Subscription Offers.
Confirm the Workspace field before continuing.
Connect or select the ClickBank account
In Provider connection, select an existing ClickBank connection or click
New connection.
For a new connection, enter:
Connection nameExternal account ID: the ClickBank affiliate account nicknameExternal account name: an optional friendly nameAPI key: the ClickBank API key with Orders/Tickets API Read accessINS secret (optional): only needed if your team also validates ClickBank Instant Notification Service outside this import flow
Select the external account
After the provider connection is saved, choose the ClickBank
External account.
For ClickBank, this is the affiliate account nickname from the saved provider
connection. If the dropdown is empty, make sure the connection has the
affiliate nickname saved as External account ID.
Set timezone and fallback currency
Set Timezone and Currency fallback.
ClickBank rows usually include transaction time and currency, but these fields give Nitoriq a stable fallback for reporting and payout values.
Map ClickBank events
In Event Mapping, map ClickBank transaction types to Nitoriq custom
conversions:
SALEmaps initial purchasesBILLmaps rebills or subscription renewalsRFNDmaps refundsCGBKmaps chargebacks
Map negative events intentionally. Refunds and chargebacks should not be hidden unless your reporting process handles them somewhere else.
Pass the Nitoriq click ID into ClickBank
Add the Nitoriq click ID to ClickBank links using ClickBank’s external click identifier:
extclid={{niq_click_id}}ClickBank’s
Affiliate Tracking Parameters
article explains extclid and other affiliate tracking values. Nitoriq looks
for ClickBank tracking values such as extclid, click_id,
niq_click_id, subid, or subid1 when imported transactions need to match
back to a tracked click.
Save and run the first import
Click Save integration, then run a small import from the row actions or wait
for the first scheduled run.
Review the imported rows. A working setup should show ClickBank transactions matched to the expected Nitoriq clicks and mapped to the custom conversions you selected.
What Nitoriq Imports From ClickBank
Nitoriq queries ClickBank Orders API rows for the affiliate nickname and import
window. It imports production transaction types that affect reporting:
SALE, BILL, RFND, and CGBK.
Nitoriq does not turn ClickBank fee rows or test transaction rows into production reporting outcomes.
For each imported transaction, Nitoriq keeps the ClickBank receipt, transaction type, transaction time, payout amount, currency, status, line-item context, and available tracking values. Then it uses Event Mapping to decide which Nitoriq custom conversion should represent the event.
ClickBank fields in Nitoriq
Provider connection
The saved ClickBank API credential Nitoriq uses for Orders API access.
The API key must have Orders/Tickets API Read access for the affiliate nickname.External account
The ClickBank affiliate account nickname.
Nitoriq queries ClickBank Orders API data for this nickname.Event Mapping
The mapping from ClickBank transaction types to Nitoriq custom conversions.
It controls whether sales, rebills, refunds, and chargebacks appear correctly in reports.extclid
The ClickBank tracking parameter that should receive the Nitoriq click ID.
It lets Nitoriq match imported ClickBank transactions back to tracked clicks.ClickBank is working when
- The ClickBank connection is saved with the correct affiliate nickname.
- The API key has Orders/Tickets API Read access.
SALE,BILL,RFND, andCGBKare mapped intentionally.- ClickBank links pass
extclid={{niq_click_id}}or an equivalent tracked value. - A small import creates ClickBank rows in Nitoriq.
- Imported rows match the expected clicks and custom conversions.
Was this page helpful?