Multi-Channel Attribution for Medical Device Sales: Bridging Clicks, Calls, and Subdomains
A medical device provider lacked visibility into which Facebook ads drove high-value phone consultations.
We engineered a unified attribution bridge using Google Tag Manager and Call Tracking Metrics (CTM). This maintained the HubSpot tracking cookie across embedded Formstack iframes and BigCommerce subdomains to deliver full-funnel ROAS tracking.
Executive Summary
Context
A hardware provider in the oxygen concentrator space was running high-spend Facebook and Google Ads campaigns but lacked a unified way to track which ad sets were driving the most valuable Rent-To-Own phone calls and medical quiz fills.
What We Built
A unified tracking architecture using Google Tag Manager and custom JavaScript to maintain session continuity across three domains, integrated with Call Tracking Metrics (CTM) for full-funnel attribution.
Tech Stack
- HubSpot CMS: Top-of-funnel tracking
- Call Tracking Metrics (CTM): Dynamic number insertion (DNI) and call-to-lead mapping
- Google Tag Manager (GTM): The central orchestration layer
- Facebook Pixel & GA: Conversion goal alignment
- BigCommerce: Subdomain transaction tracking.
Not a fit for low-touch eCommerce where phone calls are not a primary conversion vector or for organizations using a single-platform, monolithic tech stack.
The Challenge
Standard tracking scripts lose session IDs when users transition from HubSpot CMS to embedded Formstack iframes or BigCommerce subdomains. Because oxygen concentrators are high-consideration purchases, a significant percentage of users converted via phone. Without a technical bridge, the marketing team was unable to credit Facebook ad spend to the high-value phone consultations that closed the majority of their business.
Our Approach
A global Identifier strategy using Google Tag Manager solved this. We deployed a custom JavaScript snippet across the HubSpot and BigCommerce environments that captured the user’s unique HubSpot utk and passed it into the Formstack iframe as a hidden field. To solve the phone call gap, we integrated Call Tracking Metrics (CTM) with HubSpot. We used Dynamic Number Insertion (DNI) to show each visitor a unique phone number. When that number was dialed, CTM recognized the digital session ID, pushed the call data into HubSpot, and mapped it back to the original Facebook ad click.
Impact
Offline Calls Linked to Ads at $55.65 CPA
7 Conversion Goals Re-Tracked Across Platforms
Verified CPL Accuracy
Operational Transparency
An attribution architecture resolving digital session fragmentation across subdomains and iframe embeds. Utilizing a custom JavaScript bridge, it maps the HubSpot tracking cookie into hidden fields while using Dynamic Number Insertion (DNI) to link offline phone calls to digital session IDs. This restores core conversion tracking and validates multi-channel return on ad spend.
FAQ