Skip to content
James Ross
Agency · Front RowIn use

Attribution recovery

Shopify Attribution Recovery for Google Ads

Shopify custom app recovering marketing attribution for phone-assisted and staff-created orders and returning conversions to Google Ads.

stack: Next.js 15 · PostgreSQL · Shopify Admin GraphQL · Google Ads API · Call Tracking

Built for Front Row's digital division. Client details withheld.

01 / Problem

The problem

When customers call in or staff place draft orders inside Shopify, web session attribution is lost—under-reporting paid search performance in Google Ads.

02 / Architecture

The build

  • Shopify custom app integrating call-tracking records with Shopify order metadata via Shopify Admin GraphQL.
  • Matches phone-assisted and staff-created orders back to originating sessions and attaches explicit confidence labels.
  • Sends recovered conversion events to the Google Ads API from a Next.js 15 and Postgres application.

03 / Diagram

System schematic

SOURCE 01Shopify Admin GraphQLPhone & staff-created ordersSOURCE 02Call Tracking IntegrationInbound phone session logsATTRIBUTION ENGINENext.js 15 + PostgresShopify Custom AppOrder ↔ session matchingConfidence labels attachedCONVERSION RECOVERYGoogle Ads APIRecovered offline conversionsClosed-loop bidding signal
Call-tracking and Shopify Admin GraphQL order streams matched with confidence scoring before upload to the Google Ads API.

04 / Scope

Status & scale

Status

In use

Order types

Phone & staff-created

Output

Confidence-labeled conversions

Destination

Google Ads API

05 / Stack

Components

  • Next.js 15
  • PostgreSQL
  • Shopify Admin GraphQL
  • Google Ads API
  • Call Tracking

06 / Writing