Google Tag Manager and Google Analytics APIs

But Alice had got so much into the way of expecting nothing but out-of-the-way things to happen, that it seemed quite dull and stupid for life to go on in the common way.

—Lewis Carroll, Alice’s Adventures in Wonderland

This book has primarily focused on using the GTM and GA web interfaces for configuration to get data into our reports. However, it bears mentioning that both tools offer APIs for configuration and getting out data.

An application programming interface (API) is simply a standardized way for a third-party application or script to read or write data to another tool. Interfacing ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.