To capture a click on a button using Google Tag Manager in Google Analytics, there are three steps to follow.