Last-click attribution gave branded search all the credit for a sale that started with a TikTok video three days earlier. That's not a hypothetical, it's just how the default GA4 report works, and it's why so many brands overfund the channels closest to checkout while quietly starving the ones that actually built demand. A data-driven attribution model for ecommerce fixes this by assigning credit based on what the data shows, not on which touchpoint happened to come last. Here's how it actually works, and what it takes to run one properly.