CHAPTER 7

image

Ecommerce: Tracking Products and Purchases

“And if you take one from three hundred and sixty-five what remains?”

“Three hundred and sixty-four, of course.”

Humpty Dumpty looked doubtful, “I’d rather see that done on paper,” he said.

—Lewis Carroll, Through the Looking Glass

For sites that sell products, you can gather additional data about the purchases users make on the site. Google Analytics offers two levels of detail in tracking ecommerce:

  • Basic ecommerce tracking tracks purchases only. Since it is only concerned with the completed purchase, you only need to make changes in GTM for the final purchase confirmation page.
  • Enhanced ...

Get Practical Google Analytics and Google Tag Manager for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.