Analytics
2.3K members online now
2.3K 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

eCommerce tracking, beacon firing but nothing in UA Web UI

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi,

 

I'm trying to implement eCommerce tracking (Not the enhanced one) for a Web app. I can see all the beacons being fired up with the Google Analytics Debugger but when I go see the traffic in the Google Analytics Web UI in the ecommerce section I do not see the traffic that was sent to it.

 

I am using Google Analytics Universal, not wrapped by GTM. In the create of GA I have the following: 

ga('create', trackerId, {
    cookieDomain: 'none',
    storage: 'none', 
    clientId: fingerprint,
    siteSpeedSampleRate: 100
});

  

The project for UA is an APP not a WEB so we send "screenview" hitTypes and not "pageview". We also send "event" & "timing" hitTypes. It is a new project so no filters are being applied to it. I see the screenviews as well as other events within the UA Web UI but not the ecommerce ones. I do get the following yellow message when loading the Ecommerce Overview: "This report has been filtered to include only data where there are values for "Product" dimension.". I could not find what is "Product dimension" in the ecommerce context...

 

Here is the code that sends the ecommerce data: 

function ecommerceTransaction(tnx) {
    window.ga('require', 'ecommerce');
    window.ga('ecommerce:addTransaction', {
      id: tnx.id,
      affiliation: 'Funio Webapp',
      revenue: tnx.totals.total,
      tax: tnx.totals.taxes,
      currency: tnx.currency
    });
    
    $.each(tnx.products, function (i, product) {
	window.ga('ecommerce:addItem', {
	  id: tnx.id,
	  name:product.name,
	  sku: product.code,
	  category: product.group,
	  price: product.price,
	  quantity: product.period
	});
	
	if (product.hasOwnProperty('discounts') && product.discounts.length > 0) {
	    $.each(product.discounts, function (i, discount) {
		window.ga('ecommerce:addItem', {
		  id: tnx.id,
		  name: discount.description,
		  sku: discount.promo,
		  category: 'discounts',
		  price: discount.total,
		  quantity: 1
		});
	    });
	}
    });
    
    window.ga('ecommerce:send');
}

 

Is it safe to assume that if I see beacons being fired up, through the Google Analytics Debugger, that the data gets to Google Analytics without fail?

 

Any ideas why I dont see the ecommerce data in the Web UI?

 

Thank you in advance. 

1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Philippe G
January 2016

Re: eCommerce tracking, beacon firing but nothing in UA Web UI

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

It would take around 24hrs for data to be processed in GA.
Check if any filters are present in GA view.
Confirm beacon being fired is for transaction and not the basic pageview.
Make sure you are seeing the right property to which the data is being sent.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Philippe G
January 2016

Re: eCommerce tracking, beacon firing but nothing in UA Web UI

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

It would take around 24hrs for data to be processed in GA.
Check if any filters are present in GA view.
Confirm beacon being fired is for transaction and not the basic pageview.
Make sure you are seeing the right property to which the data is being sent.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

Re: eCommerce tracking, beacon firing but nothing in UA Web UI

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Checked this morning and the transactions are in fact showing up now...

24hrs seems a bit long for development ...

Any way to have it close to real time in development stage? Maybe I can just rely on the Google Analytics Debugger beacons in the end...

Thanks again.