AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

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

Event vs pageview in ECommerce

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

In Enhanced Ecommerce 'purchase' is always followed by a 'pageview'.


ga('ec:setAction', 'purchase',... )
ga('send', 'pageview');     // Send transaction data with initial pageview.


While 'setAction' is followed by 'event'


ga('ec:setAction', 'add');
ga('send', 'event');


What is the different in this case between an 'event' and a 'pageview'? should I use 'event' only?


1 Expert replyverified_user

Re: Event vs pageview in ECommerce

Top Contributor
# 2
Top Contributor

In Enhanced Ecommerce data needs to be sent with a hit, either with a pageview of an event. The purchase data is sent with the initial pageview because the details are already collected when the page is loaded.
The Add to Cart action is triggered (on click) after the initial pageview has been sent so if you would send the data with another pageview you would send a duplicate pageview.
You can use event for purchase also if the initial pageview hit has been already sent.

Hope this explains it.

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