Analytics
2.5K members online now
2.5K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

TagManager event recorded, but no sessions under Shopping Analysis

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I've been working for a while getting a bunch of analytics tags firing through the Google TagManager.  While it has been challenging, most of it is working as expected.  The main exception we have now is that the AddToCart event is firing from TagManager and is recorded as expected under the Behavior/Events section of GA.  Nothing is being recorded though, under the Conversions/Ecommerce/Shopping Analysis/Shopping Behavior section.

 

Is there something I missed getting that event to register sessions?  Should I be sending something else along with the addToCart event?

 

TIA

1 Expert replyverified_user

Re: TagManager event recorded, but no sessions under Shopping Analysis

Top Contributor
# 2
Top Contributor
Hi Mike,

Please make sure that you're sending the ecommerce object with your event to GA with the "add" actionFieldObject and and a list of productFieldObjects.

Please check the syntax here:

https://developers.google.com/tag-manager/enhanced-ecommerce#cart

Hope this helps.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: TagManager event recorded, but no sessions under Shopping Analysis

[ Edited ]
Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

That's the thing.  It seems to be working as far as firing the event.  The events are showing under behavior, but not under Conversions.  Here is an example of one of my events:

 

{
  'event': 'addToCart',
  'ecommerce': {
    'currencyCode': 'USD',
    'add': {
'products': [{
'name': 'Engine Kit',
'id': '380600',
'price': '62.00',
'brand': 'Airfix Models',
'category': '1262',
'quantity': '1'
}] } }

 Is is possible that because my addToCart button click event is actually using a callback to reload the page that something is not being completed?

Re: TagManager event recorded, but no sessions under Shopping Analysis

Top Contributor
# 4
Top Contributor
Do you have the "Enable Enhanced Ecommerce Features" and "Use data layer" checkboxes checked in your Universal Analytics tag that is tracking the Add to cart Ecommerce event fired on the "addToCart" event?

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: TagManager event recorded, but no sessions under Shopping Analysis

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Yes, both are checked. The events are showing under behavior, but not under Conversions. Does the order of the attributes matter? I'm going to test with name and id reversed tomorrow.

Re: TagManager event recorded, but no sessions under Shopping Analysis

[ Edited ]
Top Contributor
# 6
Top Contributor

Did you check with GA debugger if the ec parameters are being sent?

You should have these:
ec : action (&pa) add
ec : product "1" category (&pr1ca)
ec : product "1" id (&pr1id)
ec : product "1" name (&pr1nm)
ec : product "1" price (&pr1pr)
ec : product "1" quantity (&pr1qt)

Also you can check your tag using GTM preview mode to see if the details are pushed to the data layer on the addToCart event. Let me know what you find.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: TagManager event recorded, but no sessions under Shopping Analysis

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭

Everything seems to be populating correctly as far as I can tell.  Here are the data layer values after the addToCart tag fires from the gtm Preview:

{
  ecommerce: {
    detail: {
      products: [
        {
          name: 'BB#017 SD SHIN SONSAKU PH',
          id: '444198',
          price: '7.95',
          brand: 'Bandai',
          category: '4175'
        }
      ]
    },
    currencyCode: 'USD',
    add: {
      products: [
        {
          id: '444198',
          name: 'BB#017 SD SHIN SONSAKU PH',
          price: '7.95',
          brand: 'Bandai',
          quantity: '1',
          category: '4175'
          }
        ]
      }
    },
  gtm: {
    start: 1447189816031,
    uniqueEventId: 1447189816588,
    element: [object HTMLButtonElement],
    elementClasses: 'btn btn-warning gtm-add-to-cart',
    elementId: 'btnAddToCart',
    elementTarget: '',
    elementURL: ''
  },
event: 'addToCart'
}

Nothing is jumping off the page at me.

Re: TagManager event recorded, but no sessions under Shopping Analysis

Visitor ✭ ✭ ✭
# 8
Visitor ✭ ✭ ✭
I can actually see my events under behavior, but nothing is showing up in the add to cart section of shopping behavior.