[英]Google analytics: Track guest checkout and registered user checkout counts
I have ecommerce site and i want to track how many users chose guest checkout and how many registered user purchase. 我有一个电子商务网站,我想跟踪有多少用户选择了客人结帐以及有多少注册用户购买了商品。
Is it possible with ? 有可能吗? https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
https://developers.google.com/analytics/devguides/collection/analyticsjs/ecommerce
https://developers.google.com/analytics/devguides/collection/analyticsjs/events https://developers.google.com/analytics/devguides/collection/analyticsjs/events
So how can i do that? 那我该怎么办呢? Thanks in advance.
提前致谢。
The Google Analytics basically works as two ways.
1. Page Tracking
2. Event Tracking
Before you track the users first find out what kind of users (i.e Free User or Registered User).
Hope you have the Google Analytics key. Please include the two functions as below.
//Track the events
trackGAEvent(eventName, eventAction, eventCategory)
{
//Do your stuff here
}
//Track the page views
trackGAPageEvent(eventName, eventAction, eventCategory)
{
//Do your stuff here
}
Based on the above functions you'll track.
You can call these functions accordingly. 您可以相应地调用这些函数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.