How we utilized Shopify Web Pixel API to reduce untracked orders to 2.5%

Currently, Shopify prevents the traditional method of tracking, which had been standard for stores using Shopify Plus—specifically, adding scripts directly to the page code via checkout.liquid. This approach now requires a different method due to the introduction of the so-called Web Pixel API, a new tool essential for the effective monitoring of traffic and events on store pages. These changes are part of a broader checkout update aimed at modernizing and enhancing the security of the purchasing processes. However, at the same time those affected the performance of many businesses.

New Shopify Standards

The changes in Shopify include a schedule for updating various stages of the checkout process. By August 13, 2024, store owners needed to update their information, shipping, and payment pages and by August 28, 2025, the thank-you and order status pages. The goal of these updates is to speed up and secure the purchasing process by eliminating reliance on external scripts implemented as part of the Shopify Plus package.

Consequences for Tracking

However, the introduction of so-called Checkout Extensibility has brought significant consequences for tracking capabilities. Stores lost the ability to embed popular tools like Google Tag Manager or Google Analytics directly into their page code, leading to confusion and operational problems. This sudden change halted the tracking of checkout steps and purchases, significantly impacting ongoing marketing campaigns.

Available Solutions

To continue tracking traffic and events, store owners can now use several methods:

  • Native Shopify Plugins: Easy to implement but limited to tracking only seven types of events with no customization options:
    • page_view
    • search
    • view_item
    • add_to_cart
    • begin_checkout
    • add_payment_info
    • purchase
  • Paid Solutions: Platforms like Elevar offer more advanced tracking tools but come with additional costs and require specialized implementation.
  • Independent Implementation of Web Pixel API: Although it requires advanced knowledge and intricate debugging, this method allows for significant customization and expansion of the tracked events. However, this approach is more difficult and time-consuming.

Web Pixel API

The Web Pixel API, operating as a sandbox outside the browser window, offers enormous customization possibilities for tracking. It supports over 15 standard events and numerous parameters, including selling plans, cart ID, customer ID, and product data. This capability enables tracking features that were not feasible in the previous approach without developer support, such as distinguishing between subscription orders and one-time purchases and passing such information to GA4 or marketing pixels.

On the other hand, it requires knowledge of how Shopify and tracking work, as the sandbox is not debuggable by standard tools like the Google Tag Manager debugger or marketing platform helpers (e.g., Meta Helper). If properly implemented, the Web Pixel API can be visualized in the developer’s console.

Moreover, it requires some technical skills to create code that subscribes to and pulls data from the API.

Sublime & Shopify

We have transitioned all of our Shopify clients to manual Web Pixel API implementation. By doing so, we were able to adjust their tracking to meet their needs and utilize the full capabilities of their business. Moreover, using Shopify & Sublime, we were able to significantly reduce untracked orders and enhance attribution.

Due to various reasons, even properly configured GA4 does not track 15-25% of orders. For businesses with a subscription model, this can be as high as 40-50%, depending on the subscription renewal rate.

By implementing the Web Pixel API and passing context identifiers and parameters, we were able to reduce the untracked order rate from 30% in GA4 to just 2.5%. In another case, a similar approach brought untracked events down from 43% to just 7%! Reducing these gaps allows for more accurate attribution, ensures data reliability, and empowers teams to make informed decisions.

Results of Shopify Web Pixel API implementation on untracked orders in Sublime

Summary

The changes introduced by Shopify have significantly impacted e-commerce, forcing store owners to adapt to new tracking methods. While these changes pose challenges, they also open up new possibilities for more advanced and secure data analysis solutions. The choice of the right tool depends on the specific business needs and the resources that can be allocated for its implementation.

When GA4 misses 15–25% of your orders, every decision is a guess. Schedule your free demo today and learn how we fix Shopify tracking with Web Pixel API.

Read our latest articles

Sublime-Attomy
How to Grow on Data: Analytics in Shopify
GUIDE
Read more
Boosting Campaigns with CAPI
Every Transaction Counts: Boosting Campaigns with CAPI
FEATURES
Read more
The Ultimate KPI Dashboard for DTC Growth Leaders
The Ultimate KPI Dashboard for DTC Growth Leaders
FEATURES
Read more
Personalization in E-commerce: Balance Between Scale and Experience
Personalization in E-commerce: Balance Between Scale and Experience
FEATURES
Read more

BUSINESS AREAS

SUBLIME IS A PERFECT MATCH FOR

Marketing teams

Sublime connects every campaign to real business outcomes, from first click to long-term retention and LTV. With first-party attribution and margin-based performance tracking, it becomes clear which channels truly drive profitable growth.

  • True impact of Meta, TikTok & influencers
  • Optimize ad spend based on margin
  • Retention & LTV by acquisition source
  • New vs returning users per campaign
  • Best-selling products to marketing channels

E-commerce teams

Sublime helps e-commerce teams understand how customers shop, why they come back and which products truly build long-term value. All in one structured, user-level customer journey, without stitching reports from GA4, Shopify or incomplete reports spread across platforms.

  • Retention by cohort or customer segment
  • Behaviors driving churn and repeat purchases
  • Discount impact from revenue to Margin II
  • High-value product pairs & cross-sell opportunities
  • Activate segments in Meta, Klaviyo, TikTok

Data analysts

Sublime gives analysts a trusted foundation to work with: raw user-level data, unified into one consistent model. With a consistent model and full SQL access, data teams can build dashboards from custom metrics and segments to advanced attribution and retention models.

You can:

  • Build custom dashboards on unified data
  • Explore raw events with SQL
  • Integrate Sublime with your existing BI tools
  • Define new metrics and custom segments
  • Full customer journeys across channels

BUSINESS AREAS

SUBLIME IS A PERFECT MATCH FOR

FEATURES

DATA-DRIVEN CAPABILITIES

True value of Meta and TikTok campaigns.

Sublime Analytics Platform connects customer journeys across devices and channels to show which campaigns truly drive valuable users.

Unlike GA4 (Google Analytics 4) or marketing platform reports, it captures the full path to conversion and beyond.

Optimize marketing spend based on profit

Revenue doesn’t always reflect true business performance – what really matters is profit.

Sublime lets you evaluate campaign effectiveness based on contribution margin and optimize for POAS (Profit on Ad Spend), instead of just ROAS (Return on Ad Spend).

Influencer campaigns tracked and measured like channels

Traffic and conversions from influencer links and coupon codes are attributed directly in the model.

This puts creators on the same playing field as paid, organic, or affiliate channels.

LTV broken down by acquisition channels.

You can see how lifetime value evolves over time by channel – Meta, Google, email, influencer, and more. Focus the budget on sources that bring in loyal, profitable customers.

True value of Meta and TikTok campaigns.

Sublime Analytics Platform connects customer journeys across devices and channels to show which campaigns truly drive valuable users.

Unlike GA4 (Google Analytics 4) or marketing platform reports, it captures the full path to conversion and beyond.

Revenue doesn’t always reflect true business performance – what really matters is profit.

Sublime lets you evaluate campaign effectiveness based on contribution margin and optimize for POAS (Profit on Ad Spend), instead of just ROAS (Return on Ad Spend).

Traffic and conversions from influencer links and coupon codes are attributed directly in the model.

This puts creators on the same playing field as paid, organic, or affiliate channels.

You can see how lifetime value evolves over time by channel – Meta, Google, email, influencer, and more. Focus the budget on sources that bring in loyal, profitable customers.

Unlock your business potential with Sublime