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

Enhanced eCommerce, Product Impressions & Pageviews

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi All,

 

We've implemented Product Impressions as part of our new Enhanced eCommerce setup but ever since this has gone live we've seen that our engagement (pageview) data has been inflated.

 

Reviewing the setup from the developers in Google Tag Manager, the tag is sending pageviews that fire on a custom event whenever a category, product or brand page is loaded. This appears to be causing the inflation of the pageview counts and is compounded by the fact that the tag re-fires.on infinite scroll.

 

Does Enhanced eCommerce require pageviews to track impression data, or can this be sent via a different method.

 

Thanks

1 Expert replyverified_user
Marked as Best Answer.
Solution
Accepted by topic author Alex B
November 2015

Re: Enhanced eCommerce, Product Impressions & Pageviews

Top Contributor
# 2
Top Contributor
HI Alex B,

Enhanced Ecommerce impression data doesn't have to be sent with a pageview, although it makes most sense to do so, presumably because impressions are made when the page loads and the page is viewed by the user. EE data can also be sent with event hits, timing hits, or transaction hits.
Nicky Yuen, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.
Find me on: Google+ | LinkedIn

Re: Enhanced eCommerce, Product Impressions & Pageviews

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Great,

Thanks Nicky!

Alex

Re: Enhanced eCommerce, Product Impressions & Pageviews

Visitor ✭ ✭ ✭
# 4
Visitor ✭ ✭ ✭
Hi Nicky,

Is this information applicable to GTM as well?

Thanks

Re: Enhanced eCommerce, Product Impressions & Pageviews

Top Contributor
# 5
Top Contributor
Hi Cemalettin K, can you clarify your question a bit? The original question was pertaining to GTM, so my response is also pertaining to GTM.

Thanks!
Nicky Yuen, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.
Find me on: Google+ | LinkedIn

Re: Enhanced eCommerce, Product Impressions & Pageviews

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Sorry Nicky,

I have missed it. I had tried to send along with a transaction and it did not work. Is there any document about its usage? How does GTM understand a transaction is bounded to a impression data?

If I use event hit, will this effect my hit limit per session as well? I am afraid of exceeding limit of event count per session because of sending impression data with event hits.

Thanks

Enhanced eCommerce, Product Impressions & Pageviews

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Hi, there. I am using event hit, and while the event collection is showing (I'm using the Chrome WASP plug-in rather than Google Analytics Debugger), it doesn't include the impression data. My account has enhanced e-commerce enabled.

 

Any ideas / suggestions would be greatly appreciated!

 

Here is the code (with dummy data):

 

// code before pageview
ga('create', 'UA-XXXXX', 'auto'); // Real code uses my product ID
ga('require', 'ec');

 

// code segment for an 'on sale' list loaded after pageview
ga('ec:addImpression', {
   'id': 'test123',
   'name': 'Red Sweater',
   'category': 'Clothes',
   'brand': 'Acme',
   'list': 'On Sale',
});

 

ga('send','event','Ecommerce','Impressions','On Sale',{nonInteraction: true});

 

----
Relevant output in WASP:

 

Event Tracking
 Event Action (ea)=Impressions
 Event Category (ec)=Ecommerce
 Event Label (el)=On Sale

 

Hit
 Hit type (t)=event
 Non-Interaction Hit (ni)=1

 

<-- Shouldn't Impression List show up here, before System Info?

 

System Info

 Document Encoding (de)=UTF-8
 Java Enabled (je)=0
 Screen Colors (sd)=24-bit
 Screen Resolution (sr)=1920x1080
 User Language (ul)=en-us
 Viewport size (vp)=1440x392

 

 

Enhanced eCommerce, Product Impressions &amp; Pageviews

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭

Answering my own question, as I just figured this out. What I omitted from my sample code was a custom tracker name I assigned when I created the tracker, like so:

 

ga('create', 'UA-XXXXX', 'auto','myTracker');

 

When you do so, all subsequent calls to that named tracker need to include the tracker name in front of the ga command, including the require and ec commands. Like so:

 

ga('myTracker.require''ec');

 

ga('myTracker.ec:addImpression', {            // Provide product details in an impressionFieldObject.

  'id''TestId'                  // Product ID (string).

  'name''Test Name'// Product name (string).

  'category''Test Category'  // Product category (string).

  'brand''Test Brand',                // Product brand (string).

  'variant''Test Variant'              // Product variant (string).

  'list''Test List'        // Product list (string).

  'position': 1,                    // Product position (number).

});

 

ga('myTracker.send''pageview');

 

Once I corrected this, the impression object was passed correctly.