CHAPTER 3

image

Introducing Google Tag Manager

At this moment the King, who had been for some time busily writing in his note-book, cackled out “Silence!” and read out from his book, “Rule Forty-two. All persons more than a mile high to leave the court.”

—Lewis Carroll, Alice’s Adventures in Wonderland

The basic Google Analytics code (see Chapter 2) isn’t very complicated. Put it in your template and you’re all set. Except… Well, there are still a bunch of chapters left in this book with additional types of data you might want to track with GA, many of which involve adding more code. A little piece here for PDF tracking, another little bit over there ...

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.