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

Ecommerce data not showing in analytics

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Code( install GA)

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  ga('create', 'UA-67908987-1', 'auto');
  ga('send', 'pageview');
  ga('require', 'ec');
  ga('set', '&cu', 'RUB');
      ga('set', 'userId', 'XXXXXXXXXXXXXXX');

Code( When Confirm Order):


                ga('ec:addProduct', {
                  'id': '1178540',
                  'name': 'Бюстгальтер мягкая чашка',
                     'category': 'Белье/Бюстгальтеры/Мягкая чашка',
                  'brand': 'Fantasie',
                  'position': 1,
                        'price': 5406.00,
                        'quantity': 1.00
    ga('ec:setAction', 'purchase', {
      id: '230243-136',
      affiliation: '',
      revenue: 5406,
        shipping: 0      


24 hours after order - ok


I see Data( trafic etc) 


when i send in Google Chrome console Command - i see transaction  (((


What Wrong ? 




1 Expert replyverified_user

Re: Ecommerce data not showing in analytics

Top Contributor
# 2
Top Contributor

In enhanced ecommerce the transaction data is being sent together with the pageview hit. Simply move the ga('send', 'pageview'); command after the purchase action and it will work. Let me know if you have questions.

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