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 ...