Locate the unique link selector

Although it can be specified in many ways, in my experience the ideal way to tell Tag Manager which element should be clicked to launch the event is ( breathe ) using CSS selectors . So that you understand me, the CSS selector is a text that determines the element or elements of the same type . It’s like saying “these specific links” or “this specific link.” Do you catch? locate the css selector You’ll need it, sorry: In Chrome, right-click on the link and click “Inspect.” If the element has an ID you are in luck, write down that ID .

Configure the trigger in Tag Manager

Let’s say that the previous two steps would be equivalent to preparing the matter. We category email list needed them, but the crux (and the easy part, by the way) is in this and the next point. Tag Manager works by triggering tags when triggers occur . Therefore, we have to define the trigger (when we want the tag to be activated) and the tag (what we want it to do when the trigger occurs). Do you get the relationship? Action Reaction. Event, consequence. configure Tag Manager activator Well, follow the steps : Go to Activators and click on add a new one. Give the trigger a descriptive name. For example: “Click on the leave comment button.” Click on “configure the activator” and choose “Click -> Links only”.

Configure Analytics Event Tag in Tag Manager

And lastly, we will need to set the tag that we want to fire when the previous trigger occurs . The truth is that yes, that “etiquette” thing is a bit confusing, right? Every time we buy gayumbraguis, the first thing we do is remove the label. Especially if they are from Primark, each label looks like “Don Quixote” double spaced. And here putting labels. What things… Anyway. So that you understand, the etiquette in Database USA Tag Manager is “do something”. Or “put something.” Or “provoke something” . Do you follow me? In our case, the tag is “send an event to Google Analytics”. You get it, right? configure event tag So, the steps are : Go to tags and add a new one. Give it a name. Select Universal Analytics as the tag type. In tracking type, choose event.

Leave a Reply

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