Steps to Implement Offline Conversion Tracking on Shopify: Practical Guide
A step-by-step framework to capture phone, in-store and manual sales from Shopify and attribute them to your paid and organic channels.

Image via 123RF
In This Article
Capture identifiers
Server-side uploads
Reconcile and act
Why offline conversion tracking on Shopify matters
Offline conversion tracking on Shopify closes the attribution gap between recorded web conversions and revenue events that happen outside the checkout flow - phone orders, email invoices, in-person POS sales, or manually recorded B2B orders. For US-based founders and marketing teams, accurate offline conversion tracking improves CAC calculations, informs budget decisions across Google Ads and Meta, and protects your customer lifetime value assumptions.
Overview: the approach and prerequisites
This guide walks through steps to implement offline conversion tracking on Shopify using server-side uploads (Google Ads offline uploads or GA4 Measurement Protocol), Shopify order metadata, and clean attribution. Before you start, confirm:
- You have admin access to your Shopify store and the ability to add order tags or metafields.
- Your paid media accounts (e.g., Google Ads) have conversion actions configured to accept offline uploads.
- You can export or stream order data from Shopify (via webhooks, reports, or an ETL pipeline) to a server that can format and send conversions.
Step 1 - Capture the attribution identifiers at checkout
To match offline events to ad clicks or sessions, capture identifiers at the point of first contact or checkout. Store gclid, fbclid, or other click IDs in an order-level metafield or note attribute when a visitor arrives with those parameters. If you use server-side tagging, also persist first-party identifiers (client id or user id) in your customer records.
Implementation tips
- Use a small javascript snippet or your tag manager to read URL params and write them into a hidden checkout attribute (Shopify checkout scripts or additional apps may be required for Plus).
- If you run phone sales, require a lead form that captures the visit source or generate a unique lead ID mapped to the stored click IDs.
Step 2 - Mark offline conversions consistently in Shopify
Create a clear internal process to flag orders as offline conversions. That may be a specific order tag (e.g., offline-sale), a custom payment gateway label, or a metafield indicating 'sales_channel=offline'. Consistent tagging lets your ETL or upload script filter and process only the relevant orders for offline attribution.
Automation options
- Use Shopify webhooks (order/create or order/updated) to push order details into a processing queue.
- If you prefer a no-code route, export tagged orders regularly and map fields (order_id, customer_email, gclid, order_value) before upload.
Note: storing click identifiers and customer emails has privacy implications. Implement minimal retention, hashed identifiers where possible, and a consent-aware workflow respecting CCPA and other US privacy rules.
Want to see how these steps fit into a wider growth system? Explore our service overview for analytics and tracking to understand strategy and technical build options: Prebo Digital services.
Step 3 - Choose your upload method
Two common server-side options for offline conversion tracking on Shopify are:
- Google Ads offline conversions upload (match using gclid and timestamp).
- GA4 Measurement Protocol or a server-side tagging setup that records conversions into your analytics property and then maps to ad platforms.
For many Shopify stores, the most reliable path is a server that receives Shopify webhooks, enriches orders with stored click identifiers, hashes PII where required, formats conversion payloads, and uploads them via the ad platform API or the GA4 endpoint.
If you want an implementation blueprint or examples tailored to Shopify and server-side tracking, learn about our agency approach and frameworks: About Prebo Digital.
Step 4 - Map fields and hash where required
When preparing uploads, include these fields where possible: order_id, conversion_time (ISO 8601), conversion_value (US$), currency, gclid or click_id, and customer identifiers (email or phone) hashed with SHA256 when the platform requires. Hashing decreases risk while enabling deterministic matching.
Step 5 - Upload, schedule, and retry logic
Implement a scheduled batch job or near-real-time uploader. For reliability:
- Retry failed uploads with exponential backoff.
- Log responses and map platform status codes back to Shopify orders for auditing.
- Keep an upload ledger (order_id → upload_status → timestamp) for reconciliation with billing systems.
Conversion tracking diagram
Shopify order tagged (offline) ↓Webhook → ETL server ↓Enrich with gclid / hashed email ↓Format payload → Upload to Google Ads or GA4 ↓Platform matches offline conversion → Attribution updated
Step 6 - Validate, reconcile, and measure revenue impact
After uploads, validate that conversions appear in the ad platform and reconcile totals against Shopify sales reports. Expect a partial match rate (varies by channel and how completely identifiers are captured). Use reconciled figures to update CAC and MER calculations - for example, adding $5,000 of offline attributed revenue to a $50,000 ad spend changes MER and LTV/CAC assessments.
Funnel breakdown: where offline fits
- TOF (Top of Funnel): campaigns driving calls or lead forms.
- MOF (Middle): lead qualification, quote, or sales rep outreach.
- BOF (Bottom): offline sale recorded in Shopify and uploaded as an offline conversion.
Step 7 - Compliance and US privacy considerations
In the United States, state privacy laws like CCPA impose requirements on personal data collection and deletion. When capturing and uploading PII (emails, phones), follow minimisation, support deletion requests, and retain hashes rather than raw values when platforms allow. If you use cookies or local storage to persist identifiers, ensure consent flows are implemented where applicable.
Step 8 - Testing scenarios and best practices
Test with controlled orders: create test orders that include a test gclid and a small order value, then follow them through tagging, webhook processing, upload, and platform matching. Maintain a checklist that verifies field formatting, hashing, timestamps, and timezone alignment (use UTC for uploads).
Operationalizing offline conversion tracking on Shopify
Operational success depends on repeatable processes: consistent order tagging, reliable webhooks/ETL, hashed identifiers, and reconciliation dashboards. For teams scaling tracking across channels and stores, consider a server-side tagging and data pipeline approach tied to your analytics and attribution strategy. Learn how a technical-first agency integrates tracking with revenue-focused growth systems: Prebo Digital homepage.
Practical example (US eCommerce scenario)
Scenario: A Shopify store receives phone orders and records them as offline sales. The team captures gclid at initial contact, tags the order offline-sale, and a webhook sends the order to an ETL service that hashes the customer's email and uploads the conversion to Google Ads with conversion_value $120. After uploads and a 72-hour match window, a portion of those offline orders are matched back to ad clicks, lowering effective CAC by reallocating spend toward channels driving high-value offline conversions.
To discuss how this maps to your store and platform mix, see our contact page for a technical audit request: Contact Prebo Digital. You can also Explore the framework or See a real-world example from similar implementations.


