I set up some tags using Google Tag Manager to track click event. I went in to check event states on Google Analytics(GA). I couldn't see any event on GA. And I try to send event just by GA directly. It's work. I'm sure GTM it's work before. But now I don't know what happen? I am searching for a long time on net. But no use. Please help or try to give some ideas how to achieve this. Thanks!
My Environment
Mobile : iPhone 8
iOS Version : 11.2
XCode Version : 9.2
Google Library : GoogleAnalyticsServicesiOS_3.17
(*) I also tried it on Android. It's not work too.
My GA Code
Some GA event log are showed on terminal.
I could see record on GA console.
This is my GTM code.
Some GTM event log are showed on terminal.
The GTM event log are not display on console.
Research
https://www.en.advertisercommunity.com/t5/Google-Analytics-Reports/Google-Tag-Manager-Stopped-Working/td-p/1249146
https://github.com/kraihn/cordova-plugin-tag-manager/issues/34
Thanks for your reply, #Sathishkumar Jayaraj.
It's work. I followed your idea creating custom dimensions and tag them in GTM. But when I recover my project setting. It's still work. It's confused me.
My Setting
Push data structure
GTM setting
Triggering
Event
-
Now I get the event. But it show key-info apparently. I will try to show value-info.
Related
I am adding Google Analytics tracking to my Unity game (opted in for GA instead of Firebase). I'm using GA v4, just downloaded this morning from Google, and Unity version 2018.3.14f1.
I've imported GAv4 package, have setup property ID (for Android, iOS and Others) in prefab, added prefab to hierarchy and I'm able to start session and send event using LogEvent method. These are visible in GA backoffice, I can see my device in real-time, device location and events it's firing.
However, problem is that it does not show LogScreen in the backoffice.
Here is the line that calls LogScreen:
googleAnalytics.LogScreen(new AppViewHitBuilder().SetScreenName("main_menu"));
This line is called after googleAnalytics.StartSession() so should be fine.
Just as a reference, here is my line to send GA event (which works and is visible in analytics console):
googleAnalytics.LogEvent(new EventHitBuilder().SetEventCategory("event_category").SetEventAction("event_action"));
I can't figure out what's the issue, as events are working fine, but LogScreen is not.
I would expect to see LogScreen shown in Active Page feed in GA real-time overview tab, but I can't see it, neither there nor anywhere else.
I have tested it on Android device only, Android 9, Xiaomi Mi8 Pro.
Also important notice: when running inside Unity IDE, it has no errors thrown but no data (even session and events) are not shown in GA console. Session and events ARE visible in GA console when running on mobile device.
Any directions on what am I doing wrong would be greatly appreciated!
I would use something else. GA is shutting down. Maybe you get the error because GA might restrict the access for the new comers. Your code seems okay.
https://www.semetis.com/en/resources/publications/google-will-shut-down-analytics-for-mobile-apps-in-2019
I followed the following docs for creating Tag and trigger in GTM for "purchase" event:
https://developers.google.com/tag-manager/android/v5/enhanced-ecommerce#purchases
I am able to track “events” and “screen views” in GA using GTM + Firebase but not the “ecommerce purchase”.
I can see logs in firebase debug view for “ecommerce purchase” event, but it is not getting recorded in Google Analytics.
Trigger for ecommerce_purchase:
Tag configuration:
Firebase Debug View:
Any help would be greatly appreciated.
I also faced similar situation. Try hardcoding the Tracking ID field & it worked for me.
I've followed the guide in OneSignal's documetation, i've setup the sdk and everything, yet, sending a notificaion through code seems to not work at all, not by a specific tag and not by "All Users" segment example which OneSignal provided in their documentation.
Tho, through their dashboard- it works perfectly.
I've doubled checked all the grandle setup part and stil...
Any idea why that can be happening? what should I check next?
(I didn't attach my code here cause it's an exact copy of OneSignal's code in their documentation)
Thank :)
EDIT: i've noticed that when I send push notification through code- it isn't being shown in the OneSignal's dashboard. So it means something is wrong with the code, tho again, it is similar the the one inside thier documentation (except that i've changed there the ONESIGNAL APP ID
and REST API KEY, as they requested).
Any ideas? tnx.
This is a Xamarin.Forms app running on Android, based on the Azure getting started Mobile App example.
I'm trying to register a device's id for notification services. Originally I was getting unauthorized, so I relaxed authorization settings on the backend. Now I am getting this error and cannot find a reason why.
I checked and double checked that notification hub has the correct Firebase details that align with the app and cannot see what the problem is here, any help appreciated.
John,
If you set WEBSITE_PUSH_ENABLED=false in your appsettings, does the problem go away?
Can you check your Mobile App's app settings?
Specifically, I am looking for the existence of the app setting "MS_NotificationHubName". If that app setting doesn't exist, you need to add it, with the name of your notification hub.
There is a bug in the Azure App Service Push blade right now. A fix is being rolled out. In the interim, instead of using RegisterAsync(), use the method described in the book http://aka.ms/zumobook - chapter 5.
I am using Google TagManager in my android project. It was used and maintained before by someone and I am new to Google TagManager stuffs. I want to measure one of the button click events in my app. So, I have added this on button click:
dataLayer.push("myid", "mybutton-btn-click");
In Google Tag Manager also, I have added this variable and generated the new container binary which I have put in my app.
Now before publishing the container, I want to make sure that this new button click event works. But I cannot find a way to test it.
I enabled "tagManager" verbose logging but do not see any log when I click the button.
I also tried looking in GTM console and could not find a place to see it. I am also trying to look in GA console and could not see it.
I could generate the preview link for the container and can test that the app gets launched with the QR code reader.
can someone help me to know how to test if the event got logged on click of the button?
Thanks for any help
For testing your events in an anroid you need follow the instruction available in GTM for anroid documentation
https://developers.google.com/tag-manager/android/v5/#preview-debug-pubish-container