I want to make an app, in which a user can search city names. When city names not found, that city name will be tracked by Google Analytics.
For that I have created a custom dimension by following image in Google Analytics:
and also :
I have the following code in my app when word is not found:
EasyTracker easyTracker = EasyTracker
.getInstance(mActivity);
easyTracker.set(
Fields.customDimension(1),
cityNameWhichAreNotFound);
easyTracker.send(MapBuilder
.createAppView()
.build());
But I am not getting the missing city names. Can anybody help me?
If you want to just check the city names that are not found you can do that by events also.
I am doing in that way only eg:-
mTracker.sendEvent("SEARCH_CATEGORY",
"SEARCH_ACTION", cityNameWhichAreNotFound, 0L);
By, doing this you will be able to see the list of cities that were searched and not found in your Google Analytics under Behavior->Events->Overview
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With