Despite how great tag management tools are, many sites out there still haven’t made the switch. It’s no big surprise, though; to the uninitiated, tag management can seem unnecessary, complicated, or even somewhat terrifying. Not to worry; that’s where people like us come in.
This post will explain how to roll hardcoded page view tracking over to Google Tag Manager page view tracking in a simple and seamless way. What this approach will allow you to do is set up GTM ahead of time, have it running on the site without collecting data, and set it to “listen” for the removal of the old, hardcoded analytics tracking script. At that point, all you need to do is put in a request for your development team/partner to remove the old code and GTM will jump in to pick up page view tracking as soon as the old script is removed. Sound too good to be true? It’s not.