Skip to main content

Tracking Interactions with Google Tag Manager

  • Chapter
  • 2026 Accesses

Abstract

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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 1.

    This very elegant function was first proposed by Stephane Hamel on the GTM Google+ community.

  2. 2.

    Credit to Doug Hall at Conversion Works for first suggesting this pattern.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 LunaMetrics, LLC

About this chapter

Cite this chapter

Weber, J. (2015). Tracking Interactions with Google Tag Manager. In: Practical Google Analytics and Google Tag Manager for Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0265-4_5

Download citation

Publish with us

Policies and ethics