Subscription behavior lived outside GA4 and the 300K-user dataset exceeded what Excel could process, leaving marketing unable to segment campaigns by real subscriber behavior. I built a Python and Spark pipeline on Databricks to stream that data into GA4 continuously.
Role Built and owned the GA4 subscription data pipeline end-to-end — Spark querying, Python transformation, and automated scheduling on Databricks
Marketing needed subscription behavior in GA4 to optimize ad campaigns, but the data lived elsewhere and couldn't get there at scale.
GA4 lacked the subscription event and property data marketing needed to optimize campaign targeting.
The 300K-user subscription dataset exceeded what spreadsheet-based processing could realistically transform.
Without granular segmentation data, ad spend couldn't be directed toward the highest-value subscriber segments.
Getting subscription data into GA4 meant solving three problems at once: querying at scale, reshaping for GA4's event format, and delivering on a schedule.
Efficiently pulling subscription data from source databases at 300K-user scale required distributed query execution.
Raw subscription records had to be transformed and batched into the event and user-property format GA4's API expects.
Marketing needed continuous, automated delivery of fresh subscription data, not manual periodic exports.
Built on Databricks, the pipeline queries, batches, transforms, and ships subscription data to GA4 on an automated schedule.
Used Spark SQL on Databricks to efficiently query subscription data for 300K users directly from source databases.Spark SQL · Databricks
Broke the 300K-user dataset into manageable batches with Spark, then transformed records into GA4's required event format with Python.Python · Spark batching
Used the ga4mp API in Python to send transformed events and user properties into GA4 as granular, real-time records.ga4mp · Python
Scheduled the pipeline on Databricks for continuous automated processing, keeping GA4 data current without manual exports.Databricks · job scheduling
Rich, granular subscription data now flows continuously into GA4, giving marketing a durable foundation for segmentation and conversion tracking far beyond the original campaign.
The Spark + Databricks batching pattern generalizes to other large datasets that previously hit Excel's limits.
Scheduled Databricks jobs keep GA4 data current automatically, removing manual export work entirely.
Let's talk
Tell me your biggest data or AI bottleneck and I'll send you how I'd approach it — the same way I worked this problem. No résumé dump, no pitch. Just a useful conversation.
Start the conversation →