#GTMtips: Save GATC in a Constant String Macro

Save the Google Analytics tracking ID as a constant variable in Google Tag Manager.

I wanted to try something new (and, naturally, I’m running out of content ideas), so let me introduce the hashtag #gtmtips. I hope others contribute as well, but I will be adding a new tip as often as possible. I’ve got maybe 20 tips in store right now, and I’m writing new ones all the time. So without further ado, here’s…

Tip 1: Save GATC In A Constant String Macro

This is an easy one, and everyone should already be doing this in one way or another. The point is that you shouldn’t use strings in fields which are often used. Save the string in a macro, so all you have to do is refer to the macro in all your tags. That way, if the string ever changes (for example, when transferring to another property), you don’t have to rewrite the field in all your tags.

Dead simple!