GTM Cleaner - Optimise your GTM container for best practices with 1 click
by•
MeasureMinds always cleans their client’s GTM accounts in onboarding. We go through many processes including, applying a naming protocol, optionally removing unused tags, triggers and variables, applying recommended settings and much more!
Replies
Best
Maker
📌
We created this free-to-use tool because we go through a clean-up process every time we take on a new client. Instead of doing this manually every time, we decided to automate it and release it to the public!
Here are the processes that the GTM cleaner runs through:
- Create folders to mark anything for deletion or review
- Optionally delete paused tags, unused triggers, and unused variables
- Rename variables, tags, and triggers
- Create folders for user-defined built-in variables: Built-in variables
- Create user-defined built-in variables
- Change references from built-in variables to user-defined variables
- Delete built-in variables
- Set oncePerLoad for each tag (based by option)
- Change gtm.click tags V1 -> V2
- Change gtm.linkClick tags V1 -> V2
- Create GAS variable if it doesn’t already exist
- Update UA tags:
--> Update fields to set from true, false to variables
--> If label or value empty set {{undefined}}, 0
--> If no gas set {{00 – Google Analytics Settings}} and overrideGaSettings to false
Replies