How to Exclude Orders by Source Channel in GA4 Server-Side

Learn how to block draft, POS, or test orders from being sent to Google Analytics 4 using Analyzify's GA4 server-side tracking.

When setting up Google Analytics 4 (GA4) Server-Side Tracking in Analyzify, you can exclude specific order types from being sent to GA4. This is done using the Exclude Sales Channels setting.

This is particularly useful if:

  • You use Shopify POS and don’t want those sales reflected in your GA4 e-commerce reports.
  • You create draft orders or internal test orders that you want to exclude from your analytics.
  • You want to keep your GA4 data clean, consistent, and focused on online checkout conversions.

What Are Shopify Sales Channels?

Each Shopify order has a metadata field called source_name , which indicates where the order was created . Common source_name values include:

Source Name

Description

web

Orders placed via your online store checkout

pos

Orders placed through Shopify Point of Sale

draft

Manually created draft orders

shopify_draft_order

Orders created through the draft order API

iphone

Orders placed through Shopify Mobile app

How to Find the Correct Source Channel Name

⚠️ It's important to use the internal source_name (not the name shown in Shopify Admin). Here's how:

Where to Find the Setting

You can configure this feature during the GA4 Server-Side Conversion Tracking setup:

  1. Go to the Analyzify app .
  2. Open the Google Analytics 4 integration.
  3. Click on Server-Side Tracking .
  4. Locate the "Exclude Sales Channels" section in Settings.
  5. Toggle it ON and enter the source channel names (e.g., draft , pos ) separated by commas.

Once configured, Analyzify will exclude these orders from server-side purchase events sent to GA4. You can update this list anytime—even after setup. If you’re unsure which source names to exclude, reach out to our support team for help reviewing your order data.

Table Of Contents