R
R
razer892015-11-04 11:41:31
Google
razer89, 2015-11-04 11:41:31

How to set up Google Analytics goals for Android app?

Hello! We need to fasten the analytics so that when the user clicks on the button (phone call button), an event is sent to Google Ananlytics. When the button is clicked, I execute the following code:

HitBuilders.EventBuilder eventBuilder = new HitBuilders.EventBuilder("Phone number", "call");
MyApp.getTracker().send(eventBuilder.build());

The goal is set in the analytics: The
80e9a74d9a90483e963ff5e313ac2588.png
widget is also set for this goal:
6b9616408f634098b2a675187660cbe6.png
But the chart shows a straight line, and does not react to events in any way. BUT! If you go to the tab In real time - Events - there are events. In general, the task is to display a graph with the number of events per day. Perhaps, for this, it is not at all that "goals" should be used?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question