Analytics
5.2K members online now
5.2K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

[Android] GA does not display E-commerce events in dashboard

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Dear Sir or Madam,

we use GA in our Android apps and everything works very well. In our new app we have added e-commerce event(rest of our apps have the same event) and we do not see any result in GA Dashboard. W admin panel we have turn on E-commerce service (account, property and view -> Ecommerce Settings -> Enable Ecommerce) but we still do not see any results.

Android logs from app in which GA Dashboard we see result:

07-21 11:40:01.371 30288-30331/pl.domodi I/GAv4: Dry run enabled. Would have sent hit: ht=1469094001371, _v=ma8.4.87, a=759716189, adid=46032715-7e8d-417c-8846-d8d182bac266, aid=pl.domodi, an=Domodi, ate=1, av=1.4.4, cd=PRODUCT, cid=46032715-7e8d-417c-8846-d8d182bac266, cu=PLN, pa=purchase, pr1br=[nazwa_sklepu], pr1id=14821594, pr1nm=[nazwa_przedmiotu], pr1pr=429.0, pr1qt=1, sr=1080x1776, t=screenview, tid=UA-XXXXXXXX-XX, tr=[wartość], ul=pl-pl, v=1


From new app in which we do not have nothing:

07-21 11:49:40.304 13121-13228/pl.getthelook I/GAv4: Dry run enabled. Would have sent hit: ht=1469094580303, _v=ma8.4.87, a=1700454584, adid=46032715-7e8d-417c-8846-d8d182bac266, aid=pl.getthelook, an=Get the Look, ate=1, av=1.0.1, cd=PRODUCT, cid=46032715-7e8d-417c-8846-d8d182bac266, cu=PLN, pa=purchase, pr1br=[nazwa_sklepu], pr1id=14639164, pr1nm=[nazwa_przedmiotu], pr1pr=229.0, pr1qt=1, sr=1080x1776, t=screenview, tid=UA-XXXXXXXX-XX, tr=[wartość] , ul=pl-pl, v=1

As you see they are the same.

 

The rest of events which sent our new app to GA we can see in the Dashboard.
We use Google Play Services 8.4.0

 

Code from the app:

com.google.android.gms.analytics.ecommerce.Product gaProduct = new com.google.android.gms.analytics.ecommerce.Product();
ProductAction productAction = new ProductAction(ProductAction.ACTION_PURCHASE).setTransactionRevenue(Config.AVERAGE_CLICK_VALUE); 
gaProduct.setId(String.valueOf(product.getId()))
.setName(product.getName())
.setBrand(product.getBrand())
.setPrice(product.getPrice())
.setQuantity(1);
HitBuilders.ScreenViewBuilder builder = new HitBuilders.ScreenViewBuilder()
.addProduct(gaProduct)
.setProductAction(productAction);
Tracker tracker = getTracker();
tracker.setScreenName(screenName);
tracker.set("&cu", Config.CLICK_CURRENCY); // Set tracker currency to PLN.
tracker.send(builder.build());


Thank you for the answer in advance.

Best regards,
Jacek Czerski

Re: [Android] GA does not display E-commerce events in dashboard

Top Contributor Alumni
# 2
Top Contributor Alumni
Have you turned on Enhanced Ecommerce Settings as well?
You will get this option when you click on next step after ecommerce settings.
Regards, Nik
LinkedIn  |   @nikhilparachure | My Blog

Re: [Android] GA does not display E-commerce events in dashboard

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
It shouldn't matters - we don't have turned on in rest apps and it works. Secondly that option is for some addition info if we want to garbage for example shopping steps.

Re: [Android] GA does not display E-commerce events in dashboard

Top Contributor Alumni
# 4
Top Contributor Alumni
Hi
The code you are using is enhanced ecom code and Ecommerce SDK is deprecated and Enhanced ecommerce has replaced it. Please try enabling EC.
Regards, Nik
LinkedIn  |   @nikhilparachure | My Blog

Re: [Android] GA does not display E-commerce events in dashboard

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Hi,

I've turn on it in admin panel.

What are you mean deprecated? We are using code from: https://developers.google.com/analytics/devguides/collection/android/v4/enhanced-ecommerce

Regards,
Jacek

Re: [Android] GA does not display E-commerce events in dashboard

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭

Hi Niks, 

 

i am facing the same issue, please check here: 

https://www.en.advertisercommunity.com/t5/Google-Analytics-Tracking-Goals/Google-analytics-HitBuilde...

 

Can you help in resolving this issue? Thanks in advance