Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Events not firing in Google Analytics via Google Tag Manager

I have been searching high and low for an answer on this and I am completly dumbfounded.

I am implementing simple click and page tracking in my Android app using GA, running this through GTM. All my "Screens" are visible in realtime in GA but I can't get "Events" to appear at all.

Well actually I can but the behaviour seems very bizarre. If I do not include a "Label" and a "Value" I can see the events appear. However if I add them (either as just a constant or a data layer variable) all events stop. I have confirmed the variables I want in "Label" and "Value" are coming through as I made a container with those values as "Category" and "Action" and could see them as expected in real time.

This leads me to think the app side implementation is perfectly fine but there is an issue with my tag in GTM. (Obviously not the Trigger as that too works when expected).

Ideally I would like to do something like this (the variables are data layer variables):

Ideal look

But this doesn't work. I see no Events.

like image 982
seaplain Avatar asked Jul 29 '15 12:07

seaplain


Video Answer


1 Answers

The Event Value should be a number, not a string. Shuffle the fields, for example - Action - Click on: {{GTM - Click Target}}, Label - {{GTM - Click Value}}, and leave the value empty, this will fix your problem.

like image 157
ePetkov Avatar answered Sep 20 '22 14:09

ePetkov