#GTMTips: Introducing the customTask Builder – News Couple

#GTMTips: Introducing the customTask Builder

One of the coolest features of Google Analytics and, as a result, Google Tag Manager is customTask. It is a method that you can use to add and execute code Where the Google Analytics result is generated.

I have written a lot about customTask, and a lot of the comments I’ve received revolve around the issue How to combine all these different tricks into one customTask script. The problem, you see, is that a tag or result can only contain one tag customTask The script is attached to it, so the code inside it should collect all the different tricks I’ve been writing about for the past months.

To help with programming struggles, I wrote a tool that you can find behind this link. Here is a short introduction to it.


Simmer . Newsletter

Subscribe to the Simmer newsletter to get the latest news and content from Simo Ahava right in your inbox!

The tool itself is fairly simple. Just select a file customTask The features you want to use in the script, then it creates a JavaScript block that you will then need to modify to change the default values ​​to something meaningful.

At this point, head to customTask Builder itself, and read the instructions inside. Be sure to read my guide on customTask to understand what customTask It is and why it might be useful to you.

And keep checking the tool at regular intervals. I will update it when I come up with new ideas for the cool feature customTask He is.

Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button