How to Track Marketo Forms in Google Analytics Using Google Tag Manager

Marketo is one of the most popular marketing automation platforms, particularly among enterprise businesses. Using Google Tag Manager, it is possible to set up tracking of Marketo forms globally across your site, letting you trigger not only Google Analytics events, but other analytics and pixels as well. Marketo Form2 Library Marketo uses a JavaScript library … Continue reading How to Track Marketo Forms in Google Analytics Using Google Tag Manager

Google Tag Manager Utility Function Library

A set of common helper functions for creating custom tracking scripts within GTM. This micro-library is contained within a single variable so it can be pulled in to any other tag or variable using the underscorejs pattern of: var _ = {{Utility Library}}; _.addEvent(document.querySelector('.article a'), 'click', function(e){ console.log('article link click!'); }); This approach provides a few benefits: … Continue reading Google Tag Manager Utility Function Library

Building a Better Scroll Depth Tracking Plugin for Google Analytics

This post was first published May 10, 2016 on SERPs.com — some of the content may now be outdated. I’ve since moved to primarily GTM-based analytics tagging. I hope to post an update on my updated scroll tracking approach using GTM in the future. Many websites use custom scripts to record user interactions over and above what analytics … Continue reading Building a Better Scroll Depth Tracking Plugin for Google Analytics