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.

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.
  5. Select Save.

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

What UltraCart sends to Awin​

Awin fieldValue
Order referenceThe UltraCart order ID
AmountThe order subtotal after discounts, before tax and shipping
CurrencyYour account's base currency
Commission groupYour Commission Group, or DEFAULT
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.

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 carries source to your checkout only while the shopper has an Awin click in that browsing session. A shopper who returns later from another channel and goes straight to checkout from your site keeps the earlier 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?