Hi au4liferz
There is an excellent article covering AEM integration with Google Analytic and Google Tag Manager
Link:- http://aemcorner.blogspot.in/2014/11/aem-integration-with-google-analytics.html
//Covering step by step to achieve the needful.
Another reference link that could come as some help is:-
Link:- http://trantorinc.com/integrating-adobe-experience-manager-with-google-tag-manager/
//
How can you use Google Tag Manager with Adobe Experience Manager?
Integrating AEM with Google tag manager is quite simple. In shared content package the Cloud Services Configuration for Google Tag Manager is built, which helps in integrating AEM with Google Tag Manager.
Using Instructions from https://support.google.com/tagmanager/ documentation, Create Google Tag Manager account and a container.
Install the content package on your AEM instance.
Create a configuration under the AEM> Tools > Cloud Services Configurations > Google Tag Manager. You need to enter container ID, which can be found in the Google Tag Manager interface.
Use the configuration on your top-level content page. (The way use you use to do would for any Cloud Services Configuration.) Note that that page should be activate and the configuration itself.
To test the setup and the tag rules implemented on a local machine or on a author instance, Google Tag Manager’s debugging tools can be used. This helps you get results and verify the implementations before sending changes to Production.
I hope this would help you.
Thanks and Regards
Kautuk Sahni