Follow the steps below to install Google Tag Manager:
Sign in to GTM: https://tagmanager.google.com/ using your Google username and password.
Click on the ‘create new account’ link on the home page.
Name your new GTM account (same as your company name), select the checkbox ‘Share data anonymously with Google and others’ (to enable benchmarking) and then click on the ‘continue’ button
Enter the name of your container (same as your website name), select ‘Web’ (as here I am going to use my container on a website) and then click on the ‘create’ button
Accept Google Tag Manager Terms of service by clicking on the ‘Yes’ button
You have now created new GTM account and container.
Copy-paste the GTM code (aka container tag) on every page of your website immediately after the opening <body> tag and then click on the OK button.
How To Create Tag Variable and Triggers :
1). Create New Tag >> Name your tag = Betaout-CTA >> Tag configuration >> Choose a tag type >> Universal Analytics >> Tracking id = Choose variable >> New Variable >> Choose a variable type >> Constant >> Enter value = GA Tracking id >> Save.
2). Choose Track Type >> From the drop down Click >>Event >> Now be careful by choosing Event tracking parameters >> Create New category:
a). Category >> Add New variable >> Choose variable type >> Data layer variable >> Enter Data Layer Variable Name = boutGTMCategory
b). Action >> Add New variable >> Choose variable type >> Data layer variable >> Enter Data Layer Variable Name = boutGTMAction.
c). Label >> Add New variable >> Choose variable type >> Data layer variable >> Enter Data Layer Variable Name = boutGTMLabel.
3). Now Create Trigger >> Add new Trigger >> Give a trigger name= Betaout-CTA(same as tag name) >> Choose trigger type >> Custom Events >> Enter event name = Betaout-CTA >> Click on Radio button All Custom events >> Save.