Search code examples
javascriptgoogle-tag-manager

GTM how to disable default events from js?


My question is about GTM

enter image description here

gtm.linkCLick, gtm.click and custom.timer are those defaults?

If yes, is there any way to disable defaults from javascript?


Solution

  • gtm.linkClick and gtm.click are built-in events and variables. In your Google Tag Manager Workspace, select the menu option variables on the left side, and click Configure.

    GTM Variables

    Deselect the Click variables to disable gtm.linkClick and gtm.click. GTM click variables selected

    custom.timer seems to be code on the website that pushes information to the dataLayer. If this is the case, you need to remove it from the code. If it is a tag configuration, you can remove or preferably pause the tag. GTM pause tag

    Make sure that by disabling stuff in GTM you do not break essential tag configurations that are collecting important data..