CHAPTER 5

image

Tracking Interactions with Google Tag Manager

“Alice had begun to think that very few things indeed were really impossible.”

—Lewis Carroll, Alice’s Adventures in Wonderland

Beyond the basics of measuring pageviews, there are often other interactions, within pages, that you’re interested in tracking with Google Analytics. These might include clicks on elements of the page, such as links to downloads or external websites, interactions with embedded video, or social media buttons on a page. This chapter discusses collecting data on those types of interactions using Google Tag Manager to send data to Google Analytics.

Tracking Interaction ...

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.