Docs menu · Overview

Docs / COD Order Protection

Overview

COD Order Protection

Hold cash-on-delivery purchases at checkout, confirm the real orders, then send them to Meta, GA4, Google Ads and TikTok with the original order time.

How it works

  1. A customer places a cash-on-delivery order. Your GTM holds the purchase: nothing reaches Meta, GA4, Google Ads or TikTok at checkout. Prepaid orders (bKash, card, …) go out as usual.
  2. PixelFly keeps the order in COD Held Orders: value, products, customer, cookies, click IDs and the GA client/session.
  3. You confirm or reject it in the dashboard, or your store does it automatically through the webhook.
  4. Confirmed: PixelFly sends the purchase, with the original order time, to your ad platforms. Rejected: nothing is sent.

Step 1, for every setup: turn it on in PixelFly

  1. PixelFly → your container → Power-ups → COD Order Protection → on. Do this before switching COD on in GTM.
  2. Fire path: sGTM containers choose sGTM /data (recommended; it runs your server tags, including Google Ads) or Receivers. Proxy containers always use Receivers: add a Receiver for each platform (Meta, GA4, TikTok, Google Ads).
  3. Note the Hold URL, Webhook URL and Webhook Secret it shows, and your container’s API Key (container page). The API Key starts with pf_live_; the webhook secret (pfwh_) is only for the webhook.

Where a confirmed purchase goes

PlatformsGTM (fire path sGTM /data)Proxy (Receivers)
MetaFacebook CAPI tagMeta Receiver
GA4GA4 server tagGA4 Receiver, with GA4 purchase via = pixelfly
TikTokTikTok Events API tagTikTok Receiver
Google AdsGoogle Ads Conversion (COD confirmed) tagGA4 → Google Ads import, or a Google Ads (click conversions) Receiver. One, not both

The order keeps its GA client and session IDs, so GA4 and a GA4 → Google Ads import credit the ad that brought the shopper. Google Ads needs the click ID (gclid) saved at checkout.

We use cookies to enhance your experience, analyze site traffic, and for marketing purposes. By continuing to use our site, you consent to our use of cookies. Learn more