Shopify and RedTrack


Shopify is the leading cloud-based, multi-channel commerce platform. Merchants can use the software to design, set up, and manage their stores across multiple sales channels, including web, mobile, social media, marketplaces, brick-and-mortar locations, and pop-up shops. The Shopify platform was engineered for reliability and scale, making enterprise-level technology available to businesses of all sizes.
RedTrack allows you to integrate with Shopify via an API. That means:
- All your conversion events are tracked on the backend automatically.
- The highest level of accuracy for conversion and revenue delivery.
Integration
1. Known limitations: check your setup first
Standard Shopify with native checkout works well. The cases below show up only when your store steps outside that native flow.
If your setup includes… | What to expect | What to check |
|---|---|---|
A third-party or off-Shopify checkout (Funnelish, for example) | The click ID is dropped at the redirect to the external checkout, so you’ll see clicks but few or no conversions. Forwarding it across takes custom developer work and differs per platform, some funnels in particular have no standard workflow or guide yet. | Confirm the click ID is passed into the external checkout’s URL. If it isn’t, plan for custom dev and tell support which checkout you use. |
A COD plugin (Releasit COD, xConnector, or similar) | The RedTrack Shopify app can conflict with the COD app, so the purchase webhook may not fire. | Name the COD app to support before relying on tracking, and confirm orders reach “Processing” so the webhook fires. |
A call-center COD funnel (form → phone confirmation → approved order) | No built-in flow links the form-submit click ID to the eventually confirmed purchase. RedTrack takes S2S postbacks at each step, but tying them together needs custom work. Without it you’ll see leads, not paid orders. | Capture the click ID at form submit, pass it through your CRM to the agent, and fire a postback when the order is confirmed. |
An upsell app (Rebuy, MOTIO) running alongside the tracking script | The script can interfere with the app’s cart logic and throw off upsell counts or free-gift promotions. | If upsell numbers look off, tell support which app you run. |
Two click ID fields on the same order (e.g. __clickid vs clickid with different values) | Matching breaks and the purchase won’t register. | Make sure exactly one click ID field maps to the click RedTrack expects, and install the /click script for the lander domain. |
2. RedTrack steps
1. Create custom conversion events.
Tools → Conversion tracking → Conversion types → add the events for Shopify → Save. Use this guide to help you add the events, set up postback modes for them, etc.

Here’s the list of Shopify events you can track with RT:
- ViewContent
- AddToCart
- InitiateCheckout
- Purchase
- Upsell
To track this event properly, add it in RT + set up a Webhook in Shopify. - Cancelled
This event type presupposes manually and automatically cancelled orders from Shopify. - Shipping
This event type presupposes the cost of shipping minus the cost of purchase and the Payout value for this event type is counted with a minus. - Subscription
- Recurring
- Refund
This event is counted with a minus payout.
2. Create a paid traffic ad tracking.
The ad tracking for the unattributed (organic) traffic is already in place. Now you need to create the one for the paid traffic. Follow these simple steps:
- Add the Traffic channel. Most of them have a preset template in RedTrack.
- Launch an ad tracking for the paid Traffic channel. Your website/shop will be the main link added to the traffic channel.
3. Shopify steps
1. Install the RedTrack app
1.1 From your Shopify admin, click on Apps → Type RedTrack in the search bar → Click Search “RedTrack” in Shopify App Store → In the App Store results, click the RedTrack app → click Install:



1.2 In the Install app window, click Install again to confirm:

2. Complete the App setup
2.1 In the Setup Required card → click “Theme Editor → App Embeds” → enable “RedTrack Tracking” → Save changes:


2.2 In the Tracking Pixel card → turn on Activate Pixel:

3. Advanced settings
3.1 In the Advanced Settings card → click Go to Settings:

3.2 This opens the Settings page with all RedTrack configuration blocks:


- Tracking domain: enter the custom tracking domain you created in step 2.
- Default campaign: pick your default campaign from the list, or paste the campaign ID into the field if you already have it.
If your store runs subscriptions through Recharge platform, connect it here to track recurring revenue:
- Recharge Token: paste your Recharge token into the field, then click Register Recharge Webhooks. The webhooks are registered automatically, with no manual setup required.
If you don’t use Recharge, you can skip this block.
Configure how each type of conversion is counted. For every conversion type, choose which order status should count as a conversion, and decide whether to include shipping and tax in the revenue value.
- Order Status: select the status that should register as this conversion (for example, count a Purchase only once it is Paid). By default, every conversion type is set to “Any”, so conversions are registered regardless of the order’s status.
- Shipping: check this box to include shipping costs in the conversion’s revenue value.
- Tax: check this box to include tax in the conversion’s revenue value.
| Conversion Type | Order Status options |
|---|---|
| Purchase | Any, Pending, Partially paid, Paid |
| Upsell | Any, Pending, Partially paid, Paid |
| Subscription | Any, Pending, Partially paid, Paid |
| Recurring | Any, Pending, Partially paid, Paid |
| Refund | Any, Refunded, Partially refunded |
| Cancelled | Any, Voided |
3.3 Once you are done, remember to click Save Settings to apply the changes:

▸ If you want to track manually added orders in Shopify with RedTrack, refer to this article for additional setup steps.
▸ If your Shopify store domain or/and custom tracking domain were changed you must update these domains in RedTrack and/or Shopify for correct tracking. Refer to this article for additional setup steps.
▸ If you use a landing page before the shop, plus the landing page and Shopify shop domains are different, refer to this article for setup.
▸ If your Shopify store is connected with Cartpanda, refer to this article for additional setup steps related to this case.