About Tracking

Ad Platform Tracking

Meta Pixel + CAPI TikTok CAPI LinkedIn CAPI Snapchat CAPI Pinterest CAPI Quora Pixel Bing + UET Tag

Google Ecosystem

Google Ads Tracking GA4 Setup & Audit Google Tag Manager

Advanced Solutions

Server-Side Tracking Looker Studio Offline Conversion
Case Studies Blog Free Checklist Book Free Audit →

Shopify’s B2B and wholesale features — including price lists, company accounts, and net payment terms — create tracking challenges that do not exist for standard B2C stores. The standard tracking setup built for consumer ecommerce does not map cleanly to how B2B buyers actually make purchasing decisions.

This guide covers the specific tracking considerations for Shopify B2B stores and how to set up analytics that actually reflects how your wholesale business works.

How B2B Shopify Tracking Differs from B2C

Several fundamental differences between B2B and B2C affect how you should set up tracking:

What to Track in a B2B Shopify Store

For B2B tracking, shift your focus from purchase events (which still matter) to earlier funnel signals:

Setting Up GA4 for B2B Tracking

Custom events for B2B-specific actions

Create custom GA4 events for actions that matter in a B2B context but are not covered by standard ecommerce events:

User ID for cross-device tracking

B2B buyers frequently research on mobile and purchase on desktop. Implement GA4’s User ID feature by sending your Shopify customer ID as the user_id when a buyer logs in. This stitches cross-device sessions together so you see the complete buying journey.

Custom dimensions for B2B account data

Add these as user-scoped or session-scoped custom dimensions in GA4:

These dimensions let you segment all GA4 reports by customer type and understand which segments have the best ROAS, retention, and lifetime value.

Ad Attribution for B2B: The Right Expectations

Standard ad platform attribution (7-day click) severely underestimates the impact of advertising for B2B stores. A wholesale buyer who first saw your ad at a trade show, visited your site three weeks later, requested a quote, and placed an order 45 days later will show as “direct” or “unattributed” in most attribution reports.

For B2B advertising, use GA4’s longer attribution windows (90-day look-back in Explore), and focus on measuring form submissions and quote requests as your primary conversion goal rather than completed orders. These earlier funnel events happen closer to ad exposure and are more attributable to your campaigns.

Tracking the B2B Sales Process in CRM

For Shopify B2B stores that use a CRM (HubSpot, Salesforce, Pipedrive), the most accurate picture of ad ROI comes from connecting ad platform data to CRM deal data. Track which leads came from which ads by passing UTM parameters through from the first website visit to the CRM contact record, then measure what percentage of those leads became customers and what revenue they generated.

This offline conversion approach gives you better attribution than any browser-based tracking can provide for B2B sales cycles.

Set Up Tracking That Reflects Your B2B Business

Standard ecommerce tracking treats every purchase as equally attributable to the session that triggered the checkout. For B2B, this is almost never true. Getting accurate B2B analytics requires custom event design, User ID implementation, and longer attribution windows.

Book your free Shopify tracking audit here and we will help you set up tracking that actually reflects how your B2B buyers make decisions.

Leave a Reply

Your email address will not be published. Required fields are marked *