Skip to main content
How-to

Attribution and Affiliate Partners

Attribution platforms tell you which marketing touchpoint earned a sale. Affiliate networks pay partners for the sales they send you. Both need the same thing from your StoreFront: a reliable signal when an order completes.

You configure all of them in one place. Go to Main Menu → StoreFronts, choose your StoreFront host, then open Privacy & Tracking → Other. Each partner has its own section on that tab. Paste the credentials the partner gave you, then select Save.

Most of these integrations are server-to-server, which means UltraCart calls the partner's API after payment succeeds rather than relying on a browser pixel. Server-to-server tracking keeps reporting accurate when a shopper blocks scripts or closes the tab early.

tip

Every server-to-server call is recorded. When a partner's numbers disagree with yours, open the Integration Log Health Report and look at the actual request and response for the order in question.

Which partner pages live where​

PartnerWhere it is documented
Awin, Everflow, Hyros, Northbeam, ReferralCandy, Share-A-Sale, RTB HouseThis page
ConvergeConverge
HubSpotHubSpot
Smart Attribution, UltraCart's own multi-touch modelSmart Attribution
Commission Junction, Katalys, KISSmetrics, Klaviyo, ONTRAPORT, FullStory, InspectletPrivacy and Tracking, on the Other tab

Awin​

Awin is an affiliate marketing network. When an affiliate sends a shopper to your site, Awin adds an awc parameter (the Awin click checksum) to the landing page URL. Awin pays the affiliate only if that value comes back to it with the sale, so the integration's job is to keep awc with the shopper from the landing page all the way to the completed order.

UltraCart does that in four steps:

  1. Landing page. UltraCart Analytics records the awc value against the visitor as soon as the page loads.
  2. Checkout. The value travels to your UltraCart checkout, is saved on the cart, and is written to a first-party awc cookie on the checkout domain.
  3. Receipt. The receipt page fires Awin's conversion tag and its fallback image pixel. The tag passes the order's stored awc to Awin directly, so the click is reported even when the shopper came back later without a new Awin link.
  4. After payment. UltraCart reports the sale to Awin's Conversion API server-to-server, with the stored awc. Orders that did not come from an Awin click are not sent.

Only items you mark Report to Awin are reported, at their value after discounts. That lets you run an Awin program for some of your products while you sell others on the same storefront. An order with no marked item is not reported to Awin at all. See Choose which items Awin reports.

How long awc is kept​

A shopper doesn't have to buy on the visit they arrived on:

  • UltraCart Analytics keeps visits for at least 365 days. When a returning visitor starts a checkout, UltraCart looks back through that visitor's earlier visits and recovers awc, even if the new visit's URL doesn't carry it. This works as long as the browser still has its UltraCart Analytics cookie. Safari limits cookies set by a script to 7 days, so a Safari shopper who returns after more than a week may not be matched.
  • The cart keeps awc for 186 days, and the checkout domain's awc cookie lasts 365 days. UltraCart's server sets that cookie, so Safari's 7-day limit doesn't apply to it.
  • Awin decides whether a sale still counts under your program's cookie period.

Before you start​

Collect these from your Awin account:

  • Advertiser ID, also called the MID or Merchant ID. Awin shows it under Account → Overview.
  • Conversion API key, used for the server-to-server report.
  • Commission group code, only if Awin set up a group for you other than DEFAULT.

If your storefront pages live on another site, such as WordPress, and only the checkout is on UltraCart, install the UltraCart Analytics script on that site with your checkout domain in its crosslink list. The script then adds awc to links that lead to your checkout. See Cross-Domain Identity Stitching (Crosslink).

Configure Awin​

  1. Go to Privacy & Tracking → Other → Awin.
  2. Enter your Advertiser ID.
  3. Enter your Conversion API Key.
  4. Enter a Commission Group if Awin gave you one. Leave it empty to use DEFAULT. Items without a commission group of their own are reported under this one.
  5. Select Save.
  6. Mark the items Awin should report. See Choose which items Awin reports. Until you mark at least one item, no sale is reported to Awin.

There is no on/off switch. Each field turns on part of the integration, and clearing it turns that part off:

What you fill inWhat it turns on
Advertiser IDThe Awin conversion tag and fallback pixel on the receipt page
Advertiser ID and Conversion API KeyAlso the server-to-server report through Awin's Conversion API

Choose which items Awin reports​

Awin pays commission on the amount you report, and your Awin program may not allow a 0% commission group. If your program covers only some of your products, the other products' value should not reach Awin. So each item opts in:

  1. Go to Items → Item Management and open the item.
  2. Go to the Other tab and select Awin. The Awin section appears only once at least one of your themes has an Awin Advertiser ID.
  3. Check Report to Awin.
  4. Optionally, enter an Awin Commission Group for this item, such as a group Awin set up for one product line. Leave it empty to use the theme's Commission Group.
  5. Select Save.

To mark many items at once, use the item import with the Awin Commissionable column (Y to report the item) and, optionally, the Awin Commission Group column. Both columns are in the item export once Awin is set up. See Other tab (Item Editor).

How an order is reported:

  • Only marked items count, at their value after discounts. Kit components are not counted separately; the kit itself is.
  • An order with no marked item is not reported to Awin, in either the conversion tag or the Conversion API.
  • In a mixed cart, only the marked items' value is reported.
  • Items in different commission groups are reported as separate parts, one per group.

What UltraCart sends to Awin​

Awin fieldValue
Order referenceThe UltraCart order ID
AmountThe value after discounts, before tax and shipping, of the items marked Report to Awin
CurrencyYour account's base currency
Commission groupsOne part per group: each item's Awin Commission Group, else your theme's Commission Group, else DEFAULT
Customer acquisitionNEW when the customer's email has no other order with you, RETURNING when it does. Left out when the order has no valid email.
VoucherThe first coupon code on the order, if any
Click checksum (awc)The value captured from the Awin landing page, in both the conversion tag and the server-to-server report
ChannelThe last-click source, or aw when none was recorded. See Deduplication.

Each order is reported to the Conversion API once. If an order moves back to Accounts Receivable and is approved again, it is not sent a second time.

Auto order rebills are not reported to Awin. A rebill does not carry the original order's Awin click, so only the first order of an auto order can earn an Awin commission.

You can use the customer acquisition value in Awin to pay a different commission, or none, for returning customers.

Every Conversion API call appears in the Integration Log Health Report under Awin Conversion API, with the request and Awin's response. The API key is masked in the log.

Deduplication with other channels​

If you also pay other channels for sales, such as Google Ads, email or another affiliate network, Awin can deduplicate: it pays its affiliate only when Awin was the last click. To support that, UltraCart reports the last-click channel with every sale, using Awin's source method:

  1. Add a source parameter to the links each channel sends shoppers to, such as ?source=google on your Google Ads URLs and ?source=email on your email links. Ask Awin to append source=aw to your Awin links. Values can be up to 20 letters and digits.
  2. UltraCart records the most recent source on the cart for 30 days. A visit with no source leaves the recorded value unchanged. A new Awin click (an awc without a source) counts as aw.
  3. The recorded source is sent as the channel in the conversion tag, the fallback pixel and the Conversion API report. When nothing was recorded, the channel is aw, Awin's own default.

UltraCart reads source only on storefronts with an Awin Advertiser ID. On a separate site such as WordPress, the UltraCart Analytics script remembers the source of the page the shopper landed on for the rest of that browsing session, and carries it to your checkout. An Awin click without a source counts as aw. So a shopper who first came from Awin, and later returns through your site from a Google ad tagged source=google, is reported with the google channel. A visit that lands with no source keeps the last recorded channel.

Talk to your Awin contact before changing your channel setup: an incorrect channel value can stop Awin from tracking sales.

Everflow​

Everflow is a partner marketing platform. The integration tracks inbound clicks and reports conversions back after payment.

  1. Go to Privacy & Tracking → Other → Everflow.
  2. Enter your Everflow domain and any parameter overrides you need.
  3. Select Save.

Everflow configuration on the Other tab

Your StoreFront watches inbound traffic for Everflow's parameters, typically _ef_transaction_id, and stores the associated information against the session. Once payment processes, UltraCart makes a server-to-server call to Everflow with the order details.

Attributing an upsell to Everflow​

Each upsell can carry its own Everflow advertiser event ID, set in the upsell's advanced settings. When a customer takes that upsell, UltraCart records the advertiser event ID as an item property on the order and includes it in the transmission to Everflow.

Everflow advertiser event id in the upsell advanced settings

Hyros​

Hyros is a tracking and attribution tool for digital businesses.

  1. Get your API key from Hyros.
  2. Go to Privacy & Tracking → Other → Hyros.
  3. Paste the API key into the configuration field, then select Save.

Hyros API key field

Hyros publishes its own API documentation if you need to understand what the platform does with the data it receives.

Northbeam​

Northbeam is an attribution platform built on first-party data.

  1. Go to Privacy & Tracking → Other → Northbeam.
  2. Enter your Data Client Id and API Key.
  3. Select Save.

Northbeam credentials on the Other tab

The Northbeam integration uses the server-to-server Orders API for both initial orders and rebill orders, alongside a tracking pixel injected into the checkout. Rebills are included, so subscription revenue is attributed rather than counted only at the first purchase.

ReferralCandy​

ReferralCandy runs referral and affiliate programs, tracking sales through referral links and coupon codes.

Before you start, collect two values from your ReferralCandy account:

  • Access Id
  • Secret Key

Then go to Privacy & Tracking → Other → ReferralCandy, enter both values, and select Save.

ReferralCandy Access Id and Secret Key fields

UltraCart then sends server-to-server conversion information to ReferralCandy. Every call to the ReferralCandy Conversion API appears in the Integration Log Health Report.

Share-A-Sale​

Share-A-Sale is an affiliate marketing network.

  1. Go to Privacy & Tracking → Other.
  2. Scroll to Share-A-Sale Merchant Id.
  3. Enter your merchant ID, then select Save at the bottom of the page.

Share-A-Sale Merchant Id field

Configuring Share-A-Sale here rather than pasting a snippet into your receipt footer means a theme update cannot overwrite it.

note

If you are not using StoreFronts, configure Share-A-Sale through the legacy checkout instructions instead.

RTB House​

RTB House receives order information through a webhook rather than a pixel. Provide a webhook URL in Privacy & Tracking → Other, in the RTB House section. UltraCart calls it once per order, after payment succeeds.

RTB House webhook URL field

The webhook receives a JSON payload in this shape:

{
"date": "2024-09-08T14:30:15.123Z",
"order_id": "DEMO-12345",
"order_value": 149.99,
"device": "Desktop",
"browser": "Chrome 118.0.5993.70",
"host": "shop.example.com",
"custom_field_4": "some tracking information here",
"items": [
{
"item_id": "PROD-001",
"description": "Wireless Bluetooth Headphones",
"quantity": 1
},
{
"item_id": "PROD-002",
"description": "USB-C Charging Cable",
"quantity": 2
}
]
}

Next steps​

  • Privacy and Tracking explains the tab these settings live on, and the privacy controls that govern when tracking fires at all.
  • Smart Attribution distributes credit across the whole customer journey instead of giving it all to the last click.
  • Offline Conversions feeds upsell and rebill revenue back to Google and Bing after the original order.
Was this page helpful?