If you have custom Google Analytics tracking code on your website, migrating the tracking to Google Tag Manager could be tricky because:
- You lose the tracking features provided by those custom tracking code.
So, one of the tasks in the migration work is to find out all the custom Google Analytics code snippets and replace them with the Google Tag Manager dataLayer code standard. Well, if you have all the previous implementation documents, and your developers have the time to deal with the changes, that shouldn’t be a problem. But things are not always that ideal.
ga2gtm is an open source project licensed under MIT agreement. You can get it from its github repository for free here: https://github.com/GlobizSolutions/ga2gtm
Here is the installation instructions: https://github.com/GlobizSolutions/ga2gtm/wiki/Installation