Integrate with Shopify

impact.com Affiliate Marketing on Shopify integrates impact.com's conversion tracking & reporting with your Shopify store. Our app is a no-code plugin, meaning you can integrate and end-to-end test without needing web development expertise.

This guide covers…

  • A check that needs to be performed before integrating
  • How to find and install the impact.com plugin on your Shopify store
  • Full end-to-end conversion testing in your store
  • Troubleshooting tips
  • How order (and item) reversals and modifications work

🚧

Important:

If you're looking to integrate your impact.com Creator campaign with your Shopify store for product gifting purposes, refer to Integrate with Shopify for Product Gifting instead.

Check before integrating

impact.com will complete several integration steps on your behalf. Check with your implementation engineer to ensure that the following configuration steps have been completed: Event Type, Gateway Tracking, General Tracking.

Confirm the following about your Shopify store & impact.com account:

Install the impact.com app on your Shopify store


This instruction set covers installing impact.com Affiliate Marketing to your Shopify store.

Install impact.com Affiliate Marketing

  1. While logged in to Shopify, visit the impact.com Affiliate Marketing app in the Shopify App Store and select Install.

  2. Shopify will prompt you to install Impact: Partnership Cloud. Review the details on the screen, and select Install App.

  3. Once installed, find the app in your list of Shopify apps. To begin, select Set up your integration.

  4. Select a tab to view the next set-up steps for your impact.com program.

  5. Under the Account Settings tab, input your impact.com account settings.

    See the Settings reference below for instructions on where to find the details needed.



  6. Select Save. You'll see a confirmation screen for the enabled integration, along with your impact.com account info.

Settings reference

SettingDescription
Impact Account SID*Navigate to
[Menu] → Settings → API
to find your Account SID. Copy the full case-sensitive value.
Auth Token*Navigate to
[Menu] → Settings → API
to find your Auth Token. Copy the full case-sensitive value.
Universal Tracking Tag (UTT)*Navigate to
[Menu] → Settings → General
. Paste your entire unique UTT code into this field.
Program ID*Enter your Program ID value (a.k.a Campaign ID value). To find this value, select your brand name in the upper-left corner of your impact.com account. Your program ID is shown in gray type under your program name in the program column.
|
Sale and Subscriptions Tracker*Navigate to
[Menu] → Settings → Event Types
. Your Event Type ID is the number in parenthesis next to the name of the event type — enter the number alongside the Online Sale event type.
Recurring Subscriptions TrackerLeave this field blank.
(* Indicates required field)

Alternatively, refer to your Program Elements document for your specific account information.

End-to-End Testing

Once the impact.com app is fully installed, you can begin end-to-end testing to ensure everything is working properly. Learn how to proceed with End-to-End Testing.

Troubleshooting


My test conversion isn't appearing in impact.com

If your test conversion isn't appearing, check the following:

  • You've waited at least 30 minutes since the test conversion occurred in your Shopify store. Conversion reporting can take up to 2-4 hours during peak times — consider checking back later in a few hours.
  • Your Event Type ID in Shopify exactly matches the Event Type ID in impact.com.
  • Use the OrderId (OID) Lookup tool to search for the Shopify Order ID of the test order.

If the conversion still hasn't appeared after several hours, there may be something wrong with integration. Reverse the order in Shopify, verify that you've followed the installation instructions & end-to-end testing instructions closely, then try again.

IrClickId appears under "Additional Details" on the Shopify Order page

When you view an order in Shopify that was tracked by impact.com, you may notice the irclickid value appears in the Additional Details section on the order page.

The integration does not overwrite any existing or new notes you apply to customers in Shopify. Any notes you had for a customer will remain untouched, and new notes can be individually created.

Modifications & Reversals


Once integrated, you can modify & reverse items and/or entire orders in Shopify and Impact will update actions accordingly.

❗️

Important!

Modifications and reversals you make in impact.com will not be sent to Shopify — we recommend always modifying or reversing items & orders in Shopify first, then confirm it was modified/reversed in impact.com's platform.

A few things to keep in mind:

  • A SKU represents an item within an order. For example, if an order has 1 item with the SKU 1ABC23 priced at 10.00, the line item SKU amount would be 10.00.
  • A line item SKU is a SKU with a quantity larger than 1 in an order (e.g., the order has multiples of the same item). For example, if an order has 2 items, both with the SKU 1ABC23 priced at 10.00 each, the line item SKU amount would be 20.00. impact.com will always show the line item SKU amount.
  • When applying order-level reversals, the amount reversed from the order is distributed and weighted across all items within an order. In some cases, reversing certain amounts at the order-level could completely reverse an item if the item's price is less than the weighted amount that's applied to it.
  • When applying item-level reversals after an order level discount has already been applied, the remaining amount for the item will be weighted / deducted across the remaining items.

Item-level reversals

When modifying a SKU in Shopify, impact.com will receive the updated Quantity and Amount and apply it to the item.

Example

  1. Shopify reports an order to Impact with two different SKUs that both have the same price:

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 10.00  |
    | 9XYZ87 | 10.00  |
    |=================|
    |  TOTAL | 20.00  |
    +-----------------+
    
  2. In Shopify, a 5.00 reversal is applied to this order, which is distributed across all SKUs in the order. It will now show in Impact as:

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 07.50  |
    | 9XYZ87 | 07.50  |
    |=================|
    |  TOTAL | 15.00  |
    +-----------------+
    

    The 5.00 is split evenly across the price of the two items in the order.

  3. Let's reverse an individual line item: SKU 1ABC23 is fully reversed, which at its original price of 10.00, means that 10.00 is reduced from the order.

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 00.00  |
    | 9XYZ87 | 05.00  |
    |=================|
    |  TOTAL | 05.00  |
    +-----------------+
    

    Since the item was already reduced at the order level, the remaining 2.50 that can't be removed from 1ABC23 (since it was already reduced) is applied evenly to the rest of the items in the order.

  4. One final step: reverse 9XYZ87, meaning 10.00 is reduced from the order. Since it's the only item left and has been reduced down to 5.00, reversing this will refund the entire order in Shopify and reverse the action in Impact.

Order-level reversals

Example

  1. Shopify reports an order to Impact with two different SKUs that both have the same price:

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 10.00  |
    | 9XYZ87 | 10.00  |
    |=================|
    |  TOTAL | 20.00  |
    +-----------------+
    
  2. In Shopify, a 5.00 reversal is applied to this order, which is distributed across all SKUs in the order. It will now show in Impact as:

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 07.50  |
    | 9XYZ87 | 07.50  |
    |=================|
    |  TOTAL | 15.00  |
    +-----------------+
    

    The 5.00 is split evenly across the price of the two items in the order.

  3. Going another step further, the order has a 15.00 reversal applied to it in Shopify. The order is fully refunded in Shopify and reversed in Impact:

    +-----------------+
    |  ITEM  | PRICE  |
    |========|========|
    | 1ABC23 | 00.00  |
    | 9XYZ87 | 00.00  |
    |=================|
    |  TOTAL | 00.00  |
    +-----------------+
    

Supported parameters


The table below lists all of the supported parameters of the integration — in other words, data that Impact captures from Shopify.

Parameter Example Description
CampaignId 8882 Also known as a Program ID, this is the ID number for your Impact program/campaign.
ActionTrackerId 16027 Also known as the Event Type ID, this is the ID number for your Impact event type.
EventDate 2020-06-18T14%3A33%3A49 Tracks the date that the action occurred.
ClickId 2uz3sQWFlxyJRcqwUx0Mo34VUkiyyO0tIzeG3U0 This is the Click Id associated with the action.
OrderId 2516623458378 This is the Impact Oid (Order ID) value associated with the action (not the Shopify Order ID).
CustomerId 3222174466122 If you're tracking and passing customer info, this is an ID number to reference the customer associated with the order.
CustomerEmail 38b85baa75385758d44d3dbfd97921c32e0d09a9 If you're tracking and passing customer info, this is the SHA1 hash of the customer's email.
CustomerStatus EXISTING or NEW If you're tracking and passing customer info, this is the status of the customer associated with the order.
CurrencyCode USD This is the currency code for the currency recorded in the action.
IpAddress 1.1.1.1 The IP address associated with the action.
UserAgent Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0 The user agent string associated with the action.
For item-level data, the {i} value is replaced with an integer (e.g., 1), and increased for each item that's reported to impact.com. For example, If an order had two items, it'd report ItemSku1, ItemQuantity1, ItemCategory1, ItemSubTotal1, then ItemSku2, ItemQuantity2, etc.
ItemSku{i} KS944RUR The Shopify SKU number for an item in the action.
ItemQuantity{i} 1 The quantity amount for the first item in the action.
ItemCategory{i} Big Black Anvil The name of the Shopify product (called Title on Shopify).
ItemSubtotal{i} 60.00 The subtotal amount of the item before taxes, shipping, and any other costs are added onto the total.
OrderPromoCode{i} Welcome10 Promo code used for the order tracked by the conversion. Only works as an attribution key if this code was assigned as a unique tracking code to a particular partner. In that case, that partner will win credit for this conversion.