Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase eCommerce analytics for react-native

I'm trying to log some eCommerce data into Firebase analytics, I'm using these events to log,

view_item_list, add_to_cart, begin_checkout, add_payment_info, purchase etc.

I could find these logs on the dashboard, But I couldn't find any eCommerce report with these data. Am I missing anything? Should I configure anything on the Firebase console in order to view the ecommerce report?

These are the example objects I logged.

 let item_jeggings: any = {
  item_id: 'SKU_123',
  item_name: 'jeggings',
  item_category: 'pants',
  item_variant: 'black',
  item_brand: 'Google',
  price: 9.99
};
    let item_boots: any = {
  item_id: 'SKU_456',
  item_name: 'boots',
  item_category: 'shoes',
  item_variant: 'brown',
  item_brand: 'Google',
  price: 24.99
};
const params1 = {
  item_list_id: 'L001',
  item_list_name: 'Related products',
  items: [item_jeggings, item_boots]
};
analytics().logEvent('view_item_list', params1);

Events are logging fine on to the console. But where can I find the eCommerce analytics?

Edit

Seems currently there is no option in Firebase to view the eCommerce report. Since we can link the firebase project with google analytics & google analytcs, can we use the google analytics to view the eCommerce report which has been logged via Firebase?

If not, Which is the best way to log/see the eCommerce report in a react-native application?

enter image description here

like image 671
Anoop Joshi P Avatar asked Oct 27 '22 20:10

Anoop Joshi P


1 Answers

Firebase acts as a data layer for GTM to push data on the Google Analytics dashboard. So all firebase data passed via GTM providing a GA tag and Enabling Enhanced Ecommerce Features

you can see events on tag manager

enter image description here

you can enable enhanced ecommerce like this

enter image description here

You can Enable enhance ecommerce like below

enter image description here

you can choose Conversions > Ecommerce > Sales Performance to see the report

enter image description here

For more information you can see this VIDEO

like image 50
Muhammad Numan Avatar answered Nov 13 '22 22:11

Muhammad Numan