Andrew (Digitwell) Well-Known Member Licensed User Longtime User Nov 27, 2019 #1 Hi, I have a client who want to use Custom Dimensions tracking in their mobile app. https://developers.google.com/analytics/devguides/collection/android/v4/customdimsmets The Analytics library does not provide this by default. Is it possible to do this via java? Thanks Andrew BTW, I have posted the similar question in the iOS forum as the app needs to be created for both languages.
Hi, I have a client who want to use Custom Dimensions tracking in their mobile app. https://developers.google.com/analytics/devguides/collection/android/v4/customdimsmets The Analytics library does not provide this by default. Is it possible to do this via java? Thanks Andrew BTW, I have posted the similar question in the iOS forum as the app needs to be created for both languages.
Computersmith64 Well-Known Member Licensed User Longtime User Nov 27, 2019 #2 B4X: analytics.SendEvent("EventName", CreateMap("CustomDimensionName": "CustomDimensionValue")) - Colin. Upvote 0
B4X: analytics.SendEvent("EventName", CreateMap("CustomDimensionName": "CustomDimensionValue")) - Colin.
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Nov 28, 2019 #3 Thanks @Computersmith64 I will give this a try. Upvote 0
Andrew (Digitwell) Well-Known Member Licensed User Longtime User Dec 13, 2019 #4 @Computersmith64 , there isn't a function on the AnalyticsTracker class called sendevent. Can you provide a larger sample? Upvote 0
@Computersmith64 , there isn't a function on the AnalyticsTracker class called sendevent. Can you provide a larger sample?
DonManfred Expert Licensed User Longtime User Dec 13, 2019 #5 Andrew (Digitwell) said: there isn't a function on the AnalyticsTracker class called sendevent Click to expand... from the XML of V1.12 a method of FirebaseAnalytics Object <method> <name>SendEvent</name> <comment>Sends an event to the analytics service. EventName - Event name. Parameters - Map of parameters. Pass Null if not needed.</comment> <returntype>void</returntype> <parameter> <name>EventName</name> <type>java.lang.String</type> </parameter> <parameter> <name>Parameters</name> <type>anywheresoftware.b4a.objects.collections.Map</type> </parameter> </method> Click to expand... Last edited: Dec 13, 2019 Upvote 0
Andrew (Digitwell) said: there isn't a function on the AnalyticsTracker class called sendevent Click to expand... from the XML of V1.12 a method of FirebaseAnalytics Object <method> <name>SendEvent</name> <comment>Sends an event to the analytics service. EventName - Event name. Parameters - Map of parameters. Pass Null if not needed.</comment> <returntype>void</returntype> <parameter> <name>EventName</name> <type>java.lang.String</type> </parameter> <parameter> <name>Parameters</name> <type>anywheresoftware.b4a.objects.collections.Map</type> </parameter> </method> Click to expand...